Repository navigation
Keep an absorbed draft outside its Ask in the revision test - #2489
Merged
Merged
Conversation
leaf-agent
added a commit
that referenced
this pull request
Oct 12, 2026
The [main CI run](https://github.com/max-sixty/leaf/actions/runs/38204903224) failed the version hint test because the test removed revision 1's marker but left its publication record. Reading page state correctly recovered that interrupted publication, so version 1 remained available and the hint correctly showed `1–3`. The fixture now removes the recoverable publication reference before deleting the marker. The test again exercises an unavailable older revision and verifies the hint offers only the versions the page can open. It failed before this change and passes afterward (`uv run pytest tests/test_render_anchors.py::test_the_number_hint_names_only_versions_that_still_exist -q -n0`). The absorbed-input failures from the same run were fixed in #2489. The thread-scroll case passed in three preceding main runs and four focused local runs; this PR does not claim to fix its single failure in the linked run. Co-authored-by: leaf-agent <[email protected]>
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 failed main run hit three parameterizations of
test_command_hub_an_absorbed_input_stays_fulfilled: its honoring revision removedneededfrom the only draft inside anlf-ask, so the new check from #2448 correctly refused the empty Question context. The test now changes that Ask to a plain region when the draft becomes optional editing. It still verifies that the recorded answer remains reviewable at1/5after the revision.The three cases failed on current
mainbefore this edit and pass after it (uv run pytest tests/test_render_projection.py -q -n0 -k test_command_hub_an_absorbed_input_stays_fulfilled). This repairs the test fixture; the validator's lower bound remains intact.