← Back to Pull requests

test: tag each Comet suite with its CI test group, and add run-comet-tests.sh #7484

Closed
unknown closed this pull request without merging on Nov 30, 2026 02:05 UTC
View on GitHub
unknown unknown commented on Nov 04, 2026 15:42 UTC
Author

Which issue does this PR close?

None yet.

Rationale for this change

The linux-test and macOS test matrices name all 180 Comet suites in two YAML lists that have to
be 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?

  • Four tag annotations in org.apache.comet.tags: ScansGroup, ShuffleGroup, ExecGroup and

  • ExpressionsGroup. Each concrete suite carries the tag of the group it is listed in. The 180
    suites map to the same groups as the lists, checked mechanically.
  • dev/ci/run-comet-tests.sh <group> [maven args] runs

  • mvnw test -DtagsToInclude=org.apache.comet.tags.<Group>. --goal install also runs the
    spark-integration checks.
  • dev/ci/check-suites.py now requires exactly one group tag on every concrete suite outside

  • contrib, including each per-Spark-version copy, and none on the suites it ignores. It also
    requires 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.
  • The development guide says a new suite needs its tag as well as its listing, and how to run a

  • group locally.

    How are these changes tested?

  • check-suites.py and check-ci-config.py pass. Breaking a file on purpose makes the check fail

  • for 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-compile passes with the Spark 3.4, 3.5, 4.0, 4.1 and 4.2 profiles.

  • Locally, -DtagsToInclude=org.apache.comet.tags.ExpressionsGroup with a wildcard naming one

  • expressions suite and one exec suite runs the first suite's 22 tests and none of the second's.
  • CI itself is unchanged; the workflows are not touched.
  • Diff: 273 lines (+204 / -69) across 3 files Reviewer: rich7420 Review duration: 36623m
    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
    0.40
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    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.336
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #7484"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% 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: 39.5% (MEDIUM) · Higher = larger blast radius
    39.5%
    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: 60.5% · Lower = rushed or shallow review
    60.5%
    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: 15.6% · Safe to merge
    15.6%