Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: remove 'default-members' in workspace, default to all crates #752

Merged
merged 9 commits into from
Mar 21, 2025

Conversation

zachschuermann
Copy link
Collaborator

@zachschuermann zachschuermann commented Mar 20, 2025

Problem: new contributors have compilation errors which aren't raised when they run a normal cargo test or cargo nextest run since FFI crate (among others) aren't built by default.

Solution: remove default-members = ["acceptance", "kernel"] in our workspace's Cargo.toml in order to default to building all crates.

This PR includes the update above + some fixes for docs, clippy, etc. and modifies how we run clippy --no-default-features in CI so that we actually check kernel without any features enabled.

Copy link

codecov bot commented Mar 20, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.36%. Comparing base (ec47584) to head (e57c42d).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #752   +/-   ##
=======================================
  Coverage   84.36%   84.36%           
=======================================
  Files          81       81           
  Lines       19246    19246           
  Branches    19246    19246           
=======================================
  Hits        16236    16236           
  Misses       2205     2205           
  Partials      805      805           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Collaborator

@nicklan nicklan left a comment

Choose a reason for hiding this comment

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

lgtm

@github-actions github-actions bot added the breaking-change Change that will require a version bump label Mar 20, 2025
@zachschuermann zachschuermann requested a review from nicklan March 20, 2025 21:03
Copy link
Collaborator

@hntd187 hntd187 left a comment

Choose a reason for hiding this comment

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

lgmt

@zachschuermann zachschuermann removed the breaking-change Change that will require a version bump label Mar 21, 2025
@@ -54,6 +54,8 @@ impl Drop for FileReadResultIterator {
///
/// The iterator must be valid (returned by [`read_parquet_file`]) and not yet freed by
/// [`free_read_result_iter`]. The visitor function pointer must be non-null.
///
/// [`free_engine_data`]: crate::free_engine_data
Copy link
Collaborator

Choose a reason for hiding this comment

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

what's this?

Copy link
Collaborator

Choose a reason for hiding this comment

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

ohh nm, i guess it creates the link in the docs?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

yep!

@zachschuermann zachschuermann merged commit 2573424 into delta-io:main Mar 21, 2025
21 checks passed
@zachschuermann zachschuermann deleted the default-all-crates branch March 21, 2025 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants