In my organisation, we follow a dev -> qa -> master pipeline.
Developers can keep raising PRs to dev. Based on QA team availability, a particular commit is called the code_freeze commit, and QA will checkout from dev and merge to qa .
Problem arises when during explorative testing, some logical issue is found which passed the unit and integration tests. Now the developer has to checkout from qa and provide a fix as dev may contain commits not in QA testing cycle.
After successful testing, the QA team merges the fixed qa branch back to dev.
Is there a better solution to this?
Whoever sends the fix, should just cherry-pick that particular commit in all the branches (Dev, QA and Master, or I am guessing QA will get merged to master, so that's taken care of), that way no one gets blocked, no? No one needs to stop development in the dev branch.
I agree with j!
a particular commit is called the
code_freezecommit, and QA will checkout fromdevand merge toqa
Since it's called a code-freeze commit, development on that particular branch should stop. A new branch should ideally be checked out if you're going to continue work. π
j
stuff ;)
I would do as follows:
you can ofc cross merge but I try to stick to