feat(grpc-data): X0 review - tolerate any unknown bit at the artifact/catalog seam; drop diagnostics for exports and mappings

- ValidateDeployed ignores every bit outside Understood (understood subset still validated); P02's two
  1<<30 rows become 'tolerated, grants nothing'.
- UnknownOperationDrops: Warning + counter tagged kind=connection|export|mapping, counted once per row per
  accepted artifact change; collected under each lock, logged after release. Mappings masked at Stage.
- Surfaced via DataConnectionDiagnosticsSnapshot (DroppedUnknownOperations, MappingsWithDroppedOperations)
  and NodeDiagnosticsSnapshot.DroppedExportOperations.
- End-to-end test: 1<<30 through parse -> catalog compile -> mapping stage -> runtime apply.
- DataConnectionProtoContract.Validate() now runs at AddOtOpcUaDataConnections.
This commit is contained in:
Joseph Doherty
2026-11-23 18:28:48 -05:00
parent 59a1654dfe
commit 4d29d539d8
15 changed files with 304 additions and 54 deletions
@@ -756,7 +756,10 @@
"GrpcDataUnknownOperationToleranceTests",
"GrpcDataFeatureHeaderClientTests"
],
"existing_classes": []
"existing_classes": [
"GrpcDataArtifactReadTests",
"GrpcDataCatalogStagingTests"
]
},
{
"project": "tests/Server/ZB.MOM.WW.OtOpcUa.Host.Tests/ZB.MOM.WW.OtOpcUa.Host.Tests.csproj",