Skip to content

Read the gallery test’s page context from context.js - #2469

Merged
leaf-agent merged 1 commit into
mainfrom
fix/ci-38187553140-gallery
Oct 12, 2026
Merged

leaf-agent merged 1 commit into
mainfrom
fix/ci-38187553140-gallery

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

The interaction gallery slow-state test read LIVE_ROOT from storage.js after #2447 moved that page-address fact to context.js. The import returned undefined, 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 True and 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.

@leaf-agent
leaf-agent merged commit a40acb2 into main Oct 12, 2026
2 checks passed
@leaf-agent
leaf-agent deleted the fix/ci-38187553140-gallery branch October 12, 2026 03:24
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]>
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