Skip to content

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

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

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 312e38c into master Aug 24, 2026
7 of 8 checks passed
@github-actions

Copy link
Copy Markdown

Released as v1.1.1 — https://github.com/Tharga/Communication/releases/tag/1.1.1

This branch had an error being deployed

1 failed deployment
prerelease — a7457846 Deployed Aug 24, 2026 by poxet via prerelease #32
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