The Upgrade You Didn't Choose
Roger Stringer · November 27, 2026
Your software is going to upgrade itself. The open question is whether you'll know when.
Picture a small fix going out on a Tuesday. The platform rebuilds, pulls the newest version of every piece it was told to trust, starts up, and quietly reshapes the database to match. The fix was 3 lines. The upgrade came along for free, and some of it can't be taken back.
Uptime Institute's 2025 outage analysis found that IT systems and software were the most common cause of IT service outages for 23% of operators, second only to networking. Uptime blames rising complexity "leading to issues with change management and misconfigurations." The same report says 80% of operators believe better management and processes would have prevented their most recent outage. Those are mostly data center operators, bigger than you. The lesson still travels: a lot of outages start with a change somebody made on purpose.
How software upgrades itself
A lot of setups tell the server to run whatever version is newest. Engineers call it "latest." On day 1 it's convenient. On day 300 it's a loaded spring.
I found one recently. A self-hosted workflow tool (Activepieces) was set to deploy the newest version. It was running 0.82.0. The newest was 0.94.0. The next deploy, for any reason at all, would have jumped 12 versions in one go and probably run every database change in between against its production Postgres database.
That gap is normal. Sonatype, which sells supply-chain security tools and has a stake in this story, reports that 80% of application dependencies go un-upgraded for over a year, even though more than 99% have newer versions available. So most software sits still for a long time and then moves a long way at once. With "latest," you don't pick the day.
The version number can change under you
The fix was to pin it: run this exact version until a human says otherwise.
Then the twist. The maker had rebuilt the "0.82.0" release since that app was first deployed. Same label, different contents. Pinning to the version number would have quietly deployed a different build than the one running.
So I pinned it to the image's fingerprint, a digest that only ever matches one exact build. The Kubernetes documentation says to avoid "latest" in production and explains that pinning by digest means "a change at the registry cannot lead to that mix of versions." A second instance got pinned the same way, and that change went through a reviewed pull request.
A push is a deploy
My own site has the same trap with a different shape. Pushing code to the main branch deploys the site and applies any database changes on startup. One step, 2 consequences.
In November my AI coding agent told me a push would not deploy. It was wrong. The push went live and applied 6 database migrations with no backup taken first.
Nothing broke. Cloudflare keeps a point-in-time restore for this database (D1 Time Travel), so I had a way back. The backup I'd planned to take never happened, though, and that's the part that bothers me. The note I wrote afterward is one line: a push equals a deploy plus a migration.
The agent did the work fine. It was confident about a fact and wrong about it, which is what agents do sometimes. That's the reason for the 70/30 split: the agent handles the mechanical 70%, and a human owns the decisions that can't be undone. Changing a production database is one of those decisions. Taking the backup is the human's job.
It wasn't the first lesson either. In October a routine dependency upgrade on the same site installed 2 copies of a build tool and took production down with a Cloudflare 1101 error until it was fixed.
The cheap habits
Pin every version, down to the fingerprint. "Latest" means someone else decides when you upgrade. A version number is better. A digest is best, because it can't be quietly rebuilt behind your back.
Back up before anything that changes the database. My routine now is 4 steps: record a restore point, export the full database, check that the export actually restores, then push. I did exactly that for this site's EmDash 1.6.0 upgrade on November 27, which had 1 new migration. It went fine, which is the point of the routine.
Check that the backup restores. At-Bay, a cyber insurer, looked at 186 ransomware claims from small and mid-sized policyholders and found that 92% had backups but 31% failed to restore from them. That's insurer claims data from 2023 and specific to ransomware. A backup you've never restored is a hope with a file size.
Write down what a deploy actually does. One paragraph. What triggers it, what it pulls in, whether it changes the database, and who gets told. If your team can't write that paragraph, your next deploy is a surprise.
Upgrade on purpose, in small steps. Pick a day, read what changed, and move a few versions at a time. 12 versions in one jump is the expensive way to find out which one broke something.
Check every upgrade for the known traps before it ships. Since October, every upgrade on this site gets checked for duplicate copies of the build tool before deploying. Each outage leaves behind one cheap check. Keep them.
All of it is boring. Boring is the right temperature for production.
Your software will upgrade itself eventually. Make sure it happens on a day you picked, with a backup you've already restored.
