Repository navigation
tests: mark the path-independence scans slow for the time ratchet (Part of #5248) - #5249
Merged
Merged
Conversation
…rt of #5248) The module-scoped seven-scan fixture is set up by whichever test a CI part runs first; run 38896471213 put it on [vendor] (15.7s, over FAIL_S). Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Owner
Author
|
No description provided. |
squid-protocol
marked this pull request as ready for review
October 16, 2026 12:25
squid-protocol
enabled auto-merge (squash)
October 16, 2026 12:26
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.
Part of #5248.
Failure: main run 38896471213, "full-suite part 1/3": all 6855 tests passed; the
time_ratchet.py checkstep failed ontest_scan_path_independence_4058.py::test_the_same_tree_scans_the_same_under_any_parent[vendor](15.7s > 15s, no slow mark, no baseline entry).full-suitefailed only because part 1/3 did. No infrastructure flake; the failure is in a test, not the workflow (no workflow edit).Cause: the module-scoped
scansfixture (seven parallel galaxyscope subprocesses) is set up by whichever test of the module a CI part runs first. That was[tmp]earlier (baselined, 42s) and[vendor]this time.Fix: a module-level
pytest.mark.slow(reason=...), covering every test in the module whichever runs first. The seven scans are not reduced, so no check is weakened. The baseline is untouched.Not duplicated: PR #5230 (blocker report) does not touch this. Three WARN-only tests (10-11s) are under the limit and left alone.
Gates: the module passes (8 tests);
pr_gates --ratchets --only-ratchets timePASS;ruff_audit --cino new findings;ruff format --checkclean.Lessons for agents
A test that pays for a shared module-scoped fixture can cross the 15s limit depending on which test a part runs first: mark the whole module slow, not just the test that tripped.
🤖 Generated with Claude Code