-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
ci improvements #13876
base: main
Are you sure you want to change the base?
ci improvements #13876
Conversation
Thanks @Omega359 is it a draft? I dont see tests in checks |
No, but it should be. I can't seem to make it draft but apparently taiki-e/install-action@nextest is not an allowed action in apache repo's. |
…elease 2.46.19 in the case of this hash.
…elease 2.46.19 in the case of this hash.
I've reverted the nextest changes for now as the github action to install the binary of it is not approved and building nextest from source would take longer than the time it saves when running tests. Also noted that some of the non-apache/github actions used in datafusion's ci use versions vs githash of a validated version which is against the apache github action policy. For example: We likely should file another ticket to see change all third-party actions to be githash vs version |
an uncached build: https://github.com/apache/datafusion/actions/runs/12449465274 |
I can not wait to test / review this but I think I will run out of time today -- hopefully either later today or tomorrow |
Thanks for the update - no rush on my side |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @Omega359 -- this looks quite cool
I am a little surprised about the debug
and incremental
changes as in theory we already did them, but if it wasn't working is is great that this PR improves the situation
@@ -34,5 +34,6 @@ runs: | |||
echo "RUSTC_WRAPPER=sccache" >> $GITHUB_ENV | |||
echo "SCCACHE_GHA_ENABLED=true" >> $GITHUB_ENV | |||
echo "RUST_BACKTRACE=1" >> $GITHUB_ENV | |||
echo "CARGO_INCREMENTAL=false" >> $GITHUB_ENV |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems like this may be redundant with the line below (or if the line below isn't working. perhaps we could remove it 🤔 )
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably. I wasn't sure at one point so I put it there to test.
@@ -288,17 +318,20 @@ jobs: | |||
mv *.tbl ../datafusion/sqllogictest/test_files/tpch/data | |||
- name: Verify that benchmark queries return expected results | |||
run: | | |||
# increase stack size to fix stack overflow | |||
export RUST_MIN_STACK=20971520 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should have fixed this now with the recursive protection feature -- do we still need to set the min stack size?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know I needed it when I tried running this the other day. When was that fixed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was in #13310
|
||
# ci turns off debug info, etc for dependencies to allow for smaller binaries making caching more effective | ||
[profile.ci.package."*"] | ||
debug = false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We also found this setting particularly effective for speeding up our CI in influxdb_iox: https://doc.rust-lang.org/cargo/reference/profiles.html#debug
Which issue does this PR close?
Closes #13846, part of #13845
Rationale for this change
Improve ci run time
What changes are included in this PR?
Are these changes tested?
yes
Are there any user-facing changes?
No