Pipeline Failure
Cheat sheet · https://pcornel.dk/topic.php?topic=6064
Answer
Pipeline Failure isolates CI/CD automation across trigger/ref, pipeline evaluation, variables/secrets, runner/toolchain, dependency/cache, stage/job, artifact, approval, deployment and environment acceptance boundaries.
Remember
- Pipeline red ≠ source code is necessarily defective.
- Pipeline green ≠ deployed service is healthy.
- Retry job ≠ same inputs, cache, runner or environment.
- Artifact built ≠ artifact deployed or trusted.
First checks
- Failed job log — error
- Re-run with debug logging — detail
- Diff from last green run (deps, runner image) — changes
Commands
git status --short --branch- Read-only/validation observation for current branch, working-tree changes and divergence indicators.
Verify in this order
trigger → runner → job → step → error
Where it usually breaks
Pipeline status is orchestration evidence; it cannot by itself prove artifact integrity, deployment completion or service health.
Commit/input → runner/job → build/test artifact → deployment request → target rollout/reconcile → effective version/config → health/readiness → workload.
Pipeline Failure troubleshooting proof-boundary map
| Boundary | Healthy evidence | Suspicious evidence |
|---|---|---|
| Symptom / scope | Time window, immutable source/run identity, effective inputs and exact targets are explicit | Floating source, changed inputs or ambiguous targets destroy reproducibility |
| First failed boundary | Transport/auth/dependency/render/operation evidence identifies the earliest divergence | Investigation starts at the final error and skips earlier unproven boundaries |
| Effective outcome | Controller result is paired with target read-back and workload/service acceptance | Green execution state or changed symptom substitutes for effective-state verification |
| Recovery / closure | Minimal change restores the original test and regression/partial-state checks are clean | Broad retry or unrelated edits make the incident non-reproducible and hide residual state |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=6064