feat: execute full-repo remaining parity closure plan

This commit is contained in:
Joseph Doherty
2026-02-23 13:08:52 -05:00
parent cbe1fa6121
commit 2b64d762f6
75 changed files with 2325 additions and 121 deletions

View File

@@ -48,3 +48,22 @@
| FileStore block + expiry parity | ported | `JetStreamFileStoreBlockParityTests.*`, `JetStreamStoreExpiryParityTests.*` |
| RAFT advanced consensus/snapshot/membership hooks | ported | `RaftConsensusAdvancedParityTests.*`, `RaftSnapshotTransferParityTests.*`, `RaftMembershipParityTests.*` |
| JetStream cluster governance + cross-cluster gateway path hooks | ported | `JetStreamClusterGovernanceParityTests.*`, `JetStreamCrossClusterGatewayParityTests.*` |
## Full-Repo Remaining Parity Closure (2026-02-23)
| Scope | Status | Test Evidence |
|---|---|---|
| Row-level parity guard from `differences.md` table | ported | `DifferencesParityClosureTests.Differences_md_has_no_remaining_baseline_n_or_stub_rows_in_tracked_scope` |
| Profiling endpoint (`/debug/pprof`) | ported | `PprofEndpointTests.Debug_pprof_endpoint_returns_profile_index_when_profport_enabled` |
| Accept-loop reload lock and callback hook | ported | `AcceptLoopReloadLockTests.*`, `AcceptLoopErrorCallbackTests.*` |
| Adaptive read buffer and outbound pooling | ported | `AdaptiveReadBufferTests.*`, `OutboundBufferPoolTests.*` |
| Inter-server opcode routing + trace initialization | ported | `InterServerOpcodeRoutingTests.*`, `MessageTraceInitializationTests.*` |
| SubList missing APIs and optimization/sweeper behavior | ported | `SubListNotificationTests.*`, `SubListRemoteFilterTests.*`, `SubListQueueWeightTests.*`, `SubListMatchBytesTests.*`, `SubListHighFanoutOptimizationTests.*`, `SubListAsyncCacheSweepTests.*` |
| Route account scope/topology/compression parity hooks | ported | `RouteAccountScopedTests.*`, `RouteTopologyGossipTests.*`, `RouteCompressionTests.*` |
| Gateway interest-only and leaf hub/spoke mapping helpers | ported | `GatewayInterestOnlyParityTests.*`, `LeafHubSpokeMappingParityTests.*` |
| Auth extension callout/proxy hooks | ported | `AuthExtensionParityTests.*`, `ExternalAuthCalloutTests.*`, `ProxyAuthTests.*` |
| Monitoring connz filter/field parity and varz slow-consumer breakdown | ported | `ConnzParityFilterTests.*`, `ConnzParityFieldTests.*`, `VarzSlowConsumerBreakdownTests.*` |
| JetStream runtime/consumer/storage/mirror-source closure tasks | ported | `JetStreamStreamRuntimeParityTests.*`, `JetStreamStreamFeatureToggleParityTests.*`, `JetStreamConsumerRuntimeParityTests.*`, `JetStreamConsumerFlowReplayParityTests.*`, `JetStreamFileStoreLayoutParityTests.*`, `JetStreamFileStoreCryptoCompressionTests.*`, `JetStreamMirrorSourceRuntimeParityTests.*` |
| RAFT runtime parity closure | ported | `RaftConsensusRuntimeParityTests.*`, `RaftSnapshotTransferRuntimeParityTests.*`, `RaftMembershipRuntimeParityTests.*` |
| JetStream cluster governance + cross-cluster runtime closure | ported | `JetStreamClusterGovernanceRuntimeParityTests.*`, `JetStreamCrossClusterRuntimeParityTests.*` |
| MQTT listener/connection/parser baseline parity | ported | `MqttListenerParityTests.*`, `MqttPublishSubscribeParityTests.*` |

View File

@@ -105,3 +105,31 @@ Focused post-baseline evidence:
- `JetStreamClusterGovernanceParityTests.Cluster_governance_applies_planned_replica_placement`
- `JetStreamCrossClusterGatewayParityTests.Cross_cluster_jetstream_messages_use_gateway_forwarding_path`
- `DifferencesParityClosureTests.Differences_md_has_no_remaining_jetstream_baseline_or_n_rows`
## Full-Repo Remaining Parity Gate (2026-02-23)
Command:
```bash
dotnet test tests/NATS.Server.Tests --filter "FullyQualifiedName~DifferencesParityClosureTests|FullyQualifiedName~PprofEndpointTests|FullyQualifiedName~AcceptLoopReloadLockTests|FullyQualifiedName~AcceptLoopErrorCallbackTests|FullyQualifiedName~AdaptiveReadBufferTests|FullyQualifiedName~OutboundBufferPoolTests|FullyQualifiedName~InterServerOpcodeRoutingTests|FullyQualifiedName~MessageTraceInitializationTests|FullyQualifiedName~SubListNotificationTests|FullyQualifiedName~SubListRemoteFilterTests|FullyQualifiedName~SubListQueueWeightTests|FullyQualifiedName~SubListMatchBytesTests|FullyQualifiedName~SubListHighFanoutOptimizationTests|FullyQualifiedName~SubListAsyncCacheSweepTests|FullyQualifiedName~RouteAccountScopedTests|FullyQualifiedName~RouteTopologyGossipTests|FullyQualifiedName~RouteCompressionTests|FullyQualifiedName~GatewayInterestOnlyParityTests|FullyQualifiedName~LeafHubSpokeMappingParityTests|FullyQualifiedName~AuthExtensionParityTests|FullyQualifiedName~ExternalAuthCalloutTests|FullyQualifiedName~ProxyAuthTests|FullyQualifiedName~ConnzParityFilterTests|FullyQualifiedName~ConnzParityFieldTests|FullyQualifiedName~VarzSlowConsumerBreakdownTests|FullyQualifiedName~JetStreamStreamRuntimeParityTests|FullyQualifiedName~JetStreamStreamFeatureToggleParityTests|FullyQualifiedName~JetStreamConsumerRuntimeParityTests|FullyQualifiedName~JetStreamConsumerFlowReplayParityTests|FullyQualifiedName~JetStreamFileStoreLayoutParityTests|FullyQualifiedName~JetStreamFileStoreCryptoCompressionTests|FullyQualifiedName~JetStreamMirrorSourceRuntimeParityTests|FullyQualifiedName~RaftConsensusRuntimeParityTests|FullyQualifiedName~RaftSnapshotTransferRuntimeParityTests|FullyQualifiedName~RaftMembershipRuntimeParityTests|FullyQualifiedName~JetStreamClusterGovernanceRuntimeParityTests|FullyQualifiedName~JetStreamCrossClusterRuntimeParityTests|FullyQualifiedName~MqttListenerParityTests|FullyQualifiedName~MqttPublishSubscribeParityTests" -v minimal
```
Result:
- Passed: `41`
- Failed: `0`
- Skipped: `0`
- Duration: `~7s`
Command:
```bash
dotnet test -v minimal
```
Result:
- Passed: `826`
- Failed: `0`
- Skipped: `0`
- Duration: `~1m 15s`