Repository navigation
fix(release): tolerate PyPI index propagation delays - #33
Merged
Merged
Conversation
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
Retry the release verification install when pip cannot yet find the exact qca-sdk version on the PyPI Simple index. Attempts are 30 seconds apart, capped at 21, with a 15-minute step timeout. Preserve each failure in the job log and stop immediately on other pip failures or version/import failures.
Why
In the 0.12.0 release, publication and PyPI JSON digest verification succeeded, but the Simple index still listed versions only through 0.11.0 when pip ran. The unchanged verification passed after propagation. This change handles that delay automatically without repeating publication or weakening artifact checks.
Incident: https://github.com/QoderAI/qoder-cloud-agents-sdk-python/actions/runs/40482438736/attempts/1
Verification
uv run --no-sync make lintuv run --no-sync make typecheckuv run --no-sync make test— 3,977 passed; 73 account-backed cases deselecteduv run --no-sync make docs-check--helpsmoke checks — not required; no example changesAdditional checks:
uv run --no-sync make buildpassed.git diff --checkpassed.Impact
CHANGELOG.mdunderUnreleased, or not applicable (explain below).env.live, logs, or generated test output committedThis is Python release automation only. SDK implementation, package version, public API documentation, fixtures, and runtime behavior are unchanged; no changelog entry or migration is needed. Go and TypeScript use different package registries and do not need this PyPI-specific fix. The existing 0.12.0 release is complete and does not need to be republished.