From 02682fcfcd22f4566429e120f015da2ece93742f Mon Sep 17 00:00:00 2001 From: Joseph Doherty Date: Mon, 23 Nov 2026 23:56:48 -0500 Subject: [PATCH] docs(index): OtOpcUa gRPC data H1/H2 remote history merged --- .claude/skills/sister-project-history/otopcua.md | 1 + 1 file changed, 1 insertion(+) diff --git a/.claude/skills/sister-project-history/otopcua.md b/.claude/skills/sister-project-history/otopcua.md index e55a03f..3824f1c 100644 --- a/.claude/skills/sister-project-history/otopcua.md +++ b/.claude/skills/sister-project-history/otopcua.md @@ -698,3 +698,4 @@ on `MonitoredItemNotification.Message` validated by `(ClientHandle, DataValue)`; - **G1 retired (2026-11-13, `e299dc09`).** The owner retired the Phase 6 compliance scripts; all 56 of their failures checked deliberately deleted v2 code. The `scripts/compliance/phase-6-*.ps1` scripts were deleted. **The v2 GA readiness doc now reads RELEASE-READY**: every exit criterion is met, waived (G8) or retired (G1). - **gRPC data connections merged (2026-11-23, `95c5e484`).** New `data_connection.v1.DataConnectionService` (`Commons/Protos/data_connection.proto`): browse, metadata, cached read, write and data-change subscribe between explicitly configured nodes of one cluster or across clusters, on a dedicated TLS listener (`DataConnections` host settings). Remote Raw/UNS branches are mapped into the local Raw/UNS trees via `DataConnection` / `DataExport` / `RemoteNamespaceMapping` (two new ConfigDb migrations, `AddGrpcDataConnections` + `AddDataConnectionScopeState`); everything is disabled by default and write-through is off by default. Independent of the mesh command/telemetry/config/pair-sync planes; Akka clusters stay separate. History, alarms and methods are not in this release. Guide: `docs/DataConnections.md`. **Not deployed** (DEV/QA remain on `cdf433a3`). ScadaBridge impact: none until a mapping is configured; mapped branches then appear as ordinary Raw/UNS nodes. - **gRPC data X0 merged (2026-11-23, `a1591253`).** First phase of the history + alarm forwarding plan (`docs/plans/2026-11-23-grpc-data-connections-history-alarms-plan.md`). Tolerant readers: a `DataOperations` bit a node does not understand is dropped fail-closed (grants nothing) and counted (`otopcua.dataconnection.unknown_operations_dropped`, tag `kind`) at the runtime, the wire decoders, artifact parse and catalog compile, instead of rejecting the whole data-connection snapshot. Bits 32–512 reserved (HistoryRead, AlarmSubscribe/Acknowledge/Confirm/Shelve); authoring still rejects them. Proto fields reserved with descriptor golden tests; new per-RPC header `x-otopcua-data-features` parsed but nothing honoured yet. Recorded-v1-client gate proves v1 wire bytes unchanged. **Rollout rule:** X0 must run on every node of both clusters before any H2/A2 bit is authored. Not deployed. Follow-ups lmxopcua#918/#919. ScadaBridge impact: none. +- **gRPC data H1 + #918 + H2 merged (2026-11-23/24, `1086593a`, `0c86edc1`, `ef938b43`).** H1 extracted HistoryRead (Raw/Processed/AtTime) from the node-manager overrides into an SDK-free port (zero local behaviour change; 10k-seed paging fuzz). #918 added a real-origin recorded-v1-client gate. **H2 = remote history for runtime consumers:** new `DataConnectionService.HistoryRead` RPC plus `HistoryCapabilities` (CapabilitiesResponse 16) / `HistoryInfo` (Metadata 14), negotiated by `x-otopcua-data-features` (the capabilities probe carries the client's features; header-less callers get v1-identical bytes). Origin ingress: Ready → export grant → origin ACL `HistoryRead` (always) → tagname; denied, unhistorized and unknown nodes answer an identical `Bad_HistoryOperationUnsupported`; an export without the bit ⇒ `PERMISSION_DENIED` for the call. Origin memory is byte-bounded per request and per principal; continuations single-use and bound to principal/key/incarnation; remote reads always leave local OPC UA HistoryRead a slot. ConfigDb migration `AddDataConnectionHistory` (5 limit columns); AdminUI HistoryRead checkbox + limits + X0 banner. OPC UA clients on the consumer get remote history only in H3. Live rig smoke passed (`scripts/validation/grpc-data/rig.py up --history`). Not deployed. Flaky test class filed as lmxopcua#920. ScadaBridge impact: none (no OPC UA surface change yet).