diff --git a/.archon/workflows/dev-pipeline.yaml b/.archon/workflows/dev-pipeline.yaml index 52c5062..607ddef 100644 --- a/.archon/workflows/dev-pipeline.yaml +++ b/.archon/workflows/dev-pipeline.yaml @@ -480,10 +480,18 @@ nodes: REPO=$(git rev-parse --show-toplevel) cd "$REPO/codegraph" echo "=== Final Gate ===" + + # Ensure venv exists (worktrees don't have it) + if [ ! -f .venv/bin/python ]; then + echo "Creating venv..." + python3 -m venv .venv + .venv/bin/pip install -e ".[python,mcp,test]" -q + fi + python3 -m compileall codegraph/ -q 2>&1 && echo "PASS: byte-compile" || exit 1 .venv/bin/python -m pytest tests/ -q 2>&1 && echo "PASS: tests" || exit 1 echo "FINAL_GATE_PASS" - timeout: 120000 + timeout: 300000 # ═══════════════════════════════════════════════════════════════ # Step 8: Update ROADMAP.md