SpinTheMic
Pro

Interview practice question

Hotfixes in a trunk-based workflow

Cloud & DevOps · Git and Version Control · Experienced

Your team practises trunk-based development, but a critical bug in production must be fixed while main contains unreleased features. How do you handle it?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Feature flags keep unreleased features off.
  • Fix on main, deploy main if safe.
  • Otherwise branch from release tag, cherry-pick.
  • Release, then ensure main has fix.
  • Improve flag discipline.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics