Repository navigation
CI: make the Fedora PRoot stale-file test able to fail - #66
Merged
Merged
Conversation
Review follow-up to #65: the stale .part test passed even without the up-front unlink, because the first attempt's FileExistsError was caught, the failure path removed the file and the retry succeeded (after a real 5-second sleep). It now patches sleep and asserts a single download attempt; with the up-front unlink removed it fails. A step that times out is also recorded in the evidence ("exit": "timeout"). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Gajesh2007
marked this pull request as ready for review
November 14, 2026 06:07
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.
Follow-up to #65's review (no CI behaviour change on success):
test_a_stale_partial_file_is_removed_before_the_first_attemptcould not fail: without the up-front unlink, the first attempt'sFileExistsErrorwas caught, the failure path removed the file and the retry succeeded (after a real 5 s sleep). It now patchessleepand asserts exactly one download attempt. With the up-front unlink removed, the test fails (mutation checked)."exit": "timeout".ruff 0.16.10 is clean, and all 21 offline tests pass (the Fedora job runs them before the build).
🤖 Generated with Claude Code