Repository navigation
Serve a held neighbour as the session holding it in four journeys - #7162
Merged
Merged
Conversation
Since #7061, a server start that takes no claim is refused on a page another live session holds (`service.refuse_held`). Four journeys recorded a live claim on a neighbour page and then started its server for no session, so each failed at setup with StartRefused before reaching its subject: - test_a_server_keeps_its_row_fresh_without_browser_visits - test_private_revival_cannot_advertise_the_previous_serving_row[False, True] - test_a_leaf_served_at_a_new_address_keeps_its_row_and_focus Each now starts, revives or restarts the server with the harness the claim names (`harness.claim_harness`), as the holding session's own Leaf does in use, and as the `live_leaf` fixture already did. No assertion changed: each test protects the same behaviour as before.
leaf-agent
previously approved these changes
Nov 25, 2026
This was referenced Nov 25, 2026
# Conflicts: # tests/journeys/test_render_controls.py
leaf-agent
approved these changes
Nov 26, 2026
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.
Four journeys fail on
mainsince #7061, which refuses a server start that takes no claim on a page another live session holds (service.refuse_held). Each recorded a live claim on a neighbour page and then started its server for no session, so it raisedStartRefusedat setup. #7061's CI missed it because--changed-sinceadds a later-tier test only when the test's own function changes, and #7061 changed none of these four; #7157 edits lines inside them, so its run selected them and they failed.Each test now starts, revives or restarts the server with the harness the claim names (
harness.claim_harness), as the holding session's own Leaf does in use and as thelive_leaffixture already does. No assertion changed, and the refusal stays as it is. A scan oftests/journeys,tests/smoke,tests/browseranddev/testsfor other tests that write a live claim and then start, restart or re-init the page for another session found no others; browser tests serve throughTemporaryPageServer, which the refusal doesn't reach.Tests: the four failed locally on
mainwith the refusal and pass with this change.