← Back to Pull requests

Use Github App token for GraphQL requests #2593

Merged
Kobzol merged 13 files (126 lines) on Dec 03, 2026 08:58 UTC
View on GitHub
Kobzol Kobzol commented on Dec 02, 2026 13:37 UTC
Author

Otherwise triagebot uses the rustbot PAT even for repositories that opt into Github App authentication (https://github.com/rust-lang/miri/pull/5717#issuecomment-7346531688).

Diff: 126 lines (+92 / -34) across 13 files Reviewer: marcoieni Review duration: 1161m
All Vouch review confidence checks passed
Residual risk 0.14 = Change Risk (0.73) × (1 − Review Confidence (0.81)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.73 · 126 lines diff across 13 files
0.73
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.71 · 1 substantive comment(s)
0.71
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 50%
81%
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.290
Sensitive Paths sensitive_paths
0.073
Real PR Conversation Timeline
4 items
marcoieni marcoieni approved these changes on Dec 02, 2026 14:15 UTC
Approved Reviewer

Approved these changes.

Urgau Urgau approved these changes on Dec 02, 2026 17:53 UTC
Approved Reviewer

All of those IssueRepository allocations makes me a bit sad, but unless we make IssueRepository generic, not much we can do.

LGTM

View changes since this review

Kobzol Kobzol commented on Dec 03, 2026 08:51 UTC
Author

A few allocations here and there probably won't slow down triagebot too much, there are a lot of allocations already :laughing: Thanks.

Reviewers
Assignees
Kobzol Kobzol
Labels
risk: low confidence: 81.1% reviewed sensitive_module
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: 72.8% (HIGH) · Higher = larger blast radius
72.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: 81.1% · Lower = rushed or shallow review
81.1%
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: 13.8% · Safe to merge
13.8%