Skip to content

Improve oncall triage recency and engagement criteria#29460

Open
vishnukannaujia wants to merge 1 commit intoanthropics:mainfrom
vishnukannaujia:fix-oncall-triage-updated-sorting
Open

Improve oncall triage recency and engagement criteria#29460
vishnukannaujia wants to merge 1 commit intoanthropics:mainfrom
vishnukannaujia:fix-oncall-triage-updated-sorting

Conversation

@vishnukannaujia
Copy link

Why

Oncall triage can miss relevant high-engagement issues because the current CI command assumes gh issue list is ordered by most recently updated issues.

This behavior is called out in #21953.

What changed

Updated .claude/commands/oncall-triage-ci.md to make candidate discovery deterministic:

  • Use search issues with explicit sort and date filter:
    • is:issue is:open sort:updated-desc updated:>=YYYY-MM-DD
  • Explicitly avoid relying on issue list ordering for recency.
  • Clarified engagement counting to include:
    • issue-level reactions
    • comment count
    • comment-level reactions

Impact

  • Reduces risk of missing recently-updated high-engagement issues.
  • Makes engagement threshold evaluation more consistent across runs.

Related

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Oncall Issue Triage fails to find relevant issues

1 participant