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:
@@ -34,4 +34,8 @@ public sealed record DataConnectionDiagnosticsSnapshot(
|
||||
long? CompactFrameCount = null,
|
||||
long? FallbackFrameCount = null,
|
||||
long? SerializedValueFrameBytes = null,
|
||||
string? AccountingInstanceId = null);
|
||||
string? AccountingInstanceId = null,
|
||||
// X0 tolerant reader: operation bits this connection row was authored with that this node does not implement and
|
||||
// dropped (None = nothing dropped; null = from an older sender), and how many of its mappings had bits dropped.
|
||||
DataOperations? DroppedUnknownOperations = null,
|
||||
int? MappingsWithDroppedOperations = null);
|
||||
|
||||
Reference in New Issue
Block a user