Widen test-published PyPI retry window from 5 to 10 minutes - #60
Merged
Conversation
The v0.4.1 release's test-published (3.14) job kept missing the new version for the full 5-minute retry window while three sibling jobs running the exact same install within the same second found it on their first attempt -- PyPI's Fastly CDN serving a stale simple-index page from a not-yet-invalidated edge node, not an actual problem with the release (independently re-verified: pip install typedframes==0.4.1 on Python 3.14 installs and imports cleanly).
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.
Summary
test-published (3.14)failed on the v0.4.1 release: https://github.com/w-martin/typedframes/actions/runs/32261988712/job/96100201939 — it retriedpip install typedframes==0.4.1for the full 5-minute window and never saw the version become available, while three sibling matrix jobs (3.11, 3.12, 3.13) ran the identical install within the same second and succeeded on their first attempt.That pattern (some parallel jobs see the new version immediately, one doesn't, for several minutes) points at PyPI's Fastly CDN serving a stale
simple-index page from a not-yet-invalidated edge node to whichever runner that job happened to land on — not a real incompatibility. Independently re-verified after the fact:pip install typedframes==0.4.1on Python 3.14 installs and imports cleanly.Widens the retry budget from 10 attempts/30s (5 min) to 20 attempts/30s (10 min) so an occasional slow-to-propagate edge node doesn't fail the job. No change to the fast path — jobs that find the version immediately are unaffected.
Test plan
yaml.safe_load)actionlintavailable locally to double-check further; the diff is a minimal, mechanical change to loop bounds and an error message string, same shape as the existing logic