You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test_a_state_read_never_materializes_a_revision_bundle: page state reads the active revision twice since #7109 #7176
tests/journeys/test_interact_document.py::test_a_state_read_never_materializes_a_revision_bundle fails on Linux and macOS in the scheduled run 45598918111 (118f31f6d), and still fails at 90bc5d55c:
leaf page state on a fresh process now opens the active revision's document twice.
Introduced by #7109 (5fc5f86c3), which lists each visual's nameable parts in leaf page state from the render reading of the version the page shows. Bisecting e7d5808f3..118f31f6d puts the first failure there; the test passes at its parent 9482a7f22. The extra open is #7109's call in cmd_page_state (src/leaf/agent_state.py): it passes drawn_parts(page_dir, read_artifact(page_dir, active["revision"]).digest, stored_data["version"]), and read_artifact reads the active revision's document a second time to get the digest the served reading already read. Passing the digest from that first read keeps the test's promise that a state read opens each revision file once.
#7181 fixes this: page_state (and the same call in thread.py's part check) now takes the digest from the held revision reading, which reads it from the manifest, rather than read_artifact, which read the document again. The journey test failed locally on main with assert 2 == 1 and passes on the branch. PR CI and landing are with the PR's workflows.
Activity
leaf-agent commentedon Nov 25, 2026
#7181 fixes this:
page_state(and the same call inthread.py's part check) now takes the digest from the held revision reading, which reads it from the manifest, rather thanread_artifact, which read the document again. The journey test failed locally onmainwithassert 2 == 1and passes on the branch. PR CI and landing are with the PR's workflows.