Clean up WrongNamespace handling in intra-doc link resolution #167005
All Vouch review confidence checks passed
Residual risk 0.08 = Change Risk (0.25) × (1 − Review Confidence (0.68)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.25 · 41 lines diff across 1 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.57 · 4 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.224
Real PR Conversation Timeline
6 items
:warning: Warning :warning:
There are issue links (such as #123) in the commit messages of the following commits.
Please move them to the PR description, to avoid spamming the issues with references to the commit, and so this bot can automatically canonicalize them to avoid issues with subtrees.*
- bbdc1d07fa4010e352f792b21561405eb56c1982
Error: Failed to set assignee to jyn514: invalid assignee
Note: Only org members with at least the repository "read" role, users with write permissions, or people who have commented on the PR may be assigned.
Please file an issue on GitHub at triagebot if there's a problem with this bot, or reach out on #triagebot on Zulip.
Approved
Approved these changes.
Thanks!
@bors r+ rollup
:star2: Commit 0ebc593d38bab68659fc27e10716955432b3d6a8 has been tentatively approved by GuillaumeGomez
It will be put into the queue for this repository once PR CI succeeds.
GuillaumeGomez
vedantchalke36
Fixes rust-lang/rust#77150.
This moves the wrong-namespace fallback out of
resolve_with_disambiguatorand intoresolution_failure, so detection and rendering ofWrongNamespacelive in one place. The FIXME left by rust-lang/rust#76955 is removed.Diagnostics are unchanged. The existing intra-doc UI tests cover the disambiguator mismatch cases.