ci: pass matrix target to release upload and gate on release creation#5
ci: pass matrix target to release upload and gate on release creation#5pnodet wants to merge 1 commit into
Conversation
The upload job never passed target to the action, so every matrix entry built the host triple and cross-target artifacts were wrong. Also make uploads wait for the release to exist and drop the unused matrix.features reference. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
There was a problem hiding this comment.
Your trial has ended. Reactivate Greptile to resume code reviews.
|
Warning Review limit reached
Next review available in: 59 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Thermo-nuclear code quality reviewStrict review of the diff vs Correctness of the fix
YAML validated ( Non-blocking observations (not fix-worthy in this PR)
VerdictApprove. The diff is minimal, structurally clean, deletes dead configuration instead of accreting it, and fixes a real correctness bug in the release matrix. Meets the approval bar: no structural regression, no spaghetti growth, no missed simplification within the PR's scope. |
Summary
Fixes three issues in the
upload-binjob of the release workflow:Pass
target: ${{ matrix.target }}totaiki-e/upload-rust-binary-action. The job defined a five-target matrix (aarch64/x86_64 for Linux and macOS, plusuniversal-apple-darwin) but never told the action which target to build. Without atargetinput the action builds the host triple, so the aarch64-linux entry actually shipped an x86_64 binary,universal-apple-darwinwas not built as a universal binary, and matrix entries collided on artifact names.Add
needs: create-releasetoupload-bin. Uploads could previously race the release-creation job and fail if the GitHub release did not exist yet.Remove
features: ${{ matrix.features || '' }}. No matrix entry defines afeatureskey; the line was copy-paste cruft.Everything else (checkout, token, tar/zip settings, matrix entries) is unchanged.
🤖 Generated with Claude Code