fix(grpc-data): H2 review 8 - history timeout rides the artifact, not the trust-scope fingerprint

DataConnectionScopeRevision covers consumer/connection/secret scope only; limits (TimeoutMilliseconds and now
HistoryTimeoutMilliseconds) reach DB-less nodes and the LocalDb cache in the artifact's entity JSON. Dropping the field
also avoids a one-time scope-version bump on upgrade. Plan 6 corrected.
This commit is contained in:
Joseph Doherty
2026-11-23 21:53:58 -05:00
parent e0956a55d6
commit 6a621423f4
3 changed files with 9 additions and 9 deletions
@@ -962,7 +962,7 @@ NodeId: accepted under owner decision Q2, as removal + addition + RefreshRequire
| A2 (host options, not ConfigDb) | — | `DataConnections:MaxImportedConditionNodes` (122500), `DataConnections:MaxImportedConditionBytes` (400 MiB), `DataConnections:ConditionKnownSignalTimeout:<DriverType>` (origin; 120 s), `DataConnections:ConditionKnownSettle:OpcUaClient` (origin backstop for upstreams without ConditionRefresh; 60 s), `DataConnections:ConditionKeySecret` (secret) |
Each migration phase also adds the bits to `KnownOperations`, extends `DeploymentArtifact.DataConnections.cs`, and includes the
new fields in `DataConnectionScopeRevision` (so DB-less nodes and the LocalDb artifact cache receive them). It also adds
new fields in the artifact (limits ride the artifact's entity JSON to DB-less nodes and the LocalDb artifact cache, like `TimeoutMilliseconds`; they are NOT part of the trust-scope fingerprint `DataConnectionScopeRevision`, which covers consumer/connection/secret scope only — H2 review). It also adds
validator rules: mapping bits ⊆ connection bits, limits positive, `AllowGalaxyServiceAck` only with `AlarmAcknowledge`, and
(A2) a warning when Σ `MaxConditions` of a consumer node's mappings × 49 (the counted worst-case subtree) exceeds
`MaxImportedConditionNodes`. Each also grows `LocalDataServices.cs:47` `Implemented(target)`.