Add non-authoritative shim source inspector and shadow resolver [databricks] #16425
All Vouch review confidence checks passed
Residual risk 0.24 = Change Risk (0.60) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.60 · 207 lines diff across 2 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.319
Shallow Review Depth
shallow_review_depth
0.289
Sensitive Paths
sensitive_paths
0.060
Real PR Conversation Timeline
1 comments
"Review active on #16425"
general
weight: 0.35
gerashegalov
Related to #15923
Description
Add a fast
./build/shimpler sources --target <target>query for annotated Scala and Java shim sources. It can print physical paths, explain candidate source-parent provenance, or emit JSON and NUL-delimited paths.Add a shadow resolver that derives inheritance candidates from current exact annotations and checks that they select the same physical sources. Non-contiguous membership and versioned package paths stay exact. This does not change Shimplify generation or permit annotation migration yet; wiring generation to the resolver and capturing pre-conversion oracles remain follow-up work.
The check reports an existing ambiguity for
400db173: two RapidsErrorUtils.scala variants claim the same logical source. All other current targets passed the repository-wide shadow comparison.Validation: 29 tests pass. Clean multi-shim dist builds passed for Scala 2.12 (358/359) and Scala 2.13 (401/402). The inspector matched the generated sql-plugin source manifests for all four targets. Spark master 500 was queried but not built.
AI assistance was used to develop and test this change.
Checklists
Documentation
Testing
Performance