Interview Prep/CI/CD/Release Engineering and Progressive Delivery

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.

All CI/CD questions Roadmap: CI/CD fundamentals

More on Release Engineering and Progressive Delivery