Hotfix Process
When to Use Hotfix
Only use a hotfix when the production environment is already affected, and the fix cannot wait for the regular release process.
Steps
- Create hotfix branch from production tag
- Apply minimal fix
- Add test or verification note
- Open emergency PR
- Get required approval
- Merge and release
- Tag the release
- Back-merge to main branch
- Write postmortem note
Rules
- Keep the diff small
- Do not include refactoring
- Do not mix unrelated changes
- Always document rollback plan