-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Move hash collision test to run only when merging to main #13973
Conversation
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 -- let's merge this to main and we can iterate / fix it as follow on PRs if needed.
pull_request: | ||
branches: | ||
- main | ||
types: | ||
- closed |
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.
The way we do it in arrow is
on:
# always trigger
push:
branches:
- main
I'll make a small follow on PR to touch it up if necessary
Here is what appears to be the latest workflow: https://github.com/apache/datafusion/actions/runs/12587068377 It does not appear to be running the hash collisions test 🤔 Interestingly there is a separate action that seems to have run on your PR that ran the test: I think it would be better if the checks run on the commit on I will make a new PR |
It wouldn't run in rust workflow as it's been removed from there. https://github.com/apache/datafusion/actions/runs/12587068386 is where it ran (new workflow). |
Yeah, what I am seeing from https://github.com/apache/datafusion/actions is that the job ran on your brnach So I don't think it gets reported attached to the commit on main: |
Hmm, yes, that is not what we desire here. We want a blocking check on the merge so on failure merge fails. Perhaps it should run on approval? |
That is a great idea |
I thought about this some more. I think the key property is that we don't use a version of DataFusion where hash collisions fails. If we run the new job on approval I worry we will maybe not wait for it to complete prior to merge Thus I would like to proceed with this PR |
Which issue does this PR close?
part of #13845
Rationale for this change
The hash collisions job is expensive (just as expensive as the cargo docs tests which are being worked on elsewhere) and rarely fail. It would be better to just run the hash collision job on merge to main instead of on every PR checkin.
What changes are included in this PR?
github actions updates.
Are these changes tested?
Well, kinda. I don't have a merge to main to actually test that portion however from reading the github documentation it should work.
Are there any user-facing changes?
No.