test(grpc-data): H4 review 7 — diagnostics snapshot round-trips on the cluster serializer; old-shape payloads decode

Round-trips NodeDiagnosticsSnapshot (OriginHistory, HistoryVariants and the other H4 members) through
the serializer Akka picks for the fleet-diagnostics reply, and decodes payloads stripped of the H4
members. The origin flag is renamed NoPeerTrafficYet (default false): Akka's JSON serializer fills a
missing constructor argument with the CLR default, so a payload without it must never claim it.
This commit is contained in:
Joseph Doherty
2026-11-24 08:41:52 -05:00
parent 2fba036176
commit 7498f1ce82
6 changed files with 102 additions and 9 deletions
@@ -925,7 +925,7 @@
"project": "tests/Server/ZB.MOM.WW.OtOpcUa.Runtime.Tests/ZB.MOM.WW.OtOpcUa.Runtime.Tests.csproj",
"filter": "(Feature=GrpcData&Phase=H4)|FullyQualifiedName~.GrpcDataProjectedHistoryCursorTests.|FullyQualifiedName~.GrpcDataOriginHistorySessionTests.",
"new_classes": [
"GrpcDataHistoryMetricsTests"
"GrpcDataHistoryMetricsTests", "GrpcDataDiagnosticsSerializationTests"
],
"existing_classes": [
"GrpcDataConfiguredDiscoveryWireTests",