Skip to content

fix(release): cargo-cyclonedx uses --manifest-path, not cargo's -p#138

Merged
avrabe merged 1 commit into
mainfrom
fix/release-cyclonedx-package-selection
May 24, 2026
Merged

fix(release): cargo-cyclonedx uses --manifest-path, not cargo's -p#138
avrabe merged 1 commit into
mainfrom
fix/release-cyclonedx-package-selection

Conversation

@avrabe
Copy link
Copy Markdown
Contributor

@avrabe avrabe commented May 24, 2026

Summary

v0.6.0's release pipeline failed at the toolchain-SBOM step:

error: unexpected argument '-p' found

cargo-cyclonedx is a cargo subcommand but does not proxy cargo's package-selection flag. The correct way to target a single workspace crate is --manifest-path crates/synth-cli/Cargo.toml. Patch swaps -p synth-cli for that.

All 4 binary builds (v0.6.0 run 26366062176) succeeded; only Create GitHub Release failed at this step, so no v0.6.0 GitHub Release was created (only the git tag exists). Plan: merge this → delete + re-push the v0.6.0 tag against the fixed commit → release pipeline runs cleanly.

The PR #136 agent's command was a reasonable assumption (cargo subcommands often proxy -p); the clean-room verification confirmed the workflow file matched the agent's claim but didn't run the command. Real validation only happened at release time — which is the gating-fuzz-class pattern, just at release granularity.

🤖 Generated with Claude Code

The v0.6.0 release pipeline failed at the toolchain-SBOM step:
'cargo cyclonedx -p synth-cli' exited with 'unexpected argument -p'.
cargo-cyclonedx is a cargo subcommand but does not proxy cargo's
package-selection flag; the correct way to target a single workspace
crate is '--manifest-path crates/synth-cli/Cargo.toml'.
@codecov
Copy link
Copy Markdown

codecov Bot commented May 24, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@avrabe avrabe merged commit e011657 into main May 24, 2026
9 checks passed
@avrabe avrabe deleted the fix/release-cyclonedx-package-selection branch May 24, 2026 16: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.

1 participant