mirror of
https://github.com/anthropics/claude-code.git
synced 2026-01-30 04:02:03 +00:00
Increase oncall triage engagement threshold to 50
Updates the oncall triage automation to require 50+ engagements (comments + reactions) before applying the oncall label, making the criteria more conservative to focus on the most critical issues. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -9,9 +9,9 @@ Repository: anthropics/claude-code
|
|||||||
|
|
||||||
Task overview:
|
Task overview:
|
||||||
|
|
||||||
1. First, get all open bugs updated in the last 3 days with at least 5 engagements:
|
1. First, get all open bugs updated in the last 3 days with at least 50 engagements:
|
||||||
```bash
|
```bash
|
||||||
gh issue list --repo anthropics/claude-code --state open --label bug --limit 1000 --json number,title,updatedAt,comments,reactions | jq -r '.[] | select((.updatedAt >= (now - 259200 | strftime("%Y-%m-%dT%H:%M:%SZ"))) and ((.comments | length) + ([.reactions[].content] | length) >= 5)) | "\(.number)"'
|
gh issue list --repo anthropics/claude-code --state open --label bug --limit 1000 --json number,title,updatedAt,comments,reactions | jq -r '.[] | select((.updatedAt >= (now - 259200 | strftime("%Y-%m-%dT%H:%M:%SZ"))) and ((.comments | length) + ([.reactions[].content] | length) >= 50)) | "\(.number)"'
|
||||||
```
|
```
|
||||||
|
|
||||||
2. Save the list of issue numbers and create a TODO list with ALL of them. This ensures you process every single one.
|
2. Save the list of issue numbers and create a TODO list with ALL of them. This ensures you process every single one.
|
||||||
|
|||||||
2
.github/workflows/oncall-triage.yml
vendored
2
.github/workflows/oncall-triage.yml
vendored
@@ -54,7 +54,7 @@ jobs:
|
|||||||
- Use mcp__github__get_issue_comments to read all comments
|
- Use mcp__github__get_issue_comments to read all comments
|
||||||
- Evaluate whether this issue needs the oncall label:
|
- Evaluate whether this issue needs the oncall label:
|
||||||
a) Is it a bug? (has "bug" label or describes bug behavior)
|
a) Is it a bug? (has "bug" label or describes bug behavior)
|
||||||
b) Does it have at least 5 engagements? (count comments + reactions)
|
b) Does it have at least 50 engagements? (count comments + reactions)
|
||||||
c) Is it truly blocking? Read and understand the full content to determine:
|
c) Is it truly blocking? Read and understand the full content to determine:
|
||||||
- Does this prevent core functionality from working?
|
- Does this prevent core functionality from working?
|
||||||
- Can users work around it?
|
- Can users work around it?
|
||||||
|
|||||||
Reference in New Issue
Block a user