π OpenHands: AI-Driven Development
fix(e2e): disable browser tools during mock LLM builds (#16188)
Rohit Malhotra46f4d1871680
diff --git a/.github/workflows/mock-llm-docker-e2e.yml b/.github/workflows/mock-llm-docker-e2e.ymlindex 3903dbd005..26cfdb642e 100644--- a/.github/workflows/mock-llm-docker-e2e.yml+++ b/.github/workflows/mock-llm-docker-e2e.yml@@ -321,6 +321,10 @@ jobs:# 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)+ env:+ # Partial-stack tests use the local static build, so keep its tool+ # payload consistent with the mock-LLM stack runtime settings.+ VITE_ENABLE_BROWSER_TOOLS: "false"run: npm run build:app# ββ Run tests ββββββββββββββββββββββββββββββββββββββββββββββββββββββdiff --git a/.github/workflows/mock-llm-e2e.yml b/.github/workflows/mock-llm-e2e.ymlindex d1b688a308..ac191fd740 100644--- a/.github/workflows/mock-llm-e2e.yml+++ b/.github/workflows/mock-llm-e2e.yml@@ -147,6 +147,10 @@ jobs:kill $SERVER_PID- name: Build frontend (for agent-canvas binary)+ env:+ # VITE_ENABLE_BROWSER_TOOLS is evaluated at Vite build time;+ # setting it only when the static stack starts is too late.+ VITE_ENABLE_BROWSER_TOOLS: "false"run: npm run build:app- name: Resolve affected test directories