Only accept `dep:` as a prefix in `validate_feature()` #15354
All Vouch review confidence checks passed
Residual risk 0.16 = Change Risk (0.29) × (1 − Review Confidence (0.44)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.29 · 10 lines diff across 1 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 10%
Bedrock Claude 3 · Risk Narration
(disconnected)
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.344
Diff Size
diff_size
0.143
No Reviewer Assigned
no_reviewer_assigned
0.120
Real PR Conversation Timeline
1 item
"Review active on #15354"
general
weight: 0.35
Turbo87
validate_feature()usedsplit_once("dep:")and somehow ignored everything before thedep:marker. Feature values like!dep:serdeorserde?dep:serdetherefore passed validation on publish, even though Cargo rejects them.The function now uses
strip_prefix("dep:"), which matches Cargo and thestarts_with("dep:")check incrates_io_index. Values with text beforedep:fall through tovalidate_feature_name()and are rejected.A scan of the database found no published versions with such feature values, so no existing data needs to be cleaned up.
Related