-
Notifications
You must be signed in to change notification settings - Fork 6
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
Update GitHub Actions workflows triggers #158
Conversation
Do not trigger Frontend and Backend workflows on push, but only for pull request and merge queue (merge group). Because commits to `main` are already checked in the merge group, they do not need to run on push. Also, the `pull_request` trigger will run on the PR merge branch instead of the PR branch, which lets us find potential test failures sooner (in the PR of only when the merge queue checks run).
My concern with this is that this makes us rely more on people running the tests locally themselves. Or people run a sub-set of the tests, create a PR, and when some other tests fail, they "just fix the tests" because they're done (they submitted a PR after all), instead of really engaging with the failing tests. This is most likely to happen with the dom-to-db tests.
I agree and still... the paranoid part in me wants to keep running them for push-es to |
I don't think we currently wait for the tests on push to run before creating a pull request. Especially when working with draft pull requests and when pull requests are changed after creation (which is almost always). All tests will still run on the pull request, and in a better way because any changes to
If you look at the checks on the latest commits to |
I still see a risk of noticing some failing tests too late, i.e. only after you submit a pull request. And then it's easy to fall into "just fixing the tests" instead of using the tests as a feedback mechanism. On the other hand, there are quite a few assumptions beneath that scenario. I'm ok with merging these changes, if we remain vigilant about the scenario I sketched.
I think the only way to convince me is to run the pipeline with this new configuration, so let's. :-D |
Do not trigger Frontend and Backend workflows on push, but only for pull request and merge queue (merge group). Because commits to
main
are already checked in the merge group, they do not need to run on push. Also, thepull_request
trigger will run on the PR merge branch instead of the PR branch, which lets us find potential test failures sooner (in the PR of only when the merge queue checks run).