1. Replace SIGINT/SIGTERM handlers with a process `exit` handler to avoid conflicting with the shutdown handler that flushes lifecycle state and exits with the correct code (130 for SIGINT). 2. Expand dashboard process pattern to match dev mode (next dev, ao-web) in addition to production (next-server, start-all.js). 3. Only kill dashboard-matching PIDs from lsof output, leaving unrelated co-listeners (sidecars, SO_REUSEPORT) untouched. 4. Use killDashboardOnPort for the first port attempt too, preventing blind kills on the configured port when running.json is stale. 5. Add test for mixed-PID filtering on a single port. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| ao | ||
| cli | ||
| core | ||
| integration-tests | ||
| plugins | ||
| web | ||