test(grpc-data): A2a — unit-phase manifest key A2; probe carries history,conditions; metadata never carries AlarmSubscribe

This commit is contained in:
Joseph Doherty
2026-11-24 12:21:18 -05:00
parent b24af31e1a
commit 06c8740f94
3 changed files with 74 additions and 6 deletions
@@ -284,8 +284,9 @@ public static class DataProtoMapper
x.ValueRank,
x.Dimensions.ToArray(),
x.Writable,
// X0 tolerant reader: an operation bit this build does not understand is no grant.
(DataOperations)(x.AllowedOperations & (uint)DataOperationSets.Understood),
// X0 tolerant reader: an operation bit this build does not understand is no grant. A2: AlarmSubscribe is a
// root-scope grant, never a node operation, so a metadata item carrying it is masked too.
(DataOperations)(x.AllowedOperations & (uint)DataOperationSets.Understood & ~(uint)DataOperations.AlarmSubscribe),
x.CatalogRevision,
x.HasStableSourceId ? x.StableSourceId : null,
x.HasEngineeringUnits ? x.EngineeringUnits : null,