Skip to content

chore: remove cargo check datafusion-spark features from required checks - #27375

Merged
alamb merged 2 commits into
apache:mainfrom
andygrove:remove-spark-required-check
Nov 12, 2026
Merged

alamb merged 2 commits into
apache:mainfrom
andygrove:remove-spark-required-check

Conversation

@andygrove

@andygrove andygrove commented Nov 12, 2026 •

Copy link
Copy Markdown
Member

Which issue does this PR close?

Rationale for this change

#27337 removes the datafusion-spark crate, along with the cargo check datafusion-spark features CI job. ASF applies branch protection from the .asf.yaml on main, so while that check is still listed there, #27337 can't merge: the check it's waiting on never runs.

What changes are included in this PR?

  • Removes cargo check datafusion-spark features from required_status_checks in .asf.yaml.
  • Removes the job from POST_MERGE_SKIPPED_JOBS in check_rust_workflow_skips.py. The script only lets required checks skip on pushes to main, because the merge queue only runs required checks.
  • Drops the post-merge clause from the job's if: in rust.yml. The same script requires each job's if: to match its skip sets exactly, so leaving the job out of POST_MERGE_SKIPPED_JOBS means its if: keeps only the fork-PR clause.

As a result, the job runs on pushes to main again until #27337 removes it. It is no longer required, so it can't block anything.

What is the testing strategy for this PR?

The Validate required_status_checks in .asf.yaml CI check, which runs check_asf_yaml_status_checks.py, check_rust_workflow_skips.py and test_rust_workflow_skips.py. All three pass locally.

Are there any user-facing changes?

No.

🤖 Generated with Claude Code

@github-actions github-actions Bot added the development-process Related to development process of DataFusion label Nov 12, 2026
@andygrove
andygrove requested a review from alamb November 12, 2026 17:05
The check is no longer required, so check_rust_workflow_skips.py no
longer allows it to skip on pushes to main.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
name: cargo check datafusion-spark features
needs: linux-build-lib
if: ${{ !(github.event_name == 'push' && github.ref == 'refs/heads/main' && github.repository == 'apache/datafusion') && !(github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork && github.base_ref == 'main') }}
if: ${{ !(github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork && github.base_ref == 'main') }}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is the repository = 'apache/datafusion' check removed?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess it doesn't matter as this will be deleted #27337

@alamb
alamb added this pull request to the merge queue Nov 12, 2026
Merged via the queue into apache:main with commit ce7ce07 Nov 12, 2026
44 of 46 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

development-process Related to development process of DataFusion v57.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants