Hotfix Release Process: Shipping an Urgent Fix Safely
A hotfix is an urgent release that cannot wait for the normal schedule. Because it is rushed, it is also the release most likely to cause a second problem. A short, fixed process lowers that risk.
A hotfix is a release made outside the normal cycle to correct a serious problem in production. It is smaller than a normal release by design and is usually prepared under pressure, often during an incident.
The difficulty is that urgency removes the usual safeguards at the moment when they matter most. Many second incidents begin as a hotfix that was shipped with no review. The aim of a hotfix process is to keep the safeguards that are cheap and fast, and to drop only those that are slow.
When a hotfix is justified
Define the criteria in advance, so that the decision is not made by whoever feels most anxious. A hotfix is justified when a defect is causing material harm to customers or the business, when a security vulnerability is being exploited or is about to be, or when a legal or contractual obligation will otherwise be breached, and when waiting for the next scheduled release would make the harm materially worse.
A feature that is late is not a hotfix. A defect that is annoying but has a workaround usually is not either. If the workaround is acceptable, ship the fix in the next release.
The minimum a hotfix needs
- A narrow scope. Include the fix and nothing else. Every additional change adds risk and complicates a rollback.
- A reviewer who did not write the fix. A second pair of eyes catches a large share of mistakes and takes minutes.
- Tests that cover the defect. Add a test that fails without the fix and passes with it, so the problem cannot return unnoticed.
- A rollback plan. State how you will withdraw the fix, and what you will watch to know whether it is working.
- A named owner and an approver. One person runs the release. One person with authority agrees to it.
- Verification in production. Decide beforehand which measure shows the fix has worked, and check it.
Approval and freezes
Pre-agree who can approve a hotfix, including outside office hours, and name a deputy. The approver's question is whether the harm of waiting exceeds the risk of shipping now.
Hotfixes often collide with change freezes. The freeze should have an exception path for exactly this case, with a recorded reason. In Atlas, releasing to Production while a freeze covers it is refused, and only a workspace owner or administrator can release past that blocker, by writing a reason of up to 500 characters. The reason stays with the release. See the change freeze guide for the policy side.
Record it like any other release
The record matters more for a hotfix, not less. Create a release of the hotfix type, add the fix as its scope, add the few checks that apply, ask for the approval and record the deployment. The act of writing these down takes a few minutes and creates the evidence that will be needed in the review.
Atlas offers a hotfix release type alongside major, minor and patch, and a version if you use one. It records each deployment with its environment, status and times, and it does not run your pipeline.
After the hotfix
- Merge the fix into the main line so that the next regular release does not reintroduce the defect.
- Review it: why did the defect reach production, and why was it not caught earlier? Record follow-up work as tasks with owners.
- If the hotfix responded to an incident, link it to the incident record and the review. See the incident management guide.
- Watch the measures for longer than feels necessary. A hotfix that appears to work can have side effects that take hours to show.