Repository navigation
Fix version hint test setup for unavailable revisions - #2513
Merged
Merged
Conversation
This was referenced Oct 12, 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.
The main CI run 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.