Replies: 3 comments 4 replies
-
We can give this a try and see how things work. I see these use-cases are not that frequent, and when we do stumble upon them, there aren't any code conflicts or edge cases that could create problems. We should also broadcast this internally and make sure Engineers are aware of the upcoming changes. |
Beta Was this translation helpful? Give feedback.
-
Thanks @mokimo for the write-up and suggested change 👍 I support this change, given your past diligent handling and great automation efforts, I'm confident that this will further contribute to a stable and efficient release process. |
Beta Was this translation helpful? Give feedback.
-
I agree with the general idea, as it would further streamline the automatic merge pipeline. And although we don't have to revert things from prod all that often, I do want to consider that use-case. PR1 goes first into the stage batch, then PR2; both modify utils along with other files. We merge this batch to production. We then realize PR1 introduced a bug. What do we do?
1 sounds like the best compromise to me, but I'm wondering what the other opinions are, so we align on a process. |
Beta Was this translation helpful? Give feedback.
-
Context
We initially did not want to allow the automated merging process to merge multiple PRs touching the same file, to make it easier to revert PRs. However as the process is now pretty stable and the QA process also catches a lot of critical issues before they go onto production, we should consider dropping this rule.
Additional context
If Git/GIthub actually can't merge anything due to overly complex file overlaps, this will be prevented and highlighted in the UI and an engineer needs to properly rebase their PR. That's something we can't and shouldn't solve, but we often have the case of changing a single line in
utils.js
which leads to a whole PR to being blocked for a longer while.I recently had a PR that was blocked for 2 weeks while it was ready to merge from a testing/QA/git perspective. I've seen this happen and we currently have 'congestion' when someone changes a popular file such as the utils.
In case of issues
The only disadvantage that I see, is that in case of issues we might not only need to revert the offending PR but 2-3 if we run into any conflicts of just reverting the single PR. Given this would be a big corner case, and usually since we only merge "simple" file overlaps, we should be good in that regard.
Concerns?
If anyone has any concerns, I'd love to account for them - otherwise I'll start looking into getting rid of this self imposed limitation within our merge-to-stage process.
Beta Was this translation helpful? Give feedback.
All reactions