← Back to Pull requests

Presto GPU conformance from upstream Prestissimo e2e suites (3-arm run, viewer, Pages publishing) #435

Open
unknown opened this pull request with 409 lines diff across 5 files
View on GitHub
unknown unknown commented on Oct 15, 2026 07:29 UTC
Author

Refs #434

Runs prestodb's native end-to-end test classes unmodified against one GPU worker image in three arms and reports coverage and parity from the results.

| Arm | Worker config | Answers |
| --- | --- | --- |
| control | cuDF off | Does Prestissimo itself pass? (must be green for the rest to be attributable) |
| gpu | cuDF on, CPU fallback on | Does it work for a user? Parity = gpu passes / control passes |
| gpu-strict | cuDF on, fallback off, Exchange,MergeExchange allowlisted | Does it run fully on the GPU? |

What's in here

  • presto/scripts/run_native_e2e_3arm.sh — smoke gate (TPC-H on GPU) then the three arms over 11 Parquet suites. Keeps each suite's Surefire XML verbatim plus the Maven and worker logs. Env-driven (PRESTO_DIR, WORKER_IMAGE, OUT_DIR, ALLOWED_CPU_OPS; SUITES_OVERRIDE/ARMS/SKIP_SMOKE for targeted re-runs).

  • presto/testing/native_e2e/compare_arms.py — per-suite attribution (GPU failure · needs CPU fallback · fails in all arms), parity, operator fallback histogram from the worker logs; --json summary.

  • presto/testing/native_e2e/viewer.html — standalone viewer over Surefire XML (drop run folders, or ?manifest=): per-arm pass/fail/rate, suite drill-down with every test's result per arm and full failure text, Compare runs (regressions/fixes test by test), Trend. Deep links for run, diff and suite.

  • presto/testing/native_e2e/build_site.py + .github/workflows/presto-native-e2e.yml — publish history to GitHub Pages from Actions artifacts (nightly 60 days, weekly 400). No results branch; clones never carry the data. The viewer renders from a small summary.json per run and fetches XML only for a drill-down.
  • Depends on the velox and presto changes (links in #434) and on the repo having Pages enabled with source "GitHub Actions".

    Depends on / first-run expectations

    Merge order: facebookincubator/velox#19590 → prestodb/presto#28659 → this PR.

  • The nightly run is only meaningful once prestodb/presto#28659 is in master: images are built from upstream master, and without the launcher fixes the control arm reproduces the fd-limit / file-permission failures. Without facebookincubator/velox#19590 the gpu-strict arm fails almost every test (Exchange on CPU is not yet allowlistable).

  • presto-native-e2e.yml cannot be exercised before merge: workflow_dispatch only works for workflows on the default branch. The runner, compare_arms.py, build_site.py and the viewer have been run end to end locally on two images (branch build and staging image); every pinned action SHA resolves.

  • Pages must be enabled by a repo admin (Settings → Pages → Source: GitHub Actions). Until then the publish job still succeeds and uploads the built site as the native-e2e-site artifact; the Pages steps are continue-on-error.

  • The GPU job needs the org runner label linux-amd64-gpu-l4-latest-1; its longest step is ./mvnw install -DskipTests -pl presto-native-execution -am.
  • Current result (staging image = upstream + both PRs): https://karthikeyann.github.io/velox-testing/native-e2e/

    Result on 2026-10-15 (243 tests)

    control 243/243 · gpu 206 (parity 84.8%) · gpu-strict 65 (TPC-H 21/21) · 37 GPU failures · 141 need CPU fallback · 0 fail in all arms.

    Diff: 409 lines (+306 / -103) across 5 files Reviewer: patdevinwilson Review duration: 62460m
    All Vouch review confidence checks passed
    Residual risk 0.29 = Change Risk (0.52) × (1 − Review Confidence (0.45)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.52 · 409 lines diff across 5 files
    0.52
    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%
    44%
    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.360
    Shallow Review Depth shallow_review_depth
    0.344
    Real PR Conversation Timeline
    1 comments
    "Review active on #435"
    general weight: 0.35
    Assignees
    Unassigned
    Labels
    risk: low confidence: 44.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: 51.8% (MEDIUM) · Higher = larger blast radius
    51.8%
    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: 44.7% · Lower = rushed or shallow review
    44.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: 28.7% · Safe to merge
    28.7%