Skip to content

release: wait for the released stack on PyPI before the wiki-currency checks - #335

Merged
Jammy2211 merged 2 commits into
mainfrom
ccr-eef5e2b2-t0z1tp
Nov 8, 2026
Merged

Jammy2211 merged 2 commits into
mainfrom
ccr-eef5e2b2-t0z1tp

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

Closes #334.

Why

The 2026.11.6.1 (run 42201537352) and 2026.11.7.1 (run 42360648525) releases shipped completely but ended red. autolens_assistant's wiki-currency check ran pip install autolens==<version> about 3 minutes after the upload, before PyPI's simple index listed it. The other three assistant checks run the same step and passed by timing luck. Re-running the failed jobs of 42360648525 passed, which confirms index propagation rather than drift. The drift-issue job then also failed on a missing report, and its fallback would have titled an install failure as "drift".

Change

  • wait_for_released_stack (new; after release_workspaces, skipped in rehearsal) polls production PyPI (pip download --no-deps --no-cache-dir) for all six packages at the release version, bounded at 10 min per package, and fails loudly if one never appears. There is no fallback to an older or unpinned install.
  • All four wiki_currency_check* jobs need it.
  • The four wiki_drift_issue* jobs no longer fail on a missing report (continue-on-error on the download). With no report they open a "wiki-currency check could not complete" issue linked to the run, not "drift detected". Genuine drift reporting is unchanged, and no wiki-currency rule changed.

Verification (local)

  • Wait loop: all six packages found at 2026.11.7.1 in 13s; a missing version (2099.1.1.1) fails with ::error::.
  • Drift step with a stubbed gh: with no report it gives the "could not complete" title and body with the run link; with a report the "drift detected" behaviour is unchanged.
  • tests/test_release_wiki_currency_wait.py: 4 tests, failing on the old workflow and passing on the new.
  • Full suite: 578 passed, 9 skipped.

The live proof is the next release's four wiki_currency_check* jobs.


Generated by Claude Code

… checks

The 2026.11.6.1 and 2026.11.7.1 releases shipped completely but ended red:
autolens_assistant's wiki-currency check ran `pip install autolens==<version>`
about 3 minutes after the upload, before PyPI's simple index listed it ("No
matching distribution found"). The autofit, autogalaxy and autocti checks run
the same step and passed by timing luck. A re-run of the failed jobs of
42360648525 passed, which confirms it was index propagation, not drift.

- New job wait_for_released_stack, after release_workspaces and skipped in
  rehearsal. It polls production PyPI (`pip download --no-deps
  --no-cache-dir`) for all six packages, bounded at 10 min per package, and
  fails loudly if a version never appears. There is no fallback to an older
  or unpinned install.
- All four wiki_currency_check* jobs need it.
- The wiki_drift_issue* jobs no longer fail on a missing report: the download
  step is continue-on-error. With no report they open a "wiki-currency check
  could not complete" issue linked to the run, not a "drift detected" one.
  Genuine drift reporting is unchanged.

Verified locally:
- The wait loop finds all six packages at 2026.11.7.1 in 13s, and fails with
  an ::error:: for a missing version.
- The drift step with a stubbed gh: with no report it opens a
  "could not complete" issue; with a report it is unchanged.
- tests/test_release_wiki_currency_wait.py: 4 tests, failing on the old
  workflow and passing on the new.
- Full suite: 578 passed, 9 skipped.

Closes #334

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016nhQ8McPUvDThp9s9JAiZz
…(tenant firewall)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016nhQ8McPUvDThp9s9JAiZz
@Jammy2211
Jammy2211 merged commit 272ca92 into main Nov 8, 2026
3 checks passed
@Jammy2211
Jammy2211 deleted the ccr-eef5e2b2-t0z1tp branch November 8, 2026 18:31
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.

fix: release wiki-currency checks race PyPI index propagation

2 participants