-
Notifications
You must be signed in to change notification settings - Fork 232
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
fix #579 Auto-merge between branches #582
Conversation
build |
build |
How do we know if auto merge failed? Does it send to slack or anything? |
The auto-merge PR remains open instead of being closed, and a comment is posted to the PR stating it needs manual intervention to be merged. |
I took a look at the script that does the merge, and there's an important part missing. The PR posted to do the automatic merge does not have CI run on it. Even if there are no merge conflicts, the PR should not be automatically merged unless CI passes on the merged result. |
There will be an email sent to maintainers. sth like,
|
I think we add the FYI cuDf does the same thing w/o CI pipeline rapidsai/cudf#6047. Let me know if you have any other concern :) |
3a764c7
to
c9db625
Compare
build |
Which branch is default is not relevant. The point of the auto-merge is to cover the time when we are moving from one development branch to another as part of making a release. That migration is not an instantaneous, hard cutover. Bug fixes continue to pour into the older branch, while new features need to go into the new branch to avoid destabilizing the older branch just before the release. It will often be days or even weeks where we will need CI on both branches. The point of the auto-merge is to automatically pull in bugfixes checked in on the older branch into the newer branch so they aren't lost when moving to the later releases. I'd really like pre-merge CI to run on the auto-merge branch if possible, but a nightly CI on the newer branch is the next best thing. We need something to detect in a timely manner when the auto-merge breaks an existing test (or even the build!). |
yep, I totally agree that we should have some detection for auto-merge stuff on the newer branch. pre-merge checks will make the process less 'auto', since the new commits on older branch could get merged at the same time. Then it could cost multiple pre-merge CI runs to get that auto-merge PR passed checks, which could block forever in the worst case 🤦 (we could checkout a tmp branch from older branch every time to avoid that, but could bring more problems, sounds janky though) I can set up a nightly pipeline for |
build |
Signed-off-by: Peixin Li <pxli@nyu.edu>
9be545c
to
1e6951f
Compare
build |
build |
2 similar comments
build |
build |
build |
build |
* fix NVIDIA#579 Auto-merge between branches Signed-off-by: Peixin Li <pxli@nyu.edu>
* fix NVIDIA#579 Auto-merge between branches Signed-off-by: Peixin Li <pxli@nyu.edu>
[auto-merge] bot-auto-merge-branch-22.10 to branch-22.12 [skip ci] [bot]
Signed-off-by: Peixin Li pxli@nyu.edu
ref: #579