Commit 7ad904e
P0-7: instant-api terminationGracePeriodSeconds=35 + preStop (MR-P0-7) (#15)
* feat(k8s/app.yaml): terminationGracePeriodSeconds=35 + preStop hook (MR-P0-7)
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* alerts(prom): orphan_sweep reaped/failed alerts (PASS 3/6, 2026-05-20)
Three new Prometheus alerts tied to the worker repo's PASS 3 enhanced
reasons + PASS 6 stuck-build counters:
- OrphanSweepNoDBRowReap (CRITICAL, 1h): a k8s namespace had no backing
deployments row — the P0-3 atomic-provision symptom. Pages on first
occurrence over 1h.
- OrphanSweepStuckBuildSpike (WARNING, 15m): >5 stuck-build flips in 15m
means the kaniko/GHCR build pipeline is degraded for many customers
at once.
- OrphanSweepReapFailureRate (WARNING, 30m): the reconciler detected
orphans it cannot reap (k8s/DB write failure sustained).
The counters land in worker master commit 7d2ff0d; the alerts go live
once the deploy lands + scrape picks them up.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent dffab5c commit 7ad904e
1 file changed
Lines changed: 22 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
32 | 44 | | |
33 | 45 | | |
34 | 46 | | |
| |||
54 | 66 | | |
55 | 67 | | |
56 | 68 | | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
57 | 79 | | |
58 | 80 | | |
59 | 81 | | |
| |||
0 commit comments