[Review 2026-12-02 follow-up] WRK-002: report worker stderr tail on early exit #259
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Split out of #253 (D10).
68043411fails an open withStartupFailed+ the exit code when the worker exits before connecting. The stderr tail was deferred: worker stderr isn't redirected today, and capturing it changes where worker logs go. Decide the log destination, then attach the tail to the error.Merged to
mainatf6b80d02(pushed 2026-12-03). Gateway suite 1637 passed / 0 failed (macOS); windev worker CI 847 passed / 0 failed on that SHA.WorkerOutputCaptureredirects worker stderr+stdout (both previously went nowhere — verified on windev for console and NSSM runs), forwards lines to the gateway log underZB.MOM.WW.MxGateway.Worker(level from the worker'slevel=prefix; bounded drop-oldest queue, never blocks the worker), redacts the session nonce, and keeps a 50-line / 4 KB stderr tail appended toStartupFailedon early exit. Docs:docs/WorkerProcessLauncher.md"Worker Output Capture". Worker log lines now appear in the gateway log once deployed.