Skip to content

Conversation

@isidentical
Copy link
Contributor

@isidentical isidentical commented Oct 6, 2022

Which issue does this PR close?

Closes #3744.

Rationale for this change

This adds a new script (that only runs on the CI, so a classic ./dev/rust_lint.sh doesn't waste its time on this check) that ensures the lock file for the datafusion-cli is up-to-date.

@isidentical
Copy link
Contributor Author

Want to make sure first that it fails (since the lock is out-of-date now) and I will also include the regenerated version, though the CI does not start without a maintainer's approval.

@isidentical isidentical marked this pull request as ready for review October 6, 2022 19:54
- name: Check workspace with all features
run: |
cargo check --workspace --benches --features avro,jit,scheduler,json
- name: Check Cargo.lock for datafusion-cli
Copy link
Contributor

Choose a reason for hiding this comment

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

👍

I ran this locally and it worked great for me, FWIW

target
Cargo.lock
!datafusion-cli/Cargo.lock
!ballista-cli/Cargo.lock
Copy link
Contributor

Choose a reason for hiding this comment

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

🧹

@alamb
Copy link
Contributor

alamb commented Oct 11, 2022

@isidentical it appears this test did not fail so I am not sure what the status of the PR is -- marking it as "draft" (to help keep the list of PRs ready to review small). Please mark it as ready to review when it is.

Thanks!

@alamb alamb marked this pull request as draft October 11, 2022 12:25
@isidentical
Copy link
Contributor Author

@alamb I already have confirmed that it worked with the action failing (and then submitted the changes on the Cargo.lock as well, so that they won't fail now). The PR should be good for a review as is (if I am not missing anything).

@alamb alamb marked this pull request as ready for review October 11, 2022 13:21
@alamb
Copy link
Contributor

alamb commented Oct 11, 2022

Cool -- thanks @isidentical -- I couldn't tell from the github PR history.

@alamb alamb changed the title CI: Add a new run to check whether lock file is up-to-date CI: Add a new run to check whether datafusion-cli lock file is up-to-date Oct 11, 2022
@alamb
Copy link
Contributor

alamb commented Oct 11, 2022

Thanks again @isidentical

@alamb alamb merged commit 58afdf7 into apache:master Oct 11, 2022
@ursabot
Copy link

ursabot commented Oct 11, 2022

Benchmark runs are scheduled for baseline = a9ee674 and contender = 58afdf7. 58afdf7 is a master commit associated with this PR. Results will be available as each benchmark for each run completes.
Conbench compare runs links:
[Skipped ⚠️ Benchmarking of arrow-datafusion-commits is not supported on ec2-t3-xlarge-us-east-2] ec2-t3-xlarge-us-east-2
[Skipped ⚠️ Benchmarking of arrow-datafusion-commits is not supported on test-mac-arm] test-mac-arm
[Skipped ⚠️ Benchmarking of arrow-datafusion-commits is not supported on ursa-i9-9960x] ursa-i9-9960x
[Skipped ⚠️ Benchmarking of arrow-datafusion-commits is not supported on ursa-thinkcentre-m75q] ursa-thinkcentre-m75q
Buildkite builds:
Supported benchmarks:
ec2-t3-xlarge-us-east-2: Supported benchmark langs: Python, R. Runs only benchmarks with cloud = True
test-mac-arm: Supported benchmark langs: C++, Python, R
ursa-i9-9960x: Supported benchmark langs: Python, R, JavaScript
ursa-thinkcentre-m75q: Supported benchmark langs: C++, Java

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.

Prevent Cargo.lock for datafusion-cli being out-of-date

3 participants