Joseph Doherty
e57605f090
feat: add PID file and ports file support
2026-02-22 23:50:22 -05:00
Joseph Doherty
34067f2b9b
feat: add lame duck mode with staggered client shutdown
2026-02-22 23:48:06 -05:00
Joseph Doherty
45de110a84
feat: add flush-before-close for graceful client shutdown
2026-02-22 23:45:26 -05:00
Joseph Doherty
b68f898fa0
feat: add graceful shutdown, accept loop backoff, and task tracking
2026-02-22 23:43:25 -05:00
Joseph Doherty
600c6f9e5a
feat: add system account ($SYS) and server NKey identity stubs
2026-02-22 23:39:22 -05:00
Joseph Doherty
38eaaa8b83
feat: add ephemeral port (port=0) support
2026-02-22 23:36:01 -05:00
Joseph Doherty
b744913296
feat: add server-side PING keepalive with stale connection detection
2026-02-22 21:53:42 -05:00
Joseph Doherty
d14d73a7d0
feat: add pedantic subject validation and max payload enforcement on PUB
...
Move max payload validation from the parser to ProcessPubAsync so the
server sends -ERR 'Maximum Payload Violation' and closes the connection
(matching Go reference client.go:2442). In pedantic mode, reject PUB
with wildcard subjects via -ERR 'Invalid Publish Subject' (client.go:2869).
Add disposed guard to SubList.Remove to prevent crash during shutdown.
2026-02-22 21:49:01 -05:00
Joseph Doherty
0c12b0f6e3
feat: enforce MaxConnections limit in accept loop
2026-02-22 21:44:18 -05:00
Joseph Doherty
2e1e1bb341
fix: resolve slopwatch issues — add logging to empty catches and eliminate test timing delays
...
Replace empty catch blocks with meaningful log statements in NatsServer,
NatsClient, and Program. Add WaitForReadyAsync() to NatsServer for
deterministic server startup. Replace Task.Delay/Thread.Sleep in tests
with PING/PONG protocol flush and SubscribeCoreAsync for reliable
subscription synchronization.
2026-02-22 21:14:16 -05:00
Joseph Doherty
539b2b7588
feat: add structured logging, Shouldly assertions, CPM, and project documentation
...
- Add Microsoft.Extensions.Logging + Serilog to NatsServer and NatsClient
- Convert all test assertions from xUnit Assert to Shouldly
- Add NSubstitute package for future mocking needs
- Introduce Central Package Management via Directory.Packages.props
- Add documentation_rules.md with style guide, generation/update rules, component map
- Generate 10 documentation files across 5 component folders (GettingStarted, Protocol, Subscriptions, Server, Configuration/Operations)
- Update CLAUDE.md with logging, testing, porting, agent model, CPM, and documentation guidance
2026-02-22 21:05:53 -05:00
Joseph Doherty
1bc6870238
feat: implement NatsServer orchestrator with accept loop and message routing
2026-02-22 20:27:31 -05:00