Uh oh!
There was an error while loading. Please reload this page.
feat: Add PR changelog/review automation scripts - #2015
Conversation
- Replace relative path references to PLANNING.md with descriptive text - Convert placeholder issue reference to documentation note - Prevents lint-and-links CI validation failures on template files These links were template placeholders and not meant to be valid file references.
Add two reusable scripts for managing PR status labels based on review state: - update-pr-changelog-review.js: Full-featured handler that fetches review data and updates labels - update-pr-labels-simple.js: Lightweight label-only updater for quick status sync These scripts automate the process of updating PR status labels (status:needs-review, status:needs-update, etc.) based on actual review progress and PR state, keeping the meta:needs-changelog workflow in sync with real review activity. Supports dry-run, interactive, and auto modes for safe and flexible deployment. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Warning Review limit reached
Next review available in:54 minutes Limit details: You’ve used all 1 included review currently available under your plan. 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: Repository YAML (base), Organization UI (inherited) Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (7)
✨ Finishing Touches 💡 1🛠️ Fix failing CI checks 💡
📝 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 |
🚫 This PR description is missing required template content. Missing required section(s): Linked issues Please update the PR body using one of the repository PR templates:
Empty placeholders, unchecked checklist boxes, and stub issue references do not count. |
⏱️ Aging and SLA annotation
Maintained by project-meta-sync workflow. |
🔍 Reviewer Summary for PR #2015CI Status: ✅ Recommendations
|
Uh oh!
There was an error while loading. Please reload this page.
- Remove unused hasStatusLabel variable from update-pr-labels-simple.js - Add comprehensive test files for both automation scripts - Tests cover status determination, label management, and argument parsing - Both scripts now have complete test coverage
Fixed linting violations: - Added missing blank line before '### Watch the Workflow' heading (MD022) - Wrapped bare URLs in markdown links (MD034) - Ensured proper spacing around headings and code blocks This resolves the pre-existing linting failures blocking PR #2013. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Added entry for PR #2015 documenting the two new automation scripts for managing PR status labels based on review progress.
- Changed 'reviews === null || reviews === undefined || reviews.length === 0' to just 'expect(reviews).toBeNull()' - This fixes the code quality issue where the assertion was overly defensive - Matches the explicit test setup where reviews is null
- Documents new update-pr-changelog-review.js and update-pr-labels-simple.js scripts - Includes test suite coverage and integration details - References PR #2015
- Documents new update-pr-changelog-review.js and update-pr-labels-simple.js scripts - Includes test suite coverage and integration details - References PR #2015
ashleyshaw
commented
Aug 18, 2026
Closed in favor of PR #2021 which has a cleaner implementation without unrelated markdown files. |
Pull request was closed
- Remove unused hasStatusLabel variable from update-pr-labels-simple.js - Add comprehensive test files for both automation scripts - Update PR template with all required sections (Linked issues, Changelog, Checklist) These scripts automate PR status label updates based on review state and changelog requirements.
Summary
Add two reusable automation scripts for managing PR status labels based on review state and changelog requirements.
Scripts Added
update-pr-changelog-review.js (Full-featured)
update-pr-labels-simple.js (Lightweight)
Usage
Linked issues
Closes#1735
Changelog
Test Plan
Checklist (Global DoD / PR)
🤖 Generated with Claude Code