Skip to content

Conversation

@rudymatela
Copy link

@rudymatela rudymatela commented Aug 23, 2022

Closes: #170

When a promotion (push to master) fails, we should not only reintegrate the head PR, but also unintegrate the rest of the train so that it is reintegrated on top of the new head PR.

Adding automated tests to this will not be easy, so I ended up testing manually. There is no way to simlulate integration failures from the free monad interface. See the 4 PRs that link here for a couple of local test runs:

church

⬆️ Here the speculative rebase was done immediately after we failed to promote the other PR due to its testing branch being stale.


haskell

When a promotion (push to master) fails,
we should not only reintegrate the head PR,
but also unintegrate the rest of the train.
@rudymatela rudymatela self-assigned this Aug 23, 2022
@rudymatela rudymatela added bug Something isn't working OKR Objectives and Key Results train Involves Merge Trains labels Aug 23, 2022
@rudymatela rudymatela requested a review from rlycx August 23, 2022 15:21
Copy link

@rlycx rlycx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rudymatela
Copy link
Author

@RileyApeldoorn Thanks for the review.

@OpsBotPrime merge!

@OpsBotPrime
Copy link

Pull request approved for merge by @rudymatela, rebasing now.

@OpsBotPrime
Copy link

Rebased as 95a4ac9, waiting for CI …

@OpsBotPrime
Copy link

CI job 🟡 started.

@OpsBotPrime OpsBotPrime merged commit 95a4ac9 into master Aug 24, 2022
@OpsBotPrime OpsBotPrime deleted the unintegrate-train-on-failed-pushes branch August 24, 2022 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working OKR Objectives and Key Results train Involves Merge Trains

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Restart all builds in the train after a failed promotion

3 participants