-
Notifications
You must be signed in to change notification settings - Fork 15
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
Consider using GitHub merge queues #867
Comments
Do you have a working example of this? I'm a happy user of merge queue, but I would to understand on how to implement this correctly. |
No working example in conda/*, I've only experimented based on what I've read about the |
There is a lot to say to this:
tldr; running pre-commit via merge-queue is nice (and also fast), requiring branch to be up to date can be removed then, and job chaining can save resources ... I personally enjoy merge queues with 1-2 minutes lengths, even 20sec more or less have consequences to how productive one feels. |
Checklist
What is the idea?
We should consider using Github's merge queue for our pull requests to solve the problem of having to update all the time which leads to many additional CI runs.
Why is this needed?
To quote the docs:
That's possible because upon adding a pull request to the merge queue, another CI run is triggered that, if successful, will automatically merge into the main branch. And if unsuccessful shows up as a regular CI failure in the pull request.
The main advantage is that we would automate the coordination of merging potentially competing branches into main. The merge queue sequentially goes through the queue and builds all queued merges, but there is a way to bump a specific merge via an own user interface in case of an important change.
What should happen?
We should start by enabling the merge queue in our branch protection setup for the main branch (not release branches given the much less likely controversial changes).
We could also run longer running tests (optionally) for each merge queue item with different strategies, e.g.
Additional Context
The text was updated successfully, but these errors were encountered: