feat: Add pipeline execution UI, stage metrics, and API proxy routes

- Add run pipeline page with job selection UI
- Add execution detail page with stage metrics visualization
- Add stage_metrics and total_duration_ms to pipeline.executions table
- Create Next.js API proxy routes for all pipeline endpoints
- Fix trailing slash issues in pipeline-api.ts URLs
- Add Docker volume mounts for pipeline packages
- Add REVIEWIQ_DATABASE_URL and LLM API keys to docker-compose
- Fix JSONB field parsing in execution detail endpoint

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Alejandro Gutiérrez
2026-01-24 21:13:19 +00:00
parent acdfed8044
commit 796f587c57
13 changed files with 1212 additions and 4 deletions

View File

@@ -37,6 +37,16 @@ services:
# Chromium/Xvfb configuration
- DISPLAY=:99
- CHROME_BIN=/usr/bin/chromium
# Pipeline packages path
- PYTHONPATH=/app:/app/packages/pipeline-core/src:/app/packages/reviewiq-pipeline/src
# ReviewIQ pipeline database URL (same DB, pipeline schema)
- REVIEWIQ_DATABASE_URL=postgresql://scraper:${DB_PASSWORD:-scraper123}@db:5432/scraper
# ReviewIQ LLM API keys
- REVIEWIQ_OPENAI_API_KEY=${OPENAI_API_KEY:-}
- REVIEWIQ_ANTHROPIC_API_KEY=${ANTHROPIC_API_KEY:-}
volumes:
- ./packages:/app/packages:ro
- ./api:/app/api:ro
ports:
- "8000:8000"
- "5900:5900" # VNC port (for VNC client)