Repository navigation
Read the gallery test’s page context from context.js - #2469
Merged
Merged
Conversation
max-sixty
added a commit
that referenced
this pull request
Oct 12, 2026
`readable_claim`, which every claim reader goes through, always supplies `id`, `turn`, `turn_opened` and `turn_closed`. #2458 dropped presence's `.get` on them; `codex.py`, `delivery.py`, presence's wait mark, `session.py`'s wake check and `tasks.py` still used `.get` as if a claim might lack them. They now read the fields directly. No behavior changes; `test_tasks.py` and `test_interact_session.py` pass. (This branch also fixed the gallery isolation test's `LIVE_ROOT` import, which #2469 fixed on main meanwhile; the merge takes main's version.) > _This was written by Claude Code on behalf of max-sixty_ --------- Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
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 interaction gallery slow-state test read
LIVE_ROOTfromstorage.jsafter #2447 moved that page-address fact tocontext.js. The import returnedundefined, so the test failed after all four contained pages had reported ready. The test now reads the fact from its owner and keeps its readiness, storage isolation, and pagehide assertions.The exact test failed on current main with
assert None is Trueand passed after this change (uv run pytest 'tests/test_site.py::test_interaction_gallery_waits_for_slow_contained_page_state' -n0 -q). The failure also appears in main's red CI run. This repairs the stale test introduced by #2447; it does not change gallery behavior.