Skip to content

Widen test-published PyPI retry window from 5 to 10 minutes - #60

Merged
w-martin merged 1 commit into
mainfrom
widen-published-package-retry-window
Aug 19, 2026
Merged

Widen test-published PyPI retry window from 5 to 10 minutes#60
w-martin merged 1 commit into
mainfrom
widen-published-package-retry-window

Conversation

@w-martin

Copy link
Copy Markdown
Owner

Summary

test-published (3.14) failed on the v0.4.1 release: https://github.com/w-martin/typedframes/actions/runs/32261988712/job/96100201939 — it retried pip install typedframes==0.4.1 for 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.1 on 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 validated (yaml.safe_load)
  • No actionlint available 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

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).
@w-martin
w-martin merged commit 52df218 into main Aug 19, 2026
7 checks passed
@w-martin
w-martin deleted the widen-published-package-retry-window branch August 19, 2026 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant