From 719e3c6244508f067480bd3897d0604bb23c6f7c Mon Sep 17 00:00:00 2001 From: Viktor Barzin Date: Sun, 15 Feb 2026 17:48:42 +0000 Subject: [PATCH] [ci skip] remember: spawn subagent to monitor pods instead of sleeping --- .claude/CLAUDE.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.claude/CLAUDE.md b/.claude/CLAUDE.md index debc1268..5d0a8fe1 100755 --- a/.claude/CLAUDE.md +++ b/.claude/CLAUDE.md @@ -429,6 +429,9 @@ jellyfin, jellyseerr, tdarr, affine, health, family ### Development - **Frontend framework**: Svelte (user is learning it, so use Svelte for all new web apps) +### Pod Monitoring After Updates +- **Never use `sleep` to wait for pods** — instead, spawn a background subagent (Task tool with `run_in_background: true`) that continuously checks pod state (e.g., `kubectl get pods -n -w`) and reports back when the pod is ready or if errors occur. This catches CrashLoopBackOff, ImagePullBackOff, and other failures much sooner than periodic sleep-based polling. + --- ## Skills & Workflows