Repository navigation
Keep temporary widget decisions from permanently detaching threads - #2550
Merged
Merged
Conversation
leaf-agent
commented
Oct 12, 2026
leaf-agent
left a comment
Collaborator
Author
There was a problem hiding this comment.
The test check fails at ruff format on the new assertion in tests/test_render_projection.py. The Python tests passed. I’m formatting that assertion and will push the correction.
leaf-agent
force-pushed
the
fix/ci-38204537786-anchor-revision
branch
from
October 12, 2026 08:46
911adce to
72f9eae
Compare
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 main CI run found that
test_a_settled_third_party_holder_wears_the_layers_markcould restore a retired passage but its thread quote stayed detached. Reading the unchanged page after the first widget decision appended a permanentreanchorwith a null anchor. The later decision restored the passage, but could not undo that recorded relocation.revision_reanchorsnow records relocation only when authored source becomes a new revision. A widget decision within the current revision may hide or restore the passage; the browser resolves the thread against that current state without making the temporary detachment durable. This preserves the intended revision behavior introduced in #2484.The focused browser test failed before this change and passes afterward. The existing file-side test for a passage removed by a real revision also passes (
uv run pytest tests/test_render_projection.py::test_a_settled_third_party_holder_wears_the_layers_mark tests/test_interact_anchors.py::test_a_quote_without_a_section_detaches_when_its_words_disappear -q -n0).