The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
chore(e2e): rename E2E bundle marker to use a `.marker` extension
Steven Enamakelf3fdee0dace8
diff --git a/app/scripts/e2e-web-build.sh b/app/scripts/e2e-web-build.shindex bdb5601844..1e59836009 100755--- a/app/scripts/e2e-web-build.sh+++ b/app/scripts/e2e-web-build.sh@@ -41,14 +41,14 @@ export VITE_CHAT_ATTACHMENTS="true"echo "Building web E2E bundle with backend ${VITE_BACKEND_URL}"# Drop all build markers before compiling. A failed `build:web` leaves the# preceding dist-web intact, and the session must not accept that stale bundle.-rm -f "$APP_DIR/dist-web/.openhuman-e2e-bundle" "$APP_DIR/dist-web/.e2e-build-ports.json"+rm -f "$APP_DIR/dist-web/openhuman-e2e-bundle.marker" "$APP_DIR/dist-web/.e2e-build-ports.json"pnpm run build:web# Mark dist-web as an E2E bundle for e2e-web-session.sh. `pnpm build:web` on its# own compiles in the wrong backend and none of the E2E affordances, and Vite# empties dist-web on every build, so any later non-E2E build removes this# marker and the session refuses that bundle instead of serving it (#5920).# The recorded values are for diagnosing a bundle, not read back.-cat >"$APP_DIR/dist-web/.openhuman-e2e-bundle" <<MARKER+cat >"$APP_DIR/dist-web/openhuman-e2e-bundle.marker" <<MARKERVITE_BACKEND_URL=${VITE_BACKEND_URL}VITE_OPENHUMAN_TARGET=${VITE_OPENHUMAN_TARGET}VITE_OPENHUMAN_E2E_DEFAULT_CORE_MODE=${VITE_OPENHUMAN_E2E_DEFAULT_CORE_MODE}diff --git a/app/scripts/e2e-web-session.sh b/app/scripts/e2e-web-session.shindex 9125bd9dda..189678e4d3 100755--- a/app/scripts/e2e-web-session.sh+++ b/app/scripts/e2e-web-session.sh@@ -160,7 +160,7 @@ EOF# backend URL and the E2E affordances. A plain `pnpm build:web` exits 0 with a# bundle this harness cannot drive, and every spec then fails as though the# product had regressed. Refuse it before starting anything (#5920).-E2E_BUNDLE_MARKER="$APP_DIR/dist-web/.openhuman-e2e-bundle"+E2E_BUNDLE_MARKER="$APP_DIR/dist-web/openhuman-e2e-bundle.marker"if [ ! -f "$E2E_BUNDLE_MARKER" ]; thenecho "ERROR: $APP_DIR/dist-web was not built for E2E (no $(basename "$E2E_BUNDLE_MARKER")). Run pnpm --filter openhuman-app test:e2e:web:build first; pnpm build:web alone omits the E2E backend and affordances." >&2exit 1diff --git a/scripts/__tests__/e2e-web-bundle-guard.test.mjs b/scripts/__tests__/e2e-web-bundle-guard.test.mjsindex a14a9eba2f..4dd59d4e68 100644--- a/scripts/__tests__/e2e-web-bundle-guard.test.mjs+++ b/scripts/__tests__/e2e-web-bundle-guard.test.mjs@@ -24,7 +24,7 @@ const repoRoot = path.join("..","..",);-const MARKER = ".openhuman-e2e-bundle";+const MARKER = "openhuman-e2e-bundle.marker";function writeExecutable(file, body) {fs.mkdirSync(path.dirname(file), { recursive: true });