Skip to content

ci: drop non-existent suites from the Linux and macOS test matrices - #6099

Open
ErikBPF wants to merge 1 commit into
apache:mainfrom
ErikBPF:ci/drop-nonexistent-suites
Open

ErikBPF wants to merge 1 commit into
apache:mainfrom
ErikBPF:ci/drop-nonexistent-suites

Conversation

@ErikBPF

@ErikBPF ErikBPF commented Sep 22, 2026

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

None. Small CI-hygiene follow-up; no tracking issue.

Rationale for this change

dev/ci/check-suites.py only verified that every suite in the source tree is
listed in a workflow. It never verified the reverse, so six suite names that no
longer exist remained in the linux-test and macOS matrices:

CI is green only because the suites are passed via -DwildcardSuites, which
ignores unmatched names; an explicit -Dsuites list fails with
ClassNotFoundException. The matrices therefore claim coverage that does not
run, and nothing prevented a stale name from being re-added.

What changes are included in this PR?

  • Add a forward declaration check to dev/ci/check-suites.py: a suite listed in
    a workflow must be declared as a class/trait/object in some sourceset.
  • Remove the six dead suite lines from .github/workflows/pr_build_linux.yml
    and .github/workflows/pr_build_macos.yml.

ParquetReadV1Suite and CometStringDecodeSuite stay listed: the former is
declared in ParquetReadSuite.scala, the latter in the spark-3.x sourceset
used by the 3.4/3.5 profiles.

How are these changes tested?

  • python3 dev/ci/check-suites.py reports the six undeclared names (RED) before
    the removal, then prints All workflow-listed suites are declared and exits 0
    after it.

@github-actions github-actions Bot added build Build environment enhancement New feature or request area:ci CI/CD, GitHub Actions, build tooling labels Sep 22, 2026
dev/ci/check-suites.py only checked one direction: every suite in the source
tree must appear in a workflow. It never checked the reverse, so six suite
names that no longer exist stayed in the linux-test and macOS matrices.

ParquetReadV2Suite was removed in apache#3671, and none of the six has a class,
trait or object declaration in any sourceset. CI stays green only because the
suites are passed as -DwildcardSuites, which silently ignores unmatched names;
an explicit -Dsuites list fails with ClassNotFoundException.

Add the forward check and remove the six dead lines. ParquetReadV1Suite and
CometStringDecodeSuite are kept: the former is declared in ParquetReadSuite.scala
and the latter in the spark-3.x sourceset used by the 3.4/3.5 profiles.
@ErikBPF
ErikBPF force-pushed the ci/drop-nonexistent-suites branch from c120e89 to f4810f0 Compare September 22, 2026 01:16
@ErikBPF
ErikBPF marked this pull request as ready for review September 22, 2026 01:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:ci CI/CD, GitHub Actions, build tooling build Build environment enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant