fix(claude-ops): parameterize morning-brief queue labels with repo-aware degradation - #2540
Conversation
…are degradation Live runs filter default queue labels to those that exist in the target repo, mirroring the telemetry-issue auto-discover/degrade pattern. Add --queue-labels and --decision-label pins for consuming repos with a different taxonomy. Fixes #610 Co-authored-by: Kyle Sexton <kyle-sexton@users.noreply.github.com>
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 3fa6f30c3b
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Rebase onto main (which shipped sync fix as 0.31.11) and carry the morning-brief taxonomy fix as 0.31.12. Co-authored-by: Kyle Sexton <kyle-sexton@users.noreply.github.com>
|
Claude finished @cursor[bot]'s task in 3m 9s —— View job Code review complete
Ran
Both align with (and were independently traced/verified against the script logic, not just restated from) the two Codex review comments already on this PR. Everything else — the Note: this lane's Branch: |
|
Claude finished @cursor[bot]'s task in 1m 12s —— View job Security review (
|
|
Last security-reviewed head: |
Co-authored-by: Kyle Sexton <kyle-sexton@users.noreply.github.com>
|
Claude has reviewed this PR 5 times. The lane skips further automatic reviews after 5; deleting this comment resets the count. |
|
Claude finished @cursor[bot]'s task in 4m 0s —— View job Code review (
|
Treat a successful empty label inventory as [] rather than a failed lookup, and keep the new label-fixture cases fully offline with --repo plus the remaining JSON fixtures. Co-authored-by: Kyle Sexton <kyle-sexton@users.noreply.github.com>
|
Claude finished @cursor[bot]'s task in 4m 6s —— View job Code review (
|
|
Claude finished @cursor[bot]'s task in 1m 43s —— View job Security review (
|
Do not trip ANY_LIVE when --repo-labels-json can satisfy the parked-decisions label probe without a live issue list. Co-authored-by: Kyle Sexton <kyle-sexton@users.noreply.github.com>
|
Claude finished @cursor[bot]'s task in 2m 30s —— View job Code review (
|
|
Claude finished @cursor[bot]'s task in 1m 6s —— View job Security review (
|
…n label Probe REPO_LABELS_JSON for the resolved decision label before skipping the gh-required gate, so callers who include that label still fail fast without gh. Co-authored-by: Kyle Sexton <kyle-sexton@users.noreply.github.com>
|
Claude finished @cursor[bot]'s task in 2m 20s —— View job Code review (
|
|
Claude finished @cursor[bot]'s task in 2m 48s —— View job Security review (
|
Summary
The morning-brief Queues section no longer hardcodes the melodic-software queue label taxonomy on live runs. Default labels are unchanged, but the script now filters to labels that actually exist in the target repo (same degrade-when-absent pattern as the telemetry-issue path). Consuming repos with a different labeling scheme no longer see misleading
0/?count rows.Changes
gh label list(or--repo-labels-jsonin tests)--queue-labels(comma-separated pin) and--decision-labelflagsclaude-opsto 0.31.12 (main already shipped 0.31.11 via fix(claude-ops): stop sync writing committed settings, restoring the invariant #2539)Test plan
bash plugins/claude-ops/skills/morning-brief/morning-brief.test.sh(81 cases)Related
No linked issue
Fixes #610