ci: combine npm + cargo release workflows into one#211
Conversation
The split workflows raced each other on the version-bump commit push to main. A shared concurrency group cancelled pending runs rather than queuing them, so cargo releases kept getting cancelled by newer npm runs (and vice versa) and the crates.io / main Cargo.toml version drifted out of sync. Merge npm-package-release.yaml + cargo-publish.yaml into a single package-release.yaml that: - Detects npm and cargo content changes independently (hash compare vs the latest published artifact). - Bumps and publishes each that changed, in one workflow run. - Pushes the version-bump commits + tags in a single push, so npm and cargo can't race each other. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
Warning Rate limit exceeded
You’ve run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (3)
✨ 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 |
|
@coderabbitai assess this PR size classification for the totality of the PR with the following criterias and report it in your comment: S/M/L PR Classification Guidelines:This guide helps classify merged pull requests by effort and complexity rather than just line count. The goal is to assess the difficulty and scope of changes after they have been completed. Small (S)Characteristics:
Review Effort: Would have taken 5-10 minutes Examples:
Medium (M)Characteristics:
Review Effort: Would have taken 15-30 minutes Examples:
Large (L)Characteristics:
Review Effort: Would have taken 45+ minutes Examples:
Additional Factors to ConsiderWhen deciding between sizes, also consider:
Notes:
|
Summary
The split `npm-package-release.yaml` + `cargo-publish.yaml` raced each other on the version-bump commit push to main. A shared concurrency group cancelled pending runs rather than queuing them, so cargo releases kept getting cancelled by newer npm runs (and vice versa) and `crates.io` / main `Cargo.toml` version drifted out of sync.
Merge them into a single `package-release.yaml` that:
Test plan
After merge, the next change to either side bumps and publishes that side; a change to both sides bumps and publishes both in one run with a single push.
Generated with Claude Code.