Skip to content

ci: retry the GitHub release step so a transient API failure cannot strand a published package - #15

Merged
poxet merged 1 commit into
masterfrom
chore/release-retry-guard
Aug 24, 2026
Merged

ci: retry the GitHub release step so a transient API failure cannot strand a published package#15
poxet merged 1 commit into
masterfrom
chore/release-retry-guard

Conversation

@poxet

@poxet poxet commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

The package is pushed to nuget.org before the GitHub release is created, so a transient GitHub API failure leaves a published package with no tag. The next build then recomputes the same version, pushes a duplicate that --skip-duplicate swallows silently, and the version after it never ships. Observed three times on 2026-08-17 during a GitHub incident.

Retries the release step five times and treats an already-created release as success, so a re-run is safe. Applied to both the release and the pre-release job.

The identical change is already merged in Cache, Crawler, MongoDB and Team.

@codecov

codecov Bot commented Aug 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@poxet
poxet merged commit 5c4afc1 into master Aug 24, 2026
7 of 8 checks passed
@github-actions

Copy link
Copy Markdown

Released as v2.4.3https://github.com/Tharga/Reporter/releases/tag/2.4.3

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