Skip to content

fix(ci): repair three release-triggered workflow failures#147

Merged
zircote merged 5 commits intomainfrom
fix/release-workflows
Mar 9, 2026
Merged

fix(ci): repair three release-triggered workflow failures#147
zircote merged 5 commits intomainfrom
fix/release-workflows

Conversation

@zircote
Copy link
Owner

@zircote zircote commented Mar 9, 2026

Summary

Three workflows failed during the v0.4.0-rc1 release:

  • Signed Releases — triggered on release: published before binaries were uploaded (race condition). Fixed by triggering on workflow_run after the Release workflow completes.
  • SBOM Generation — asset name conflict with the SBOM job already in release.yml. Fixed by adding --clobber flag.
  • Changelog — tried to commit directly to main, blocked by branch protection. Fixed by creating a PR instead.

Test plan

  • Verify signed-releases workflow no longer triggers prematurely
  • Verify SBOM upload succeeds with --clobber
  • Verify changelog workflow creates a PR instead of direct push

- signed-releases: trigger on workflow_run instead of release:published
  to avoid race condition where assets aren't uploaded yet
- sbom: add --clobber flag to avoid conflict with release.yml's sbom job
- changelog: create PR instead of direct commit to respect branch protection
Copilot AI review requested due to automatic review settings March 9, 2026 15:07
@github-actions
Copy link
Contributor

github-actions bot commented Mar 9, 2026

Benchmark Results

No benchmarks configured. Add benchmarks to benches/ directory.

Full results available in CI artifacts.

@codecov
Copy link

codecov bot commented Mar 9, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.93%. Comparing base (b7846fb) to head (1a79570).
⚠️ Report is 8 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #147   +/-   ##
=======================================
  Coverage   94.93%   94.93%           
=======================================
  Files          25       25           
  Lines       10182    10183    +1     
=======================================
+ Hits         9666     9667    +1     
  Misses        516      516           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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

Repairs release-related GitHub Actions workflows that failed during v0.4.0-rc1 by removing race conditions, avoiding release asset upload conflicts, and complying with branch protection.

Changes:

  • Switch Signed Releases to trigger on workflow_run after the Release workflow completes (instead of release: published).
  • Add --clobber to SBOM release asset upload to handle name conflicts.
  • Update the changelog workflow to open a PR rather than committing directly to main.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
.github/workflows/signed-releases.yml Trigger signing after the Release workflow completes; download/upload assets by tag and update release notes.
.github/workflows/sbom.yml Make SBOM attachment to releases overwrite-safe via --clobber.
.github/workflows/changelog.yml Replace direct push-to-main with branch + PR creation for changelog updates.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@github-actions
Copy link
Contributor

github-actions bot commented Mar 9, 2026

Benchmark Results

No benchmarks configured. Add benchmarks to benches/ directory.

Full results available in CI artifacts.

@github-actions
Copy link
Contributor

github-actions bot commented Mar 9, 2026

Benchmark Results

No benchmarks configured. Add benchmarks to benches/ directory.

Full results available in CI artifacts.

@github-actions
Copy link
Contributor

github-actions bot commented Mar 9, 2026

Benchmark Results

No benchmarks configured. Add benchmarks to benches/ directory.

Full results available in CI artifacts.

Rng::random() was removed in newer rand versions. Rng::fill() is
stable across both 0.9 and 0.10.
@github-actions
Copy link
Contributor

github-actions bot commented Mar 9, 2026

Benchmark Results

No benchmarks configured. Add benchmarks to benches/ directory.

Full results available in CI artifacts.

@zircote zircote merged commit 8b913d8 into main Mar 9, 2026
30 checks passed
@zircote zircote deleted the fix/release-workflows branch March 9, 2026 15:41
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.

2 participants