Uh oh!
There was an error while loading. Please reload this page.
feat: Add PR automation scripts for label and changelog management - #2021
feat: Add PR automation scripts for label and changelog management#2021ashleyshaw wants to merge 9 commits into
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>
- 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.
- update-pr-labels-simple.js: Lightweight label synchronization for CI/CD - update-pr-changelog-review.js: Full-featured PR review status tracking - Comprehensive test suites for both scripts (40+ tests total) - Dry-run, interactive, and auto modes for all operations - Rate limiting and error handling built-in Closes#1735
Warning Review limit reached
Next review available in:17 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 (14)
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 |
Add comprehensive documentation for ADR Generator agent: - adr-generator.agent.md: Core agent specification and overview - docs/INSTALLATION.md: Setup guide for all repository contexts - docs/CONFIGURATION_REFERENCE.md: Complete configuration reference - docs/BEST_PRACTICES.md: Guidelines for writing effective ADRs - docs/ARCHITECTURE.md: System design, components, and data flows All 88 tests passing. Phase 1C (Agent, Skills, Tests & Documentation) complete. Related: #1831 — ADR Agent Phase 1C Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
…RAINING.md - Added blank lines before headings (MD022) - Added blank lines before lists (MD032) - Added blank lines before code fences (MD031) - Wrapped bare URLs in markdown links (MD034) - Fixed list item code block indentation This resolves all linting violations blocking PR #2013 merge. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
⏱️ Aging and SLA annotation
Maintained by project-meta-sync workflow. |
🔍 Reviewer Summary for PR #2021CI Status: ✅ Recommendations
|
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
- Changed vitest imports to @jest/globals for jest compatibility - Fixed overly defensive test assertion in update-pr-changelog-review.test.js - Changed expect(reviews === null || ...) to expect(reviews).toBeNull() - Ensures tests run with project's test framework
ashleyshaw
commented
Aug 18, 2026
Fixes Applied✅ Test Framework Migration — Updated test imports from to to match project's jest configuration ✅ Test Assertion Improvement — Fixed overly defensive assertion in
All tests should now run correctly with the project's test framework. 🤖 Addressed by Claude Code |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
- Tests don't use jest-specific methods like jest.mock() or jest.fn() - Using only describe, it, and expect from @jest/globals
ashleyshaw
commented
Aug 18, 2026
Code Quality Fixes Applied✅ Removed unused jest import from both test files:
Tests use only 🤖 Addressed by Claude Code |
ashleyshaw
commented
Aug 18, 2026
Closed in favor of PR #2025, which is a completely clean implementation without unrelated files. |
Pull request was closed
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