← Back to Pull requests

Use agent-guided shim compatibility review [reduced-it] #16821

Open
unknown opened this pull request with 361 lines diff across 4 files
View on GitHub
unknown unknown commented on Nov 10, 2026 08:50 UTC
Author

JaCoCo production line coverage: N/A (sql-plugin, delta-lake, iceberg, shuffle-plugin, and udf-compiler: developer tooling and review instructions only; no JVM production or runtime-test changes)

Refs #16820.

Description

The standalone shim checker overlaps with non-snapshot OSS compilation in mvn-verify-check.yml and adds an automated cross-PR scan to maintain. Remove the checker, its GitHub Actions workflow, and dedicated tests; retain a single agent skill for source selection, shim APIs, build profiles, and related-PR dependencies.

AGENTS, Copilot, and Greptile link to the skill with explicit applicability scopes instead of repeating its procedure. Versioned test-source selectors are included in Greptile scopes, and .agents/ has the same feature/performance CODEOWNERS as the other agent configurations. Related-PR review excludes Draft/WIP PRs. Merge-conflict checks stay in CI, and CPU/GPU parity is outside this skill. Shimpler source generation and Spark/GPU runtime code are unchanged.

Compatibility coverage remains best effort: GitHub Actions compiles the non-snapshot OSS release matrix and runs source-graph checks, while Blossom covers its configured build/test subset. Neither normal path compiles Databricks profiles (350db143, 400db173, 410db183) or opt-in 500 on a non-Databricks PR, and source-graph checks do not prove that shared callers have every required provider. Removing the standalone checker accepts that gap to reduce maintenance. The skill requires agents to assess all affected targets, use Databricks CI or its runtime build environment when available, and disclose any remaining compilation gap after static provider/API review.

Validation on this update: 45 Shimpler Python tests passed; CLI source inspection succeeded for 350 on Scala 2.12 and 2.13 and 500 on Scala 2.13; skill metadata, reviewer JSON, relative links, CODEOWNERS, and git diff --check passed. Historical validation: the agent workflow was exercised read-only against #16773, with related PRs #16735 and #16715 inspected; this did not include product compilation or runtime tests.

AI assistance: The change and PR description were prepared with Codex assistance.

Checklists

Documentation

  • Updated for new or modified user-facing features or behaviors

  • No user-facing change
  • Testing

  • Added or modified tests to cover new code paths

  • Covered by existing tests

  • (python3 -m unittest discover -s build/tests -p 'test_shimpler*.py': 45 tests passed on this documentation/configuration update; build-tool sources unchanged.)
  • Not required
  • Performance

  • Tests ran and results are added in the PR description

  • Issue filed with a link in the PR description

  • Not required

  • (Removes developer tooling and updates review instructions; JVM runtime and build source generation are unchanged.)

    Diff: 361 lines (+270 / -91) across 4 files Reviewer: wjxiz1992 Review duration: 29549m
    All Vouch review confidence checks passed
    Residual risk 0.25 = Change Risk (0.48) × (1 − Review Confidence (0.47)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.48 · 361 lines diff across 4 files
    0.48
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.02 · 1 substantive comment(s)
    0.02
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    46%
    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.352
    Shallow Review Depth shallow_review_depth
    0.344
    Ai Authored ai_authored
    0.050
    Real PR Conversation Timeline
    1 comments
    "Review active on #16821"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 46.7% 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: 47.6% (MEDIUM) · Higher = larger blast radius
    47.6%
    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: 46.7% · Lower = rushed or shallow review
    46.7%
    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: 25.4% · Safe to merge
    25.4%