Lights Out, Part 2: Earning Confidence
Описание и применение
Постоянные проверки структуры контента, атомарные коммиты и тесты, основанные на реальных инцидентах, повышают надёжность CI/CD‑пайплайна без участия человека.
Задача
Unattended CI/CD pipelines lack structural defenses, leading to silent failures such as malformed posts being merged and deployed.
Результат
The pipeline now rejects malformed posts, prevents partial deployments, and logs each failure as a test, dramatically increasing confidence in unattended runs.
Рабочий процесс
- 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.
Доказательства
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.
- Дата записи: 2026-09-21T15:30:48.710Z