Skip to content

Conversation

@zvonkok
Copy link
Collaborator

@zvonkok zvonkok commented Jan 14, 2026

The problem was a race condition - both matrix jobs (x86_64 and aarch64) were trying to create/update the same GitHub release concurrently. When one finishes first and creates the release, the second one fails because the release becomes "immutable" during the first upload.

Changes made:

1 Removed the release creation from the build-and-release matrix job
2 Added a new create-release job that:

  • Runs after both matrix builds complete
  • Downloads all artifacts
  • Creates the release once and uploads all assets in a single operation
    Updated downstream job dependencies from build-and-release to create-release

Signed-off-by: Zvonko Kaiser <zkaiser@nvidia.com>
@zvonkok zvonkok marked this pull request as ready for review January 14, 2026 20:37
Copilot AI review requested due to automatic review settings January 14, 2026 20:37
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR eliminates a race condition in the release workflow where parallel matrix jobs were attempting to create/update the same GitHub release concurrently, causing failures when one job locked the release during upload.

Changes:

  • Refactored release creation to run in a dedicated job after all matrix builds complete
  • Updated downstream job dependencies to wait for the new create-release job
  • Bumped package version from 0.0.1 to 0.0.2

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.

File Description
Cargo.lock Version bump to 0.0.2 for the new release
.github/workflows/release.yaml Extracted release creation into a separate job that runs after matrix builds and updated job dependencies

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@zvonkok zvonkok merged commit 80da04a into NVIDIA:main Jan 14, 2026
23 of 24 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