gRPC data H4: Gateway-backend remote history live leg (blocked on VPN) #923
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Plan
docs/plans/2026-11-23-grpc-data-connections-history-alarms-plan.mdphase H4 requires a Gateway leg: an origin withServerHistorian:Backend=Gatewayagainst a local read-only HistorianGateway (ApiKeys__Mode=Disabled,Historian__LiveWritesEnabled=false, recipe in.claude/rules/historian.md) reading the real AVEVA Historian over VPN, then H01–H04 through a consumer's projected nodes, including the reverse/end-only and ceiling-bounded cases.Blocked (2026-11-24): the VPN was down when H4 ran. The historian's gRPC port (
:32565) and SQL port (:1433) on the historian host were both unreachable from the dev Mac, so the leg could not run. No wonder-box remote command is needed, only VPN access.Until this passes, the docs list remote history as verified on the SqlServer and QuestDB origin backends only, with the Gateway backend unverified (
docs/DataConnections.md,docs/Historian.md).To close: with the VPN up, run the gateway locally (HistorianGateway
docker/recipe), point a grpc-data rig origin at it, run H01–H04 plus the reverse/end-only and ceiling-bounded cases, record the results indocs/plans/evidence/grpc-data-ext/H4.md, and remove the "unverified" wording from the docs.Gateway leg PASSED on master
6a9c7873(run h923b-gateway, 2026-11-28, VPN up): origin ServerHistorian:Backend=Gateway against a local read-only HistorianGateway (ApiKeys Disabled, LiveWritesEnabled=false, RuntimeDb off, loopback-only) reading the real AVEVA Historian; fixture tags bound read-only to SysTimeSec / SysDataAcqOverallItemsPerSec / SysString. H01–H06 pass, H07 reverse + end-only equal origin, H08 ceiling 40 ⇒ pages 23/22/22 equal baseline, Average over ceiling ⇒ BadTooManyOperations on origin and consumer. No write/tag-create/event calls. 'Gateway unverified' wording removed from docs. Evidence docs/plans/evidence/grpc-data-ext/H4.md; recipe in scripts/validation/grpc-data/README.md (--history-backend gateway).