hermes
bb01a77ae7
DC-067: fix shutdown sequencing — stop managers AFTER server.close drains
...
Codex grade D flagged two real defects:
1. Managers were stopped before HTTP server finished draining, so in-flight
requests could fail when their backing services were already down.
2. _stopManager() promises weren't awaited, contradicting the documented
'declaration order' claim for async stop methods.
Fix: server.close callback now awaits _stopManagersInOrder() before
exiting. The 'shutdown' event fires first (so listeners can observe the
signal); the 'closed' event fires after all managers are stopped.
2026-08-12 03:46:42 -07:00
..
2026-08-04 14:18:49 -07:00
2026-06-13 12:16:56 -07:00
2026-07-24 22:39:29 -07:00
2026-06-26 12:16:38 -07:00
2026-08-08 15:39:48 -07:00
2026-07-01 07:37:45 -07:00
2026-06-13 12:16:56 -07:00
2026-07-01 04:20:57 -07:00
2026-06-13 12:16:56 -07:00
2026-07-20 17:44:11 -07:00
2026-07-20 01:40:33 -07:00
2026-07-02 18:27:03 -07:00
2026-06-13 12:16:56 -07:00
2026-06-27 07:02:47 -07:00
2026-07-31 00:43:29 -07:00
2026-06-13 12:16:56 -07:00
2026-06-10 20:06:09 -07:00
2026-06-13 12:16:56 -07:00
2026-06-13 12:16:56 -07:00
2026-06-25 17:16:16 -07:00
2026-06-26 12:16:38 -07:00
2026-06-13 12:16:56 -07:00
2026-06-13 12:16:56 -07:00
2026-06-13 12:16:56 -07:00
2026-06-13 12:16:56 -07:00
2026-07-05 12:58:13 -07:00
2026-07-08 21:33:06 -07:00
2026-07-08 21:33:06 -07:00
2026-06-13 12:16:56 -07:00
2026-07-20 17:44:11 -07:00
2026-04-06 21:36:46 -07:00
2026-08-04 14:18:49 -07:00
2026-07-20 21:40:26 -07:00
2026-06-13 12:16:56 -07:00
2026-06-25 17:16:16 -07:00
2026-06-13 12:16:56 -07:00
2026-07-06 15:06:28 -07:00
2026-06-13 12:16:56 -07:00
2026-06-13 12:16:56 -07:00
2026-07-20 00:53:05 -07:00
2026-06-13 12:16:56 -07:00
2026-07-21 21:59:03 -07:00
2026-08-02 03:38:23 -07:00
2026-06-13 12:16:56 -07:00
2026-07-24 22:39:29 -07:00
2026-07-24 05:15:08 -07:00
2026-07-21 00:45:46 -07:00
2026-07-21 00:45:46 -07:00
2026-08-12 03:46:42 -07:00
2026-06-13 12:16:56 -07:00
2026-07-24 16:03:34 -07:00
2026-06-13 12:16:56 -07:00
2026-07-06 21:28:03 -07:00
2026-07-06 18:55:16 -07:00
2026-06-13 12:16:56 -07:00
2026-06-13 12:16:56 -07:00
2026-07-20 17:44:11 -07:00