Repository navigation
Load website reply readings from the bundled check API - #2158
Merged
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The deployed journey still failed after #2156: the agent answered, but the browser verifier imported
runtime/semantic-state.jsfrom the release and received 404. The site build deliberately bundles away that private module. The verifier now importsruntime/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.jsbefore the fix and passes now.npm test --prefix worker(70 tests),uv run pytest tests/test_journey.py -q -n0(11 tests), andnpm run typecheck --prefix workerpass.