Skip to content

πŸ™Œ OpenHands: AI-Driven Development

fix(ci): add frontend build step to Docker E2E workflow (#1066)

Graham Neubig6f60eb9d59b4
diff --git a/.github/workflows/mock-llm-docker-e2e.yml b/.github/workflows/mock-llm-docker-e2e.yml
index 1c5935b4a6..0f2781fad5 100644
--- a/.github/workflows/mock-llm-docker-e2e.yml
+++ b/.github/workflows/mock-llm-docker-e2e.yml
@@ -278,6 +278,13 @@ jobs:
-d '{"model":"test","messages":[]}' | python3 -m json.tool
kill $SERVER_PID
+ # ── Build frontend (needed by partial-stack tests) ─────────────────
+ # partial-stack tests spawn bin/agent-canvas.mjs directly (not through
+ # Docker) and require build/index.html to exist locally. The regular
+ # mock-llm-e2e workflow builds before running; we do the same here.
+ - name: Build frontend (for partial-stack tests)
+ run: npm run build:app
+
# ── Run tests ──────────────────────────────────────────────────────
- name: Run mock-LLM Docker E2E tests
id: run_tests