ci: run Spark SQL 4.1 and Iceberg 1.11 on every pull request #7516
All Vouch review confidence checks passed
Residual risk 0.18 = Change Risk (0.45) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.45 · 446 lines diff across 5 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.365
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #7516"
general
weight: 0.35
rich7420
Which issue does this PR close?
No issue filed. Follows on from #7311, which moved the PR tier of fork pull requests onto the contributor's fork.
Rationale for this change
In the week from 2026-10-29 to 2026-11-05, Comet CI used about 2,600 runner-hours on ASF runners. Pull requests were 1,333 of them, the merge queue 1,003, and the nightly run 243. Even after #7311, fork pull requests into
mainused about 450 runner-hours in the 5.5 days after it landed. Nearly all of that came fromrun-labels. A fork run can't see the labels, so labeled suites still run upstream, and because the labels stay on the pull request they run again on every push.run-spark-4.1-testsandrun-iceberg-testsare among the most common, because without them a pull request gets no Spark SQL or Iceberg verdict until the merge queue.The PR tier now runs on the fork for fork pull requests, so Spark SQL 4.1 and Iceberg 1.11 can run there at no cost to ASF runners. The merge queue already gates on exactly these versions. With this change a pull request gets the queue's Spark and Iceberg verdict before it is queued, which removes the main reason to apply those two labels, and it should also cut the queue runs that fail on a 4.1 or 1.11 problem. In the same week, 174 runner-hours went to failed queue runs and 154 to entries cancelled behind them.
What changes are included in this PR?
dev/ci/compute-changes.py:-
spark_4_1(catalyst and sql_core) andiceberg_1_11move from["queue", label]to["pr", "queue"]. Path filters still apply.-
spark_4_1_hivestays queue-only, withrun-spark-4.1-hive-teststo bring it forward.-
run-spark-4.1-testsis retired. It gates nothing now, and alabeledrun for it starts nothing. The label can be deleted from repository settings after merge. Until now it also brought thesql_hiveshards forward, so a pull request that carries it now gets only catalyst andsql_coreon each push. Authors who want the hive shards before the queue should applyrun-spark-4.1-hive-tests.-
run-iceberg-testsnow selects the three nightly Iceberg versions (1.8, 1.9, 1.10).dev/ci/check-ci-config.py:PR_TIER,QUEUE_TIER,ICEBERG_OPT_INand the label policy cases are updated to the new tiers..github/workflows/README.md, thespark_4_1comment inci.yml,docs/source/contributor-guide/ci.mdandspark-sql-tests.mdare updated to describe the new tiers.Nothing else changes for the other tiers. The nightly run still covers Spark SQL 3.5, 4.0 and 4.2, Iceberg 1.8, 1.9 and 1.10, the Delta suites and the other Comet profiles. Pull requests that target a release branch already ran every tier and are unaffected.
What this costs:
How are these changes tested?
python3 dev/ci/check-ci-config.pypasses. It evaluatesPOLICYagainst the event cases in that file, which this PR updates: a plain pull request, a fork push, a fork pull request, the merge queue, the nightly run, release branches, and the remaining 4.1 hive and Iceberg label cases.test-iceberg-shards.py,test-fork-ci-status.cjsandcheck-versioned-source-parity.pyalso pass. This PR's own fork run is the end-to-end check: it changesdev/ci/*, so it routes to the Spark SQL 4.1 and Iceberg 1.11 suites on the fork.