Work Case study 11-12 Nov 2026

One-commit release pipeline that stopped a planted fault and delivered the fix.

I commissioned and scoped a one-commit pipeline for my Five Rivers product, run on a throwaway copy: intake, quick checks, an offline image build, 1097 tests on PostgreSQL and SQLite, deploy, post-deploy checks and a hashed receipt. In two recorded runs it stopped a planted fault before deployment, then delivered the fix with 0 failed tests on either database (73 PostgreSQL-only tests skipped on SQLite) and all 8 post-deploy checks passing.

01 At a glance

Key results

When
11-12 Nov 2026
Directions
DevOps, platform and release · Software and web development · AI and automation
  • Stopped a planted fault before deployment, then delivered the fix on the next run
  • Planted fault: 3 tests failed on each database; the new image was never deployed
  • Fix run: 0 failed on PostgreSQL and on SQLite (73 PostgreSQL-only tests skipped on SQLite)
  • 1097 tests per database in each recorded run
  • All 8 post-deploy checks passed; record counts on the copy unchanged
  • Tests took about 23 minutes; build 4 s (cached) and deploy 8 s

02 Diagram

One-commit release pipeline: two recorded runs

Release pipeline, two runs: run 1's planted fault failed tests and was never deployed; run 2's fix passed all tests and 8 of 8 checks. Release pipeline, two runs: run 1's planted fault failed tests and was never deployed; run 2's fix passed all tests and 8 of 8 checks.
The diagram follows the light or dark theme, and its full content is in the long description below. To zoom in, open it at full size: light version · dark version.
Long description of the diagram

Heading shown in the diagram: "One-commit release pipeline: two recorded runs".

A grid. The left column lists the pipeline stages from top to bottom, joined by arrows. The two right columns show what happened at each stage in the two recorded runs.

Elements

  • Column heading (plain text): Stage (one commit starts it)
  • Column heading (plain text): Run 1, 12 Nov: planted fault
  • Column heading (plain text): Run 2: the fix
  • Stage: Intake
  • Run 1 at Intake [marked: passed or done]: Passed
  • Run 2 at Intake [marked: passed or done]: Passed
  • Stage: Quick checks
  • Run 1 at Quick checks [marked: passed or done]: Passed
  • Run 2 at Quick checks [marked: passed or done]: Passed
  • Stage: Offline image build
  • Run 1 at Offline image build [marked: passed or done]: Passed
  • Run 2 at Offline image build [marked: passed or done]: Passed
  • Stage: Tests: 1097 per database, PostgreSQL and SQLite
  • Run 1 at Tests [marked: stopped the run]: Stopped. 3 tests failed on each database
  • Run 2 at Tests [marked: passed or done]: Passed. 0 failed on either database; 73 tests skipped on SQLite (PostgreSQL-only)
  • Stage: Deploy
  • Run 2 at Deploy [marked: passed or done]: Deployed
  • Stage: Post-deploy checks
  • Run 2 at Post-deploy checks [marked: passed or done]: Passed. 8 of 8 checks; record counts unchanged
  • Stage: Hashed receipt
  • Run 2 at Hashed receipt [marked: passed or done]: Written
  • Run 1 at Deploy, Post-deploy checks and Hashed receipt [marked: not reached]: Not reached. The new image was never deployed; the copy kept serving the previous version
  • Note (plain text): Runs on a throwaway copy of 1.3.1 with fictional records; nobody types between stages. Run 1 loosened one line of the site's robots file. Timings: tests about 23 min, cached build 4 s, deploy 8 s. Recorded limits: rollback is built in but was never triggered; no browser tests; the receipt is not signed; one log-reading fault can turn a passing run red, never a failing run green.

Connections

  • Stage: Intake → Stage: Quick checks
  • Stage: Quick checks → Stage: Offline image build
  • Stage: Offline image build → Stage: Tests
  • Stage: Tests → Stage: Deploy
  • Stage: Deploy → Stage: Post-deploy checks
  • Stage: Post-deploy checks → Stage: Hashed receipt

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 hatched left band, a thick edge and a cross (✗): stopped the run.
  • a dotted left band, a dashed edge and an ellipsis (…): not reached.

03 The problem

The problem

I type production changes to Five Rivers, my own web product, from a run book. I wanted a second path for testing changes: one commit that carries a change through every check to a running copy, stops a bad change automatically before it is deployed, and leaves a machine record of what happened. I also had to be able to show it working to people who would fairly ask whether the results were real or just an AI's claim.

04 What I did

What I did

I asked for the pipeline and decided its scope. It runs on a throwaway copy of Five Rivers 1.3.1 with fictional records. One commit starts intake, quick checks, an offline image build, the full test suite on PostgreSQL and on SQLite, deploy, post-deploy checks and a hashed receipt; nobody types between stages. A failure turns the run red and leaves the copy on the last good image. For the 13 Nov demonstration I had two runs screen-recorded: the first planted a fault by loosening one line of the site's robots file, and the second delivered the fix. In the recordings, only the test stage is sped up, and nothing is cut.

05 Results

Results

The first of my recorded runs (12 Nov) ran 1097 tests per database, and 3 failed on each. It stopped at the test stage, the new image was never deployed, and the copy kept serving the previous version. The second had 0 failures on either database (73 PostgreSQL-only tests skipped on SQLite). Tests took about 23 minutes, the cached build 4 s, the deploy 8 s. All 8 post-deploy checks passed, and record counts were unchanged. The limits are recorded too: rollback is built in but was never triggered, there are no browser tests, the receipt is not signed, and one unfixed log-reading fault can turn a passing run red but never a failing run green.

06 How I used AI

How I used AI

An AI coding agent wrote and ran the pipeline within the scope I set. A separate, read-only AI review panel reviewed it twice: the first review sent it back for fixes, and after a fix round the second approved it with no High or Medium findings. The coordinating agent recomputed the receipt hashes. I own the result and presented it. My rule held throughout: nothing counts because an AI said it; it counts when a test run, a hash-matched receipt or my own check shows it.

07 For an employer

For an employer

I can set up a one-commit pipeline with real gates: the full suite on two databases, deployment only on green, post-deploy verification, and a receipt that binds image, commit and test results by hash. The recorded runs, on a throwaway copy, prove the gate works in both directions, a planted fault stopped and a fix delivered. Production releases still go by run book, and I document what is built in but not yet shown.

08 For a client

For a client

If you want CI/CD without guesswork, this is the pattern I set up: one commit in, every check run, deployment only when the tests pass, and a receipt you can check afterwards. I showed it on recorded runs: a planted fault was stopped before it reached the copy, and the fix reached the copy on the next run. I tell you plainly what is proven and what is only built in.

09 Skills

Skills used

  • CI/CD design
  • Docker image builds
  • automated testing on PostgreSQL and SQLite
  • release evidence and receipts
  • deployment verification
  • honest limits reporting
  • directing AI coding agents

All case studies Services Send a message