Skip to content

ci: check all features with Clippy - #26591

Open
kumarUjjawal wants to merge 4 commits into
apache:mainfrom
kumarUjjawal:kumar/ci-all-features-clippy
Open

kumarUjjawal wants to merge 4 commits into
apache:mainfrom
kumarUjjawal:kumar/ci-all-features-clippy

Conversation

@kumarUjjawal

@kumarUjjawal kumarUjjawal commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

Related to #26181 and the CI follow-up requested in #26189 (comment).

This PR changes only .github/workflows/rust.yml. The existing all-features lint failures are fixed separately in #26590; this branch does not include that fix. After #26590 merges, update this branch from main so the new check can pass.

Rationale for this change

CI currently runs Clippy with avro,integration-tests,extended_tests, which missed the Arrow buffer-pool lint failures exposed by --all-features.

Keep that existing check as well: force_hash_collisions disables normal hashing code when all features are enabled, so the two configurations cover different code.

What changes are included in this PR?

Add cargo clippy --workspace --all-targets --all-features -- -D warnings after the current Clippy step. Both steps use the existing Linux job, build setup, cache, and required check. Fork and merge-queue job conditions remain unchanged.

What is the testing strategy for this PR?

Are there any user-facing changes?

CI Only Change

@github-actions github-actions Bot added development-process Related to development process of DataFusion core Core DataFusion crate labels Oct 22, 2026
@github-actions github-actions Bot removed the core Core DataFusion crate label Oct 23, 2026
@kumarUjjawal

Copy link
Copy Markdown
Contributor Author

cc @neilconway

@alamb alamb left a comment

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.

Makes sense to me -- thank you @kumarUjjawal

# The all-features check builds snmalloc-sys, which requires CMake.
run: apt-get install -y --no-install-recommends cmake
- name: Run clippy with all features
run: cargo clippy --workspace --all-targets --all-features -- -D warnings

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.

It seems like maybe we should put this command in ci/scripts/rust_clippy.sh or whatever it calls so that it will be invoked by local agents / people too

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants