release: wait for the simple index before exercising the published wheel - #95
Merged
stefan-jansen merged 1 commit intoSep 12, 2026
Merged
Conversation
The post-release job verified the publication against two different PyPI endpoints and treated them as one. 'Verify PyPI identity and digests' reads https://pypi.org/pypi/<name>/<version>/json; 'Install and exercise the published wheel' reads https://pypi.org/simple/ through uv. They propagate independently, so the first can pass on a version the second has not listed. Measured on 0.1.7: publish completed 11:59:22Z, the install failed 24s later with 'no version of ml4t-backtest==0.1.7', and a re-run of the same job at 12:03:22Z passed unchanged. Nothing was wrong with the release; the check was faster than the index. Retry the install for up to 12 attempts over 120s, the same budget the deployed-documentation recheck already uses below it, and fail with an explicit message naming the simple index if it never appears. A genuinely absent artifact still fails, two minutes later. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UPDj1nioTuD4xATMVyhZxB
stefan-jansen
deleted the
infra/release-verify-waits-for-the-simple-index
branch
September 12, 2026 12:54
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.
The post-release job checks the publication against two different PyPI endpoints and treats them as one.
Verify PyPI identity and digestsreadshttps://pypi.org/pypi/<name>/<version>/json;Install and exercise the published wheelreadshttps://pypi.org/simple/through uv. The two propagate independently, so the first can pass on a version the second has not listed yet.Measured on the 0.1.7 release run: publish completed at 11:59:22Z, the install failed 24 seconds later with
no version of ml4t-backtest==0.1.7, and a re-run of the same job at 12:03:22Z passed with no change to anything. The package was correctly published throughout; the check was faster than the index.This retries the install for up to 12 attempts over 120 seconds, the same budget
check_documentation_identity.pyalready uses two steps below it, and fails with a message naming the simple index if the version never appears. A genuinely missing artifact still fails the job, two minutes later than before.🤖 Generated with Claude Code
https://claude.ai/code/session_01UPDj1nioTuD4xATMVyhZxB