Skip to content

Retry post-publication release attestation verification - #597

Merged
HeyOkay merged 1 commit into
pre-releasefrom
fix/release-attestation-retries
Nov 26, 2026
Merged

HeyOkay merged 1 commit into
pre-releasefrom
fix/release-attestation-retries

Conversation

@HeyOkay

@HeyOkay HeyOkay commented Nov 26, 2026

Copy link
Copy Markdown
Owner

What

Retry post-publication verification of the release and each of its three assets up to 12 times, with 5-second pauses, in both stable publication workflows.

Why

The 1.18.0 release was published successfully, but its final verification ran before GitHub exposed the immutable-release attestation. An independent repeat later verified the release and all assets successfully. Allow that propagation delay without publishing or uploading again.

How tested

  • Full Python 3.12.10 suite: 4,271 tests, 5 skipped, all passing.
  • Four offline execution tests run both exact workflow publishers against delayed release attestations, delayed asset attestations, and persistent release/asset failures. They verify bounded retries and exactly one creation, upload and publication.
  • Ruff, actionlint and git diff --check passed.
  • Own full diff reviewed. No hardware testing needed; no network in tests.

Risks

Persistent failures still fail the workflow after at most 11 pauses per verification command. Retries only repeat read-only verification, never uploads, publication or signing. Existing SignPath configuration and publication safeguards are unchanged. No other open PR currently changes these workflow files.

@HeyOkay
HeyOkay merged commit 0a1ba70 into pre-release Nov 26, 2026
5 checks passed
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