Skip to content

ci: gate TPC-H workflow on rust-only path allow list#1755

Merged
andygrove merged 2 commits into
apache:mainfrom
andygrove:ci/tpch-allow-list-paths
May 23, 2026
Merged

ci: gate TPC-H workflow on rust-only path allow list#1755
andygrove merged 2 commits into
apache:mainfrom
andygrove:ci/tpch-allow-list-paths

Conversation

@andygrove
Copy link
Copy Markdown
Member

@andygrove andygrove commented May 23, 2026

Which issue does this PR close?

Part of apache/datafusion#22455.

Rationale for this change

The TPC-H workflow currently uses a paths-ignore deny list that only excludes a few obvious doc paths, so it still runs for changes that cannot affect the benchmark (e.g. Python bindings, other workflows, dev tooling). An allow list makes the trigger intent explicit and avoids wasted CI minutes on irrelevant changes.

What changes are included in this PR?

Switches the push and pull_request triggers in .github/workflows/tpch.yml from paths-ignore to paths. The allow list is scoped to what the workflow actually builds and runs:

  • ballista/** — scheduler, executor, core, client (built as ballista-scheduler and ballista-executor)
  • benchmarks/**ballista-benchmarks and the tpch driver
  • Root manifests: Cargo.toml, Cargo.lock
  • Pinned toolchain: rust-toolchain.toml
  • The workflow file itself and the shared setup-builder action it consumes

The Python crate (python/, excluded from the workspace), ballista-cli/, examples/, docs, other workflows, and dev tooling no longer trigger the run.

Are there any user-facing changes?

No.

Switch the TPC-H workflow from a `paths-ignore` deny list to a `paths`
allow list so it only runs when something that can actually affect the
benchmark changes: Cargo workspace crates, root Cargo manifests/lock,
the pinned Rust toolchain, the workflow itself, and the shared
setup-builder action. Python bindings, docs, other workflows, and dev
tooling no longer trigger the run.
@andygrove andygrove marked this pull request as ready for review May 23, 2026 21:24
@andygrove andygrove requested a review from milenkovicm May 23, 2026 21:25
@andygrove andygrove merged commit 1644008 into apache:main May 23, 2026
19 checks passed
@andygrove andygrove deleted the ci/tpch-allow-list-paths branch May 23, 2026 21:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants