Repository navigation
release: wait for the released stack on PyPI before the wiki-currency checks - #335
Merged
Merged
Conversation
… 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
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.
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; afterrelease_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.wiki_currency_check*jobs need it.wiki_drift_issue*jobs no longer fail on a missing report (continue-on-erroron 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)
2099.1.1.1) fails with::error::.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.The live proof is the next release's four
wiki_currency_check*jobs.Generated by Claude Code