Skip to content

Load website reply readings from the bundled check API - #2158

Merged
leaf-agent merged 1 commit into
mainfrom
fix/ci-37919395444
Oct 9, 2026
Merged

leaf-agent merged 1 commit into
mainfrom
fix/ci-37919395444

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

The deployed journey still failed after #2156: the agent answered, but the browser verifier imported runtime/semantic-state.js from the release and received 404. The site build deliberately bundles away that private module. The verifier now imports runtime/check-api.js, the published diagnostic entry that exports the same application reading and watch. This addresses the final reload failure in the original run.

This also reverts #2156's Worker routing change, which could not supply a file absent from the bundled release. A new regression check builds the production runtime and verifies every module the browser verifier imports exists in that bundle; it failed on semantic-state.js before the fix and passes now. npm test --prefix worker (70 tests), uv run pytest tests/test_journey.py -q -n0 (11 tests), and npm run typecheck --prefix worker pass.

The deployed journey imported semantic-state.js directly after a reply, but the site bundle removes that private module. Check-api is the public diagnostic entry and reexports the same semantic reading, so use it instead. Assert that every module the browser verifier imports survives the production bundle. Revert the Worker routing workaround from #2156: it could not serve a module the bundle never wrote.
@leaf-agent
leaf-agent merged commit 410411e into main Oct 9, 2026
5 checks passed
@leaf-agent
leaf-agent deleted the fix/ci-37919395444 branch October 9, 2026 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant