Lights Out, Part 2: Earning Confidence
Description and use
Structural validation, atomic pushes, and incident‑based tests increase confidence in unattended CI/CD pipelines.
Problem
Unattended CI/CD pipelines lack structural defenses, leading to silent failures such as malformed posts being merged and deployed.
Outcome
The pipeline now rejects malformed posts, prevents partial deployments, and logs each failure as a test, dramatically increasing confidence in unattended runs.
Workflow
- 1. Add a schema gate to validate frontmatter structure and content.
- 2. Enforce atomic pushes so a post is either fully committed or not at all.
- 3. Create pinned‑incident tests named after each failure mode to ensure repeatable failures are caught.
- 4. Replace approval queues with veto windows to eliminate human‑dependent gates.
- 5. Run all tests on every commit to maintain confidence.
Evidence
The pipeline now reads every blog post through a structural validator.
The publish step now writes the whole post commit or none of it.
Each name is a claim about a failure mode the pipeline can no longer produce silently.
- Record date: 2026-09-21T15:30:48.710Z