Bugfix/build-in-changelog - #305
Conversation
Build commits were falling into the catch-all "Other" group. Align group order and labels with conventional-changelog defaults, in both the repo's own cliff.toml and the release-workflow scaffolding template. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
|
Warning Review limit reached
Next review available in: 48 minutes You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. 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: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (3)
📝 WalkthroughWalkthroughThe release workflow updates git-cliff commit categories, labels, and ordering. The default preset, standalone configuration, and unit test now include performance, revert, refactor, test, style, build, CI, chore, and fallback categories. ChangesGit-cliff category alignment
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 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 |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@src/categories/js/release-workflow/preset/default.preset.ts`:
- Around line 53-56: Restore the conventional changelog category order by
assigning Documentation 05, Styles 06, Code Refactoring 07, and Tests 08 in
src/categories/js/release-workflow/preset/default.preset.ts lines 53-56 and
cliff.toml lines 48-51; update the corresponding expected lines in
__tests__/unit/categories/js/release-workflow/preset/index.spec.ts lines 206-209
to match both configurations.
🪄 Autofix
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro Plus
Run ID: d7953437-58a9-4605-838c-e40f2bddb0d4
📒 Files selected for processing (3)
__tests__/unit/categories/js/release-workflow/preset/index.spec.tscliff.tomlsrc/categories/js/release-workflow/preset/default.preset.ts
There was a problem hiding this comment.
Pull request overview
Updates the release-workflow changelog preset and git-cliff configuration to align commit grouping with the Conventional Commits/commitlint “config-conventional” types, specifically adding support for build commits and standardizing section names.
Changes:
- Add a
buildcommit parser sobuild:commits appear under a dedicated “Build System” section. - Standardize and reorder changelog group headings (e.g., “Performance Improvements”, “Code Refactoring”, “Miscellaneous Chores”).
- Update the unit test snapshot/expectation to match the new
commit_parsersoutput.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| src/categories/js/release-workflow/preset/default.preset.ts | Updates the embedded git-cliff commit_parsers used by the release workflow preset (adds build, renames/reorders groups). |
| cliff.toml | Mirrors the same commit_parsers changes for local/CI git-cliff usage. |
| tests/unit/categories/js/release-workflow/preset/index.spec.ts | Updates expected output to keep the preset test in sync with the new parser configuration. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Task
Summary by CodeRabbit