feat(p7-05): fill signal & log stubs — SignalHandlerTests, ServerLoggerTests

- Add RemovePassFromTrace, RemoveAuthTokenFromTrace, RemoveSecretsFromTrace
  static methods to ServerLogging (mirrors removeSecretsFromTrace/redact in
  server/client.go); uses same regex patterns as Go source to redact only the
  first match's value with [REDACTED].
- Update ClientConnection.RemoveSecretsFromTrace stub to delegate to
  ServerLogging.RemoveSecretsFromTrace.
- Add 2 unit tests to SignalHandlerTests (T:2919 invalid command, T:2920 invalid
  PID); mark 14 process-injection/subprocess tests as deferred ([Fact(Skip=…)]).
- Create ServerLoggerTests with 3 test methods (T:2020, T:2021, T:2022) covering
  NoPasswordsFromConnectTrace, RemovePassFromTrace (8 theory cases),
  RemoveAuthTokenFromTrace (8 theory cases).
- DB: 3 log tests → complete, 2 signal tests → complete, 14 signal tests → deferred.
- All 663 unit tests pass (was 645), 14 deferred skipped.
This commit is contained in:
Joseph Doherty
2026-02-26 19:15:57 -05:00
parent 364329cc1e
commit 917cd33442
7 changed files with 327 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
# NATS .NET Porting Status Report
Generated: 2026-02-27 00:07:45 UTC
Generated: 2026-02-27 00:15:57 UTC
## Modules (12 total)
@@ -21,11 +21,10 @@ Generated: 2026-02-27 00:07:45 UTC
| Status | Count |
|--------|-------|
| complete | 209 |
| deferred | 201 |
| complete | 214 |
| deferred | 215 |
| n_a | 187 |
| not_started | 2527 |
| stub | 19 |
| verified | 114 |
## Library Mappings (36 total)
@@ -37,4 +36,4 @@ Generated: 2026-02-27 00:07:45 UTC
## Overall Progress
**4194/6942 items complete (60.4%)**
**4199/6942 items complete (60.5%)**