fix(lab): guard statSync in lab-sse-live walk - run dir mid-creation no longer crashes attach

↗ view on GitHub · Eli Ziff · 2026-08-07 · 39b40f2d

A run-dir timestamp folder being created/deleted between readdir and stat
would throw an uncaught statSync and kill the auto-follow viewer; skip it
instead (the rescan loop picks it up next tick).

Co-Authored-By: Claude <noreply@anthropic.com>
Repository eliziff/Beaver
Author Eli Ziff <eliasziff@gmail.com>
Authored
Parents 6d432400
Stats 1 file changed , +6 , -1
Part of Evaluation harness: Beaver-CAN and LegalBench-RAG adapters

Capture this commit into my fork

Download a Markdown prompt that tells Claude how to port this exact commit into your working tree. Run it via claude -p < capture-commit-39b40f2d.md from inside the repo you want the change in.

⬇ Download capture-commit-39b40f2d.md