Files
websitedev/proto/src
Do SikiandClaude Opus 5.5 a6f7b07a69 fix(logger): stop graceful shutdown from writing after the logger ended
The SIGTERM/SIGINT handlers were re-registered on every module evaluation,
and a build worker receiving both signals logged again after logger.end(),
raising ERR_STREAM_WRITE_AFTER_END during `next build`. Guard with an own
flag (winston's readable-stream@3 Logger has no writableEnded) and register
the handlers once per process with process.once.

Closes MITHOME-126

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-29 12:12:55 +02:00
..