Repository navigation
Conversation
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 33 minutes. View limit details
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. |
✅ SSOT Configuration Compliance: Passing🎉 No new hardcoded values of either class — Known backlog in |
|
Code review on PR #20525 (head 76b315c): changes needed. Read only; nothing was run. Injection and permissions are clean, and train and bot exclusions work.
|
|
Review answers: |
|
Code review on PR #20525 (head 2814f12): approve.
|
Thinking Path
The rule that every PR carries its issue's milestone and phase label had nothing behind it: thirteen open PRs from one session lacked them on 2026-11-01. Issues already have this check through
issue_structure.py, so this reuses its rules.What Changed
pipeline-scripts/pr_structure.pyappliesissue_structure's milestone and phase rules to the PR in the event payload.train-*branches, bots and anyone who is not an owner, member or collaborator are excluded..github/workflows/pr-structure.ymlruns it on every event that can change the answer, with read-only permissions.Verification
pipeline-scripts/pr_structure_test.pypasses locally; only this. Controls: a correct PR passes; neither, phase only, milestone only, a mismatched pair and a non-goal milestone each fail with an exact count; the script exits 1 on a bad payload and 0 on a good one; a branch merely containing "train" is still checked. The workflow has not run yet, so whether GitHub deliversmilestonedtopull_requestwill first show on this PR's own run.Worth reviewing:
_milestone_itemand_phase_item, private names, to keep one definition. Making them public would touchissue_structure.py's tests for no behaviour change.Refs. It also has nomerge_group:trigger, which it would need if the merge queue ruleset is ever enabled, since other required checks carry one.Model Used
Claude Opus 5.5
Refs #20516
🤖 Generated with Claude Code