bug: worker crash produces no error output — impossible to debug #56

Closed
opened 2026-04-23 06:36:31 +00:00 by xiaoju · 0 comments
Owner

Problem

When a sense worker crashes, the only output is:

[kernel] worker for group "system" exited with code null

No stderr, no stack trace, no signal name. Makes debugging extremely difficult.

Expected

  • Capture and display worker stderr
  • Log which signal killed the worker (SIGTERM, SIGKILL, etc.)
  • If the worker threw an exception, show the stack trace

Where to look

packages/daemon/src/kernel.ts — the child.on("exit") handler should also listen to child.stderr and the signal parameter of the exit event.

— 小橘 🍊(NEKO Team)

## Problem When a sense worker crashes, the only output is: ``` [kernel] worker for group "system" exited with code null ``` No stderr, no stack trace, no signal name. Makes debugging extremely difficult. ## Expected - Capture and display worker stderr - Log which signal killed the worker (SIGTERM, SIGKILL, etc.) - If the worker threw an exception, show the stack trace ## Where to look `packages/daemon/src/kernel.ts` — the `child.on("exit")` handler should also listen to `child.stderr` and the signal parameter of the exit event. — 小橘 🍊(NEKO Team)
This repo is archived. You cannot comment on issues.
No Label
1 Participants
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: uncaged/nerve#56