test: tag each Comet suite with its CI test group, and add run-comet-tests.sh #7484
All Vouch review confidence checks passed
Residual risk 0.16 = Change Risk (0.40) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.40 · 273 lines diff across 3 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.336
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #7484"
general
weight: 0.35
rich7420
Which issue does this PR close?
None yet.
Rationale for this change
The
linux-testand macOS test matrices name all 180 Comet suites in two YAML lists that have tobe kept in sync by hand. Only GitHub Actions can read them, so running a CI group locally or on
another CI system means copying the lists and keeping the copy current.
This is the first of two PRs that move group membership onto the suites. It adds a group tag to
every suite and a script that runs a group by tag, and leaves the workflows as they are. #7483 then
drops the lists and has CI run the script.
What changes are included in this PR?
org.apache.comet.tags:ScansGroup,ShuffleGroup,ExecGroupandExpressionsGroup. Each concrete suite carries the tag of the group it is listed in. The 180suites map to the same groups as the lists, checked mechanically.
dev/ci/run-comet-tests.sh <group> [maven args]runsmvnw test -DtagsToInclude=org.apache.comet.tags.<Group>.--goal installalso runs thespark-integrationchecks.dev/ci/check-suites.pynow requires exactly one group tag on every concrete suite outsidecontrib, including each per-Spark-version copy, and none on the suites it ignores. It alsorequires both workflow files to list each suite under its tag's group and to list nothing else,
so a group's tag and its CI job hold the same suites until the lists go.
group locally.
How are these changes tested?
check-suites.pyandcheck-ci-config.pypass. Breaking a file on purpose makes the check failfor a missing or second tag, a tag on an abstract class or on an ignored suite, a tag that
disagrees with the listing, a suite missing from a list, and a listed name with no suite.
test-compilepasses with the Spark 3.4, 3.5, 4.0, 4.1 and 4.2 profiles.-DtagsToInclude=org.apache.comet.tags.ExpressionsGroupwith a wildcard naming oneexpressionssuite and oneexecsuite runs the first suite's 22 tests and none of the second's.