How do you handle hotfixes in a trunk-based flow?
IntermediateProductionRelease Engineering and Progressive Delivery
Answer
Fix forward on main through the normal pipeline (fast because it is always deployable), using an expedited path: smaller required checks if policy allows, reviewers on call, and deploy immediately after merge. If main contains unreleased risky work, either revert it, hide it behind flags, or cut a short-lived release/x.y branch from the production tag, cherry-pick the fix, deploy, and merge back to main. Never skip the pipeline for a hotfix; a broken hotfix is the worst outcome.
More on Release Engineering and Progressive Delivery
How do you do zero-downtime deployments on Kubernetes?IntermediateHow do you implement a canary release with Argo Rollouts and automated analysis?AdvancedHow do you roll back safely when a deploy includes a database migration?AdvancedHow do you design an automated rollback trigger?AdvancedHow do you version and release libraries versus services?IntermediateWhat does a release train look like and when is it appropriate?Intermediate