Dashboardopencodenode-server.ts forced shutdown

node-server.ts forced shutdown

Category: gotcha
Confidence: 1.00
ID: 01a09f17-092c-7547-b03b-818430e8bc45
Project ID: c0425955-02bc-4c17-9af2-b114c00077e7
Cross-project: No
Recalled in other projects: 0
Source session: 0410hkwvS1ACdy6D6
Created: 2026-09-14 08:44:42
Updated: 2026-09-14 08:44:42

Content

Trap: SIGINT/SIGTERM calling server.stop(true) looks like a safe restart boundary, but node-server.ts force-exits after 5 seconds and legacy execution has no durable settled boundary. Fix: never infer replay safety from the signal path; wake only work proven not to have started or stopped safely, and classify work interrupted by forced exit as unknown.

Move to: