Commit Graph

83 Commits

Author SHA1 Message Date
Joseph Doherty
a587e8e347 feat(batch5): implement jetstream error constructors group07 2026-02-28 08:47:21 -05:00
Joseph Doherty
aab2814201 feat(batch5): implement jetstream error constructors group06 2026-02-28 08:43:42 -05:00
Joseph Doherty
bc085a7da1 feat(batch5): implement jetstream error constructors group05 2026-02-28 08:40:12 -05:00
Joseph Doherty
e914b468b6 feat(batch5): implement jetstream error constructors group04 2026-02-28 08:36:38 -05:00
Joseph Doherty
802e3d6576 feat(batch5): implement jetstream error constructors group03 2026-02-28 08:32:48 -05:00
Joseph Doherty
35488a2b68 feat(batch5): implement jetstream error constructors group02 2026-02-28 08:29:20 -05:00
Joseph Doherty
9f30fe6033 feat(batch5): implement jetstream error helpers and group01 constructors 2026-02-28 08:25:56 -05:00
Joseph Doherty
20227cee54 feat(batch4): implement logging features and mapped tests with verification evidence 2026-02-28 08:15:45 -05:00
Joseph Doherty
5e093bea32 test(batch4-task6): port concurrency and websocket logging-mapped tests 2026-02-28 08:13:45 -05:00
Joseph Doherty
8bd65ef97f test(batch4-task5): port leaf and mqtt logging-mapped tests 2026-02-28 08:10:20 -05:00
Joseph Doherty
455e0e9572 test(batch4-task4): port gateway and route logging-mapped tests 2026-02-28 08:06:11 -05:00
Joseph Doherty
b79b5f6222 feat(batch4-task3): implement error and rate-limit logging helpers 2026-02-28 08:01:04 -05:00
Joseph Doherty
b79e7aafe9 feat(batch4-task2): implement core logger wiring features 2026-02-28 07:56:32 -05:00
Joseph Doherty
52cdc4c08a chore(batch4-task1): start batch 4 and mark F1 stub 2026-02-28 07:47:07 -05:00
Joseph Doherty
47fdd6b910 chore(batch3): mark batch 3 complete 2026-02-28 07:44:36 -05:00
Joseph Doherty
f3b2f0535a test(batch3): handle route pool same-index test 2026-02-28 07:39:47 -05:00
Joseph Doherty
7ebbaeb6b3 feat(batch3): implement service feature group 2026-02-28 07:37:17 -05:00
Joseph Doherty
beab0e60da feat(batch3): implement send queue feature group 2026-02-28 07:31:12 -05:00
Joseph Doherty
6b67c83c0e feat(batch3): verify client proxy protocol feature group 2026-02-28 07:24:45 -05:00
Joseph Doherty
6bf0f86f2f chore(batch2): complete parser-sublist-memstore remainder batch 2026-02-28 07:17:22 -05:00
Joseph Doherty
c2a73b49f7 feat(batch2): verify memstore remainder features 2026-02-28 07:17:01 -05:00
Joseph Doherty
1a0ac59df8 feat(batch2): verify sublist helper remainder features 2026-02-28 07:11:42 -05:00
Joseph Doherty
3ace39d606 feat(batch2): verify parser remainder features 2026-02-28 07:06:09 -05:00
Joseph Doherty
25d78b77f3 feat(batch1): complete proto/const/ciphers/nkey/jwt feature set 2026-02-28 06:37:02 -05:00
Joseph Doherty
3c98c4c4fd feat(batch1): implement proto varint encoder parity 2026-02-28 06:35:12 -05:00
Joseph Doherty
c1ae46fc66 feat(batch1): add mapped proto scan helpers with boundary tests 2026-02-28 06:33:09 -05:00
Joseph Doherty
d8d71eab95 feat(batch1): implement jwt wipe and nonce-required internal logic 2026-02-28 06:30:23 -05:00
Joseph Doherty
f9b582dcca feat(batch1): add init parity hooks for ciphers and constants 2026-02-28 06:05:06 -05:00
Joseph Doherty
44d1f4c515 test(batch0): port mqtt implementable tests 2026-02-28 05:19:51 -05:00
Joseph Doherty
a7819ea14c test(batch0): port jetstream consumer/engine implementable tests 2026-02-28 05:14:59 -05:00
Joseph Doherty
e279b832bb test(batch0): port jetstream small/deterministic implementable tests 2026-02-28 05:07:05 -05:00
Joseph Doherty
9bf1d99068 test(batch0): port concurrency implementable tests 2026-02-28 05:02:39 -05:00
Joseph Doherty
7712b6b7bd test(batch0): port monitoring/events/server implementable tests 2026-02-28 04:59:21 -05:00
Joseph Doherty
a7cfcc24e8 test(batch0): port routing/gateway/leaf/websocket implementable tests 2026-02-28 04:49:28 -05:00
Joseph Doherty
27bbd63ce2 test(batch0): port account/auth/options implementable tests 2026-02-28 04:39:13 -05:00
Joseph Doherty
ee0827d7d4 Reconcile batch 0 with 553 implementable tests and add design/plan docs
Map 553 deferred tests whose feature dependencies are all verified into
batch 0 (batch_tests table). Add Codex-generated design and implementation
plan for batch 0 execution.
2026-02-27 13:20:29 -05:00
Joseph Doherty
c5e0416793 Add batch commands to PortTracker CLI and migrate batch tables into porting.db
Implements batch list/show/ready/next/start/complete commands with dependency
validation, migrates 42 implementation batches (2377 features, 2087 tests) from
porting_batches.db into the live tracking database, and documents the batch
workflow in AGENTS.md.
2026-02-27 13:02:43 -05:00
Joseph Doherty
fe3fd7c74d Port impltests backlog batch files and complete the latest parity test slice. Update tracker/report databases so verified status matches the passing batch evidence. 2026-02-27 12:42:31 -05:00
Joseph Doherty
b94a67be6e Implement deferred core utility parity APIs/tests and refresh tracking artifacts 2026-02-27 10:27:05 -05:00
Joseph Doherty
c0aaae9236 chore: verify 43 already-implemented features across scheduler, monitor sort, errors, sdm, ring modules 2026-02-27 10:04:33 -05:00
Joseph Doherty
a660e38575 Implement deferred WaitQueue, DiskAvailability, and NoOpCache behavior with tests 2026-02-27 09:58:37 -05:00
Joseph Doherty
8849265780 Eliminate PortTracker stub backlog by implementing Raft/file-store/stream/server/client/OCSP stubs and adding coverage. This makes all tracked stub features/tests executable and verified in the current porting phase. 2026-02-27 08:56:26 -05:00
Joseph Doherty
ba4f41cf71 feat: implement SubscriptionIndex + JetStreamMemStore cluster — 39 features verified
Add SubscriptionIndex factory methods, notification wrappers, and
ValidateMapping. Implement 24 MemStore methods (TTL, scheduling, SDM,
age-check, purge/compact/reset) with JetStream header helpers and
constants. Verified features: 987 → 1026.
2026-02-27 06:19:47 -05:00
Joseph Doherty
7a338dd510 feat: add audit-verified status updates with override tracking
Status updates (feature/test update and batch-update) now verify the
requested status against Roslyn audit classification. Mismatches
require --override "reason" to force. Overrides are logged to a new
status_overrides table and reviewable via 'override list' command.
2026-02-27 05:50:15 -05:00
Joseph Doherty
4972f998b7 feat: run unit test audit — classify 2680 deferred tests
Reset 2680 deferred unit tests to unknown and ran audit against
dotnet/tests/. Results: 18 reclassified as stub (JetStreamErrors
and SignalHandler test stubs), 2662 remain deferred.
2026-02-27 05:36:34 -05:00
Joseph Doherty
0c9eb2a06c fix: correct 87 dotnet_class name mismatches and re-audit
Fixed 630 features with wrong class names in the DB:
- JetStreamErrors -> JsApiErrors (208)
- RaftNode -> IRaftNode (169)
- JetStreamMemoryStore -> JetStreamMemStore (80)
- 42 *Option -> *ReloadOption mappings
- 13 Sort* -> SortBy* mappings
- 21 other class name corrections

Re-audit reclassified 192 features from deferred:
  verified: 987 (+412 from initial 575)
  stub:     168 (+59 from initial 109)
  deferred: 2500 (-192 from initial 2692)
  n_a:      18 (unchanged)
2026-02-27 05:26:55 -05:00
Joseph Doherty
a91cfbc7bd feat: run feature status audit — classify 3394 unknown features
Automated classification using Roslyn syntax tree analysis:
  verified:  575
  stub:      109
  n_a:       18
  deferred:  2692
2026-02-27 05:21:45 -05:00
Joseph Doherty
11ec33da53 fix: mark server module features as deferred, not verified
Add 'deferred' to features.status CHECK constraint (table migration).
Server module (module_id=8) 3394 features: verified → deferred.
These features have ported implementations but their unit tests are
deferred pending a runnable .NET server end-to-end.
Small module features (modules 1-7, 9-12) remain verified.
2026-02-26 21:53:53 -05:00
Joseph Doherty
6a1df6b6f8 feat(p7-10): mark deferred tests, add integration tests, close Phase 7
- 2126 server-integration tests marked deferred
- NatsServerBehaviorTests.cs replaces UnitTest1.cs placeholder
- Server module and all features marked verified
- stub tests cleared to deferred
2026-02-26 20:14:38 -05:00
Joseph Doherty
f0faaffe69 feat(p7-09): JetStream unit tests — versioning (12), dirstore (12), batching/errors deferred (66)
Port session P7-09: add tests from jetstream_versioning_test.go (T:1791–1808),
dirstore_test.go (T:285–296), jetstream_batching_test.go (T:716–744),
jetstream_errors_test.go (T:1381–1384), and accounts_test.go (T:80–110).

- JetStreamVersioningTests: 12 active unit tests + 6 deferred (server-required)
- DirectoryStoreTests: 12 filesystem tests using fake JWTs (no NKeys dependency)
- JetStreamBatchingTests: 29 deferred stubs (all require running JetStream cluster)
- JetStreamErrorsTests: 4 deferred stubs (NewJS* factories not yet ported)
- accounts_test.go T:80–110: 31 deferred (all use RunServerWithConfig)

Fix DirJwtStore.cs expiration bugs:
  - Use DateTimeOffset.UtcNow.UtcTicks (not Unix-relative ticks) for expiry comparison
  - Replace in-place JwtItem mutation with new-object replacement so DrainStale
    can detect stale heap entries via ReferenceEquals check

Add JetStreamVersioning.cs methods: SetStaticStreamMetadata,
SetDynamicStreamMetadata, CopyStreamMetadata, SetStaticConsumerMetadata,
SetDynamicConsumerMetadata, SetDynamicConsumerInfoMetadata, CopyConsumerMetadata.

Tests: 725 pass, 53 skipped/deferred, 0 failures.
DB: +24 complete, +66 deferred.
2026-02-26 20:02:00 -05:00