← Back to Pull requests

Introduce triage system #3126

Open
unknown opened this pull request with 441 lines diff across 5 files
View on GitHub
unknown unknown commented on Oct 27, 2026 00:45 UTC
Author

Description

This PR implements a triage system adapted from the one mentioned in #572. Commit-by-commit summary of changes made:

| Commit | Change | Description |
| --- | --- | --- |
| 994f1ffed | Add AI usage guidance | Adds an AI Guidance section to CONTRIBUTING.md listing when maintainers may close contributions without review. Tells agents in AGENTS.md not to write issue or PR descriptions or replies to maintainers. |
| 838cc67a7 | Add issue triage workflow | Documents the issue-first workflow, labels, triage criteria, and claim template in CONTRIBUTING.md. Adds Motivation and "work on this issue" fields to the issue templates and an issue link to the PR template. Turns template guidance into HTML comments so it doesn't appear in posted issues. Updates GOVERNANCE.md, AGENTS.md, and README.md to match. |
| 9ee1d3da4 | Move questions to GitHub Discussions and Slack | Removes the question issue template. Points questions to Discussions and the community Slack from the new-issue page, README.md, and CONTRIBUTING.md. |
| 28e3271ff | Close needs-more-info issues after 30 days | Adds a stale rule that closes needs-more-info issues after 30 days without activity. Exempts accepted issues from the 90-day rule. |
| be898adaa | Label new issues for triage | Adds a workflow that labels new issues needs-triage when they arrive without a state label. |
| a76489798 | Close PRs not linked to an accepted, assigned issue | Adds a gatekeeper workflow that comments on and closes external PRs unless they link an accepted issue assigned to the author. |
| e19841113 | Apply triage automation only to new issues and PRs | Skips issues and PRs created before the policy start date, so existing ones keep today's behavior. |
| cf239978a | Add /assign command for accepted issues | Lets maintainers assign accepted issues by commenting /assign @user, replacing any previous non-maintainer assignee. |
| 1da5668ff | Add workflow ensuring one state label per issue | This workflow removes the old state label when a maintainer applies a new one. |

Checklist

  • No secrets, sensitive information, or unrelated changes

  • Lint checks passing (make lint)

  • <!-- devin-review-badge-begin -->

    ---

    <a href="https://nvidia-cloud.devinenterprise.com/review/nvidia/gpu-operator/pull/3126" target="_blank"><picture><source media="(prefers-color-scheme: dark)" srcset="https://static.devin.ai/assets/gh-devin-review-dark.svg?v=4"><img src="https://static.devin.ai/assets/gh-devin-review-light.svg?v=4" alt="Devin Review"></picture></a>
    <!-- devin-review-badge-end -->

    Diff: 441 lines (+330 / -111) across 5 files Reviewer: cdesiniotis Review duration: 9897m
    All Vouch review confidence checks passed
    Residual risk 0.26 = Change Risk (0.45) × (1 − Review Confidence (0.43)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.45 · 441 lines diff across 5 files
    0.45
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.02 · 1 substantive comment(s)
    0.02
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    42%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.364
    Shallow Review Depth shallow_review_depth
    0.344
    Real PR Conversation Timeline
    1 comments
    "Review active on #3126"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 43.0% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 45.3% (MEDIUM) · Higher = larger blast radius
    45.3%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 43.0% · Lower = rushed or shallow review
    43.0%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 25.8% · Safe to merge
    25.8%