← Back to Pull requests

Collect toolchain files by action in one pass #872

Open
dzbarsky opened this pull request with 27 lines diff across 1 files
View on GitHub
dzbarsky dzbarsky commented on Sep 08, 2026 19:30 UTC
Author

Construct ToolchainConfigInfo.files by initializing each configured action with its tool runfiles, then walking ArgsListInfo.by_action for the toolchain args and each feature once. This avoids repeated action lookups while preserving the per-action file sets.

Tested: bazel test //tests/rule_based_toolchain/toolchain_config:test_suite (12 tests passed).

Diff: 27 lines (+16 / -11) across 1 files Reviewer: lilygorsheneva Review duration: 56685m
All Vouch review confidence checks passed
Residual risk 0.14 = Change Risk (0.30) × (1 − Review Confidence (0.53)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.30 · 27 lines diff across 1 files
0.30
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.09 · 1 substantive comment(s)
0.09
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 50%
52%
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
Shallow Review Depth shallow_review_depth
0.319
Diff Size diff_size
0.199
Real PR Conversation Timeline
5 items
lilygorsheneva lilygorsheneva approved these changes on Sep 11, 2026 21:30 UTC
Approved Reviewer

Approved these changes.

armandomontanez armandomontanez approved these changes on Oct 03, 2026 00:45 UTC
Approved Reviewer

Bump; seems like it should be easy to merge?

armandomontanez armandomontanez approved these changes on Oct 03, 2026 00:56 UTC
Approved Reviewer

Approved these changes.

lilygorsheneva lilygorsheneva approved these changes on Oct 05, 2026 16:14 UTC
Approved Reviewer

Approved these changes.

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