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_command_re_vendors_its_sessions_page_an_older_leaf_vendored: page state exits 1 on an older-protocol page since #6954 #7177
tests/journeys/test_interact_layer.py::test_a_command_re_vendors_its_sessions_page_an_older_leaf_vendored fails on Linux and macOS in the scheduled run 45598918111 (118f31f6d), and still fails at 90bc5d55c:
On a page whose layer an older Leaf vendored, leaf page state now exits 1 with a protocol refusal. The test expects it to succeed and report the mismatch in source.error ("page protocol" in … ["source"]["error"]).
Introduced by #6954 (c076ce9c9), which made the layer record's format number the page protocol. Bisecting e7d5808f3..118f31f6d puts the first failure there; the test passes at its parent dc41f759a. #6954 states one comparison now decides whether a Leaf serves, renews or refuses a page. Whether page state, a read, should be refused on such a page or should still read it and name the re-vendor is that change's call, and it decides which side moves. The AGENTS.md "Pages across Leaf updates" section says a Leaf "serves and writes only pages at its own number", which by itself doesn't forbid the read.
#7187 fixes this by updating the test. The refusal is what #6954 intended: its description says leaf page state now refuses a page at another protocol, where before it printed a reading with the refusal under source.error. The journey now expects that refusal. Its check that reads leave the layer alone now compares layer.json byte for byte, because layer_record refuses the older record too. The test fails on main at 32dc564a8 and passes on the branch. No product code changes. CI and landing now belong to the PR's workflow.
Activity
leaf-agent commentedon Nov 25, 2026
#7187 fixes this by updating the test. The refusal is what #6954 intended: its description says
leaf page statenow refuses a page at another protocol, where before it printed a reading with the refusal undersource.error. The journey now expects that refusal. Its check that reads leave the layer alone now compareslayer.jsonbyte for byte, becauselayer_recordrefuses the older record too. The test fails onmainat32dc564a8and passes on the branch. No product code changes. CI and landing now belong to the PR's workflow.