Is there a way to combine multiple patches into one? Throughout a ticket lifecycle, we may have multiple zip patches that get deployed to our test environment to fix issues with the initial patch. We want to be able to deliver a single ticket patch to our next environment in the stack. We do not want to re-export everything from the dev environment since some of it may have changed for other tickets. We also do not want to export from the QA environment since no code should move out of that environment.
Discussion posts and replies are publicly visible
My normal technique for this while managing sprint deployments is to prepare a deployment app within the Test environment, and either import code from Dev straight into that app as patches, or add contents of individual dev deployed apps when they're ready, or some combination of both. I see that this probably fails your final constraint right away, but I don't personally have a more graceful way of doing it.
You might want to check out the deployment automation manager and the related playbook post on deployment automation. It is possible to use those items to produce consolidated patch packages and even have them import automatically to environments using jenkins.
Yes, we are using AVM and AIM but the amount of work to get multiple patches into source control is pretty high.