← Back to Pull requests

docs: exclude EPIC issues from the bug triage skill #7797

Merged
andygrove merged 1 files (9 lines) on Nov 30, 2026 19:44 UTC
View on GitHub
andygrove andygrove commented on Nov 30, 2026 18:10 UTC
Author

Which issue does this PR close?

N/A. Small change to a repository skill.

Rationale for this change

Issues labeled EPIC are tracking issues, and many of them also carry bug and priority:critical. They appear in the report's open critical bugs list and crowd out the individual bugs it is meant to surface.

What changes are included in this PR?

The bug-triage skill now adds --search '-label:EPIC' to both of its gh issue list queries: the requires-triage queue and the open critical bugs fetch. Epics are not classified, labeled, listed or counted, and a short note says why.

How are these changes tested?

Not applicable, since this is skill documentation.

Diff: 9 lines (+9 / -0) across 1 files Reviewer: kazuyukitanimura Review duration: 94m
All Vouch review confidence checks passed
Residual risk 0.02 = Change Risk (0.17) × (1 − Review Confidence (0.92)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.17 · 9 lines diff across 1 files
0.17
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.93 · 2 substantive comment(s)
0.93
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 50%
92%
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.138
Real PR Conversation Timeline
5 items
kazuyukitanimura kazuyukitanimura approved these changes on Nov 30, 2026 18:47 UTC
Approved Reviewer

Thank you @andygrove
Could you please resolve the conflict?

comphead comphead commented on code on Nov 30, 2026 18:56 UTC
Code Review
.ai/skills/bug-triage/SKILL.md:1
@@ -70,9 +70,14 @@ gh issue list \
   --label requires-triage \
   --state open \
   --limit 200 \
+  --search '-label:EPIC' \
   --json number,title,author,createdAt,labels,body,url
 ```
 
+Issues labeled `EPIC` are tracking issues that group other issues, not bugs or
+enhancements. The search excludes them, so do not classify, label, or list them
+in the summary issue.

This exclusion only covers the requires-triage query. Since https://github.com/apache/datafusion-comet/pull/7708 (07caef5f7f) the skill also runs gh issue list --label bug --label priority:critical in Step 6 to build the ## Open critical bugs section, and that is the list the PR description says epics crowd. Four open EPIC issues carry both labels today (https://github.com/apache/datafusion-comet/issues/7040, https://github.com/apache/datafusion-comet/issues/6834, https://github.com/apache/datafusion-comet/issues/6385 and https://github.com/apache/datafusion-comet/issues/4764). I ran that query with and without --search '-label:EPIC' and got 29 and 25 issues, so as written the epics would still appear in the report. After rebasing, add the same --search filter to the Step 6 query and reword this note so it no longer says epics are never listed in the summary issue. The previous-report title search needs no change.

comphead comphead commented on Nov 30, 2026 18:56 UTC
Reviewer

The -label:EPIC filter is correct for the requires-triage query and the label name EPIC matches the repo label exactly. The PR is written against a base from before https://github.com/apache/datafusion-comet/pull/7708 and conflicts with main in .ai/skills/bug-triage/SKILL.md (git merge-tree reports a content conflict, and 07caef5f7f is the only recent commit that touched the file). The conflict also hides a gap: the skill now has a second query that the exclusion does not cover.

andygrove andygrove commented on code on Nov 30, 2026 19:39 UTC
Code Review
.ai/skills/bug-triage/SKILL.md:1
@@ -70,9 +70,14 @@ gh issue list \
   --label requires-triage \
   --state open \
   --limit 200 \
+  --search '-label:EPIC' \
   --json number,title,author,createdAt,labels,body,url
 ```
 
+Issues labeled `EPIC` are tracking issues that group other issues, not bugs or
+enhancements. The search excludes them, so do not classify, label, or list them
+in the summary issue.

Thanks. Step 6 now has the same --search '-label:EPIC' filter on the open critical bugs query, with a note that epics are not listed or counted there. The Step 2 note now only says epics are not classified or labeled, so it no longer claims they are absent from the whole summary. The conflict with #7708 is resolved.

Assignees
andygrove andygrove
Labels
risk: low confidence: 92% 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: 16.8% (LOW) · Higher = larger blast radius
16.8%
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: 92% · Lower = rushed or shallow review
92%
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: 2% · Safe to merge
2%