Skip to content

Add NuGet-only release recovery - #225

Merged
peters merged 1 commit into
mainfrom
fix/package-only-release-recovery
Aug 13, 2026
Merged

Add NuGet-only release recovery#225
peters merged 1 commit into
mainfrom
fix/package-only-release-recovery

Conversation

@peters

@peters peters commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

Purpose

  • add an explicit NuGet-only mode for recovering an existing published release
  • reuse the release's immutable package without rebuilding platform artifacts
  • allow GitHub Packages publication to proceed when NuGet.org rejects its credential

Behavior impact

Normal release events and full recovery dispatches still require the complete platform artifact matrix before package publication. An explicit nuget recovery dispatch validates the published release and immutable tag, reuses the exact attached package, and publishes only the NuGet feeds. Cargo publication and release-asset collection are skipped in that mode.

The package job respects cancellation, and both feeds retain duplicate-safe publication for idempotent recovery.

Validation

  • ./scripts/sync-surge-core-vendor.sh --check
  • ./scripts/check-version-sync.sh
  • cargo fmt --all -- --check
  • RUSTFLAGS="-D warnings" cargo test --workspace
  • cargo clippy --all-targets --all-features -- -D warnings
  • cargo clippy --workspace --lib --bins --examples -- -D warnings -D clippy::unwrap_used -D clippy::expect_used
  • cargo clippy --workspace --all-targets --all-features -- -D warnings -W clippy::pedantic
  • dotnet format dotnet/Surge.slnx --verify-no-changes
  • dotnet test dotnet/Surge.slnx --configuration Release
  • actionlint .github/workflows/release.yml
  • YAML parse and release dependency assertions

Migration

No application migration is required. Existing manual recovery calls default to full; select nuget only when retrying the package feeds for an already published release.

@peters
peters marked this pull request as ready for review August 13, 2026 07:17
@peters
peters merged commit 684f232 into main Aug 13, 2026
15 checks passed
@peters
peters deleted the fix/package-only-release-recovery branch August 13, 2026 07:29
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