Skip to content

ci: retry a failed release artifact upload once - #69

Merged
kvlonge merged 1 commit into
mainfrom
ci/retry-publish-uploads
Nov 12, 2026
Merged

kvlonge merged 1 commit into
mainfrom
ci/retry-publish-uploads

Conversation

@kvlonge

@kvlonge kvlonge commented Nov 12, 2026

Copy link
Copy Markdown
Contributor

Why

The 0.9.0 Publish run built every wheel, but the macOS x86_64 wheel's upload-artifact step timed out on all five of its own attempts (Request timeout: …ArtifactService/CreateArtifact). That skipped Publish to PyPI until the failed jobs were re-run.

Changes

  • .github/workflows/publish.yml: the wheel upload and the sdist upload each run with continue-on-error: true, and a second upload step runs only when the first one's outcome is failure. The retry uses overwrite: true, replacing any partial artifact. If the retry also fails, the job fails as before.
  • The change sits under .github/, which release-please-config.json excludes, so it cuts no release.

Verification

  • actionlint .github/workflows/publish.yml is clean.
  • Both upload-artifact steps in the file are covered (4 uses after the change: 2 uploads, 2 retries).

A transient artifact-service timeout on one wheel upload skipped the
PyPI publish of 0.9.0. Each upload in publish.yml now continues on
error and retries once, overwriting any partial artifact.
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 12, 2026 •

Copy link
Copy Markdown

Deploying sqlclean with  Cloudflare Pages  Cloudflare Pages

Latest commit: b629971
Status: ✅  Deploy successful!
Preview URL: https://76c38022.sqlclean.pages.dev
Branch Preview URL: https://ci-retry-publish-uploads.sqlclean.pages.dev

View logs

@kvlonge
kvlonge merged commit 0643018 into main Nov 12, 2026
20 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