By Specita
Hotfix process: how to ship an urgent fix without panic
A hotfix process for web and mobile teams: when to use one, branch from the release tag, keep the change small, get it reviewed, merge it back, and record it.

A hotfix process is the fast route for an urgent production fix. Branch from the tag that's live, make the smallest change that solves the problem, test that exact build, ship it, and merge the fix back into your main branch. Before you start, ask whether a rollback or a feature flag would solve it faster, because those options often can. Keep the process written down and short, so that people can follow it under stress.
Speed comes from having fewer decisions to make, so decide in advance who owns a hotfix and which steps can't be skipped.
First, decide whether it's a hotfix
Not every bug needs one. A hotfix skips your normal schedule, and that has a cost. A simple rule of thumb:
| Situation | Response |
|---|---|
| Security problem, data loss, payments or sign-in down | Hotfix now |
| A major feature is broken for many users | Hotfix now, unless a flag or rollback is faster |
| Problem has a workaround, affects few users | Next regular release |
| Cosmetic | Backlog |
Write down your version of this table, with examples from your own product. Otherwise, the rule becomes "whoever's shouting."
Check the faster options
For a web or API release, rolling back the deployment is usually faster than writing a fix, if the release has no incompatible migration. Turning off a feature flag is faster still. After that, you can work on a proper fix with less pressure.
Mobile is different. There's no real iOS app rollback, so a code fix usually means a new store submission. So first stop the spread: pause the phased release or halt the staged rollout, and turn off any flag you can.
The hotfix process, step by step
- Name an owner. One person drives it and keeps everyone updated.
- Confirm what's live. Find the tag or commit in production. Don't assume it's the latest one.
- Branch from that tag. This keeps unreleased work out of the fix.
- Make the smallest change. Save the refactor for later.
- Add a test for the failure, if you can do it quickly.
- Review it. Have one person read it, even at speed. A second reader catches a lot in a short diff.
- Build and test on staging, or on an internal track.
- Ship and verify. Run a smoke test and watch the signal that showed the problem.
- Merge back. Get the fix into your main branch and any release branches.
- Record it. Add a note and create a follow-up task.
git fetch --tags
git switch -c hotfix/2.4.1 v2.4.0
# make the fix and commit
git tag v2.4.1
git push origin hotfix/2.4.1 --tags
Check the diff against the live tag before you ship. Comparing the two tags should show only your fix.
git diff --stat v2.4.0 v2.4.1
If anything else appears, stop and work out why.
The step people forget: merging back
Skip the merge and the bug comes back in the next release, since main never received the fix. Open the merge request to main straight away. Make it part of the definition of done, and keep the hotfix open until it's in.
If main has moved on and the code has changed, the fix may need adjusting. Test it there as well.
On mobile
The store adds steps to the process.
- Raise the build number and version code. The fix needs a version number higher than the bad version.
- Test the upgrade from the bad version, as well as a clean install. Your users will be coming from there.
- Submit, and request an expedited review from Apple if the bug is critical. On Android, keep other changes out of the review, so you don't restart the queue.
- Decide how fast it goes out. A fix for a crash that affects everyone might go straight to 100%. A fix that's itself risky can go in stages.
- Consider prompting people to update, with an in-app update or a required minimum version.
Timing has to be part of your thinking. A web hotfix reaches people in minutes. A mobile one can take days to reach most of them, even after approval. Tell people that when you set expectations.
Communication during a hotfix
Keep one channel, and post short, regular updates. A useful format covers what's affected, what you've done, what you're doing next, and when you'll report again.
14:05. Sign-in failing for about 20% of users since 13:40, starting with 2.4.0. Rollout halted. Fix in review. Next update 14:30.
Support needs to hear from you, too. They're hearing from customers at the same moment. Agencies should give the client's contact a direct update before the client hears from their own users.
What not to do
Don't add "one small extra thing." A hotfix with a second change is harder to verify, and harder to roll back if it fails.
Don't skip review entirely, or test only on your laptop. Those are the steps most tempting to skip, and many second incidents begin there. A hypothetical example: a one-line fix corrects the null check but breaks a query, and now a hotfix needs its own hotfix.
Don't leave long-term workarounds in place without a task to remove them.
After the fix
Hold a short review within a few days, while the details are fresh. Ask why the bug got through, why it took as long as it did to notice, and what would have made the fix faster. Add a check to your app release checklist or your post-release monitoring if a gap showed up.
Keep it blame-free. People who fear blame stop reporting problems early, and early reports are what you most need.
Specita records each version, its source changes, and its reported deliveries, so the live tag and what changed since are easy to find on a bad day. Each release can have an assigned owner who acknowledges and resolves it. See deployment reporting to add your hotfix pipeline.
Written on November 4, 2026.