Three Failures to Stage on Purpose in a Deployment Automation PoC

A happy-path demo is not enough to sign a contract. Stage three failures on purpose: the file changes after approval, the result never comes back, and the new service will not start. Then judge on zero runs of unapproved files, actual apply count per server, and recovery time measured by a working business response.

John Baek
John Baek
Founder, CollabOps
2 min read

Press approve, and the new version lands on both test servers. That tells you what a good release day looks like. What a buyer should see once more before signing is the moment the approved target changes, the outcome is unknown, or the new service fails to start. In each case, the operator's next button is different.

The pass criteria for a deployment automation PoC are not the happy path. They are where the automation stops in a deliberately staged failure, and what the operator picks up from there.

If the file changes after approval, what has to stop?

Any file whose content differs from the approved one must not run. Here is how to stage it. Approve harmless test file A, then select test file B, same name, different content, as the deployment target. The bar is simple: B runs zero times, and the operator can see how the approved and selected files differ by identifier. If B really is the next legitimate fix, attach B's verification results and approve it again. Matching file identifiers against build provenance is also how SLSA's artifact verification works.

What if the connection drops before a server replies?

A server whose result is unknown should be marked as such and retried only after its actual version has been checked. Stage it so the first server responds normally and only the second server's result never arrives. Check that the screen shows 1 succeeded · 1 unknown. When the connection is back, use the same request ID to look up the second server's execution record and its actual version. If it already applied, collect the existing result. If it is confirmed not to have run, retry that server alone. The number a buyer should check is not how many times someone hit retry but how many times each server actually applied the change. Designing so the same job never runs twice is covered in the deploy finished but the response was lost.

What if the copy finished but the service won't start?

The rollout should stop, and recovery counts only once business responses come back healthy. Build a test version that fails its readiness check. First see whether the rollout spreads to the next server and whether user traffic reaches the failed one. Then bring back the last verified version using the recovery procedure agreed for this test. Record recovery as the moment a test request to the service returned a correct result, not the moment the old file was copied. If the release also changes the database schema, compatibility between that schema and the previous version is a separate test.

Staged failureWhat the automation must doVerdict
File changed after approvalRefuse to run; show the approved vs. selected identifiersZero runs of unapproved files
Lost responseShow unknown; query the target by the same request IDActual apply count per server
Startup failureHalt the rollout; keep traffic off the failed serverTime the previous version answered correctly

After staging these three failures, the buyer can rule on zero unapproved runs, per-target results confirmed after reconnect, and previous version answering correctly. In the same test, the operator inherits why it stopped, what to retry, and which request to check after recovery. Both people get grounds to sign off on the same PoC.

  • #deployment
  • #adoption
  • #rollback
  • #cicd
  • #public-sector