Comprehensive and Detailed Explanation
The appropriate approach is to remove the rejected user stories from the promotion selection and generate a revised promotion branch containing only the features authorized for release.
Copado associates development changes with individual user stories and their corresponding feature branches. This design allows release managers to control the scope of a deployment without unnecessarily modifying or destroying the underlying development history.
In Rob's scenario, the QA team has rejected two user stories. Those features should not proceed into the upcoming release until the identified issues have been addressed and the required acceptance criteria have been satisfied.
Rob should remove the rejected user stories from the promotion and ensure that the promotion branch is regenerated to reflect the updated selection. The resulting branch should contain only the remaining eligible features.
Deleting the rejected feature branches would be inappropriate because their committed work may be required for defect correction, retesting, or inclusion in a subsequent release.
Similarly, manually removing individual commits from the promotion branch introduces unnecessary Git complexity and increases the possibility of removing dependencies or changes belonging to other features.
After regenerating the promotion branch, Rob should validate the resulting deployment to detect potential metadata dependencies and deployment failures.
Official References: Copado — Create a Promotion with Source Format Pipelines; Promotion Branch and Feature Branch definitions.
Submit