Skip to content

ci(sync-branch): allow PR to auto-merge#14967

Closed
acolombier wants to merge 1 commit intomixxxdj:2.5from
acolombier:ci/enable-release-sync-automerge
Closed

ci(sync-branch): allow PR to auto-merge#14967
acolombier wants to merge 1 commit intomixxxdj:2.5from
acolombier:ci/enable-release-sync-automerge

Conversation

@acolombier
Copy link
Copy Markdown
Member

Depends of #14964

@daschuer
Copy link
Copy Markdown
Member

Can you give a brief description what is the desired workflow for this PR?

Does is bypass the requirements for a manual review? In case of merging 2.5 and 2.6 we should keep the manual confirmation step. There are many reasons where the a git merge succeeds but the result is wrong. If this would be an automatic process it will land into main without a chance to stop this.

A recent example where even the manual merge was not correct was this: #14949

@acolombier
Copy link
Copy Markdown
Member Author

Can you give a brief description what is the desired workflow for this PR?

The desired workflow would be for the automation to merge forward fixes on past release to the N+1 release, after all CI has validated it works well (all checks passes)

Does is bypass the requirements for a manual review?

Yes it does. I'm only suggesting that as this is something we already do, via a merge straight to the N+1 release branch (such as 487ed0c or ffe31e3).
Since in these case we also by pass our review process, I thought it would be great to automate without adding further PR review burden.

Do you think it would still be best to manually review? I could also add a timer, so the auto merge only happens after 48h for example. This way, it gives sometime to intervene if something isn't meant to be merged, but also we eventually keep thing in sync

@Swiftb0y
Copy link
Copy Markdown
Member

not sure if the auto merge for that is really a super great idea actually. The workflow envisioned for auto merge (as in the "enable auto-merge" button in the GUI) was just for the case where I had just reviewed a PR and CI is still running. Then I can give the LGTM and it gets automatically merged once CI succeeds. A similar workflow is also reasonable for the branch syncing PRs.

@daschuer
Copy link
Copy Markdown
Member

Do you think it would still be best to manually review?

Yes. The automatic merge branch is a nice feature to create a build and run checks, but it should not merge automatically with at least a plausibility check, or ideally a manual smoke test. Keep in mind that we want to give a kind of "stable" guarantee even for alpha and beta and that does not work if all core members are absent and something went wrong.

@acolombier acolombier closed this Jun 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants