marge-bot icon indicating copy to clipboard operation
marge-bot copied to clipboard

Source branches are not deleted when using batch mode

Open sdclarke opened this issue 2 years ago • 4 comments

When using batch mode with the an MR set to delete the source branch, the branch will not be deleted as the target branch is pushed to directly by Marge Bot.

sdclarke avatar Oct 26 '22 15:10 sdclarke

This is not actually the worst part. In batch merge Marge also pushes to the source branches which can result in a lot of unneeded pipelines. Cleaning up needs some work.

nanonyme avatar Dec 16 '22 16:12 nanonyme

This is not actually the worst part. In batch merge Marge also pushes to the source branches which can result in a lot of unneeded pipelines. Cleaning up needs some work.

Would what you're describing be solved by using the --skip-ci-batches flag?

--skip-ci-batches     Skip CI when updating individual MRs when using batches   [env var: MARGE_SKIP_CI_BATCHES] (default: False)

sdclarke avatar Dec 16 '22 17:12 sdclarke

Sounds indeed possible. We'll give it a try.

nanonyme avatar Dec 16 '22 17:12 nanonyme

We have also experienced this issue.

xtermi2 avatar Jan 13 '23 13:01 xtermi2