← Back to Pull requests

Validate variables_extension passed to the linking APIs #845

Open
fmeum opened this pull request with 48 lines diff across 3 files
View on GitHub
fmeum fmeum commented on Aug 12, 2026 10:37 UTC
Author

The compile APIs reject variables_extension values that are not strings, string lists or string depsets, but cc_common.link and cc_common.create_linking_context_from_compilation_outputs merged the dict into the link build variables unchecked, which could cause a Bazel crash on an unsupported value type.

Diff: 48 lines (+34 / -14) across 3 files Reviewer: lilygorsheneva Review duration: 75846m
All Vouch review confidence checks passed
Residual risk 0.07 = Change Risk (0.36) × (1 − Review Confidence (0.80)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.36 · 48 lines diff across 3 files
0.36
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%
80%
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.233
Real PR Conversation Timeline
4 items
pzembrod pzembrod commented on Aug 18, 2026 14:33 UTC
Reviewer

This seems to have a conflict with head - could you rebase?

fmeum fmeum commented on Aug 18, 2026 15:12 UTC
Author

@pzembrod Done

lilygorsheneva lilygorsheneva approved these changes on Sep 21, 2026 20:22 UTC
Approved Reviewer

Approved these changes.

Assignees
fmeum fmeum
Labels
risk: low confidence: 80.3% 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: 36.2% (MEDIUM) · Higher = larger blast radius
36.2%
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: 80.3% · Lower = rushed or shallow review
80.3%
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: 7.1% · Safe to merge
7.1%