Work Case study 20 Oct - 11 Nov 2026 (1.3.1 live 6 Nov 2026)
Five Rivers 1.3.1 to production, with upgrade engineering that failed safe.
I ran the Five Rivers 1.3.1 production upgrade myself from a run book on 6 Nov 2026, with two short planned outages of 39 s and 27 s and no rollback needed. Before go-live, the upgrade tool's first real runs found 14 tool faults that five rounds of stubbed tests had missed; every one failed closed, changed no data and was fixed before release.
01 At a glance
Key results
- When
- 20 Oct - 11 Nov 2026 (1.3.1 live 6 Nov 2026)
- Directions
- DevOps, platform and release · Software and web development
- 1.3.1 live on 6 Nov 2026 after backups, with two planned outages of 39 s and 27 s and no rollback
- 1097 tests run on PostgreSQL and on SQLite before release, 0 failed (73 PostgreSQL-only skips on SQLite)
- 14 upgrade-tool faults found; every one failed closed and changed no data
- Restore drill on synthetic data: all eight steps passed across 90 drill runs
02 Diagram
Five Rivers 1.3.1: an attended, phased production upgrade
Long description of the diagram
Heading shown in the diagram: "Five Rivers 1.3.1: an attended, phased production upgrade".
A top-to-bottom pipeline of seven numbered phases on the left, ending in the go-live result. The right column lists the rules that apply throughout and the testing done before go-live.
Elements
- Column heading (plain text): Phases, carried out by Gwyn from a run book
- 1. Readiness checks
- 2. Independent backup: with a protected second copy
- 3. Phase backup
- 4. Proof on a copy
- 5. Live migration
- 6. Service swap
- 7. Verification: Browser acceptance done by Gwyn
- 6 Nov 2026: 1.3.1 live [marked: passed or done]: Two planned outages, one per backup: 39 s and 27 s; No rollback needed; Gwyn's browser check satisfactory
- Column heading (plain text): Rules throughout
- Typed YES [marked: Gwyn's own decision or action]: Required from Gwyn before any outage
- Rollback kept apart [marked: Gwyn's own decision or action]: Service rollback is separate from data recovery, which needs an attended owner decision
- Section heading (plain text): Before go-live
- 14 tool faults found [marked: passed or done]: by the first real runs, after 5 stubbed rounds missed them; all failed closed, changed no data, fixed
- 1097 tests [marked: passed or done]: On PostgreSQL and SQLite: 0 failed (73 skipped on SQLite)
- Restore drill [marked: passed or done]: Synthetic data: all eight steps passed across 90 drill runs
- Note (plain text): The record says plainly: no machine receipt and no measured total outage for this upgrade; a full attended restore of the live service is not yet proven.
Connections
- 1. Readiness checks → 2. Independent backup
- 2. Independent backup → 3. Phase backup
- 3. Phase backup → 4. Proof on a copy
- 4. Proof on a copy → 5. Live migration
- 5. Live migration → 6. Service swap
- 6. Service swap → 7. Verification
- 7. Verification → 6 Nov 2026: 1.3.1 live
Key
Status is never shown by colour alone: each marked box also has a band pattern, a symbol and words that state the status.
- a solid left band and a tick (✓): passed or done.
- a thick edge, a tinted fill and Gwyn's name in the heading: Gwyn's own decision or action.
03 The problem
The problem
A maintenance release has to reach a live service without losing data. Five Rivers 1.3.1 carried fixes, including stronger checks on incorrect sign-in codes, that had to go onto a production database. I needed a process where nothing live changes until backups exist and the release has been proved on a copy, where an outage needs my explicit go-ahead, and where a fault stops the upgrade safely instead of half-applying it. The upgrade tool itself also had to be proved on real runs, not only on stubbed tests.
04 What I did
What I did
I designed an attended, phased upgrade: readiness checks, an independent backup with a protected second copy, a phase backup, proof on a copy, the live migration, the service swap and verification. A typed YES is required before any outage, and service rollback is kept separate from data recovery, which needs an attended owner decision. Before go-live, every fix was checked on throwaway containers and a throwaway VM, on PostgreSQL and SQLite and both Django versions (5.2.17 and 5.2.19). On 6 Nov I typed every production step from the run book and did the browser acceptance myself.
05 Results
Results
1.3.1 went live on 6 Nov 2026 with two short planned outages, 39 s and 27 s, one for each backup. Rollback was not needed, and my browser check was satisfactory. Before release, the whole hosted suite ran 1097 tests on each database with no failures (73 skipped on SQLite). The upgrade tool's first real runs found 14 tool faults that five rounds of stubbed tests had missed; every one failed closed and changed no data, and all were fixed before release. A restore-drill proof on synthetic data passed all eight steps across 90 drill runs after two small fixes. The record says plainly there is no machine receipt and no measured total outage for this upgrade.
06 How I used AI
How I used AI
AI agents built and tested the fixes and the upgrade tool, wrote the run books and ran the restore-drill proofs. Separate AI reviewers approved each round. I decided and operated: I typed every production step, accepted each check and did the browser acceptance. This release is why I insist on real runs. The agents' stubbed tests had passed five rounds, and only the first real runs exposed the 14 faults, and every one was fixed before release.
07 For an employer
For an employer
I have shipped production releases of a Django and PostgreSQL product as both engineer and operator: run books, two backups before any live change, proof on a copy, two short planned outages (39 s and 27 s) and a satisfactory acceptance check with no rollback. I test upgrade tooling against real runs, not just stubs, and I design failures to stop closed without touching data.
08 For a client
For a client
If you need a production upgrade done safely, this is how I work: backups first, proof on a copy, your explicit go-ahead before any outage, and a separate, attended decision before any data is restored. On my own product, 1.3.1 went live with planned outages of 39 and 27 seconds, and every upgrade-tool fault found in testing failed closed without changing data.
09 Skills