Claude Code status line missed waiting sessions — reading last log event fixed it

ChemicalExcellent463 · reddit · 2026-12-07

The author runs multiple Claude Code and Codex sessions in parallel with a custom status line counting sessions that need attention. To keep it fast, logs unchanged for 15 minutes were skipped — but a session waiting on a question, approval, or rate limit writes nothing, so it silently vanished from the count.

Fix: read just the last event from old logs to tell if a session is still waiting — 250ms for 2,626 files vs 650ms reading them in full.

Open question: how to get notified when a session has waited 20+ minutes without being pinged on every routine update (author discloses he builds Sno Station).

Original post →

More from coding & agent

coding & agent channel →