Redact auth in wheel cache origin warnings #14233
All Vouch review confidence checks passed
Residual risk 0.24 = Change Risk (0.61) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.61 · 144 lines diff across 1 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
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
Diff Size
diff_size
0.298
Shallow Review Depth
shallow_review_depth
0.289
Sensitive Paths
sensitive_paths
0.061
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #14233"
general
weight: 0.35
carrerasdarren-cell
What does this PR do?
Fixes #14232.
record_download_origin()writes a credential-stripped PEP 610 URL toorigin.json, but previously compared and logged the raw in-memory URL. Re-recording an authenticated origin therefore produced a false mismatch warning containing the username and password.This change compares the same serialized URL representation that is written to disk and uses those stripped values in genuine mismatch warnings. It adds regression coverage for both behaviors.
PR Checklist:
Assisted-by: OpenAI Codex
Tests
pytest -q tests/unit/test_cache.py: 10 passedgit diff --checkpassed