test(live): assert FU-1 alarm SendEvent->ReadEvents round-trip (gateway C4 fixed) #425

Merged
dohertj2 merged 1 commits from fix/fu1-alarm-source-roundtrip into master 2026-06-27 16:51:57 -04:00
Owner

FU-1 — assert the alarm SendEventReadEvents round-trip (gateway C4 fixed)

The gateway now populates Runtime.dbo.Events.Source_Object from the event
SourceName (gateway PR: HistorianProtoMapper threads SourceName into the
source_object event property). So an ad-hoc alarm SendEvent is now
source-filterable on readback.

Alarm_SendEvent_then_ReadEvents now asserts the round-trip (ShouldNotBeEmpty)
instead of skipping with the old "ad-hoc sends land without Source_Object" reason.
Poll window widened to 60s for the live event-view flush latency.

The underlying round-trip is live-proven at the gateway level
(EventSourceObjectProbeTests); this asserts the same path through the OtOpcUa
alarm-writer + data-source adapters. Offline suite green (live test skips when
unconfigured). Requires a gateway running the C4 fix when executed live.

https://claude.ai/code/session_012SDSQ3AcaXqPcBtDESBRii

## FU-1 — assert the alarm `SendEvent` → `ReadEvents` round-trip (gateway C4 fixed) The gateway now populates `Runtime.dbo.Events.Source_Object` from the event `SourceName` (gateway PR: `HistorianProtoMapper` threads `SourceName` into the `source_object` event property). So an ad-hoc alarm `SendEvent` is now source-filterable on readback. `Alarm_SendEvent_then_ReadEvents` now **asserts** the round-trip (`ShouldNotBeEmpty`) instead of skipping with the old "ad-hoc sends land without `Source_Object`" reason. Poll window widened to 60s for the live event-view flush latency. The underlying round-trip is live-proven at the gateway level (`EventSourceObjectProbeTests`); this asserts the same path through the OtOpcUa alarm-writer + data-source adapters. Offline suite green (live test skips when unconfigured). Requires a gateway running the C4 fix when executed live. https://claude.ai/code/session_012SDSQ3AcaXqPcBtDESBRii
dohertj2 added 1 commit 2026-06-27 16:51:42 -04:00
test(historian-gateway,live): assert FU-1 alarm SendEvent->ReadEvents round-trip (C4 fixed)
v2-ci / build (pull_request) Failing after 41s
v2-ci / unit-tests (tests/Core/ZB.MOM.WW.OtOpcUa.Cluster.Tests) (pull_request) Has been skipped
v2-ci / unit-tests (tests/Server/ZB.MOM.WW.OtOpcUa.ControlPlane.Tests) (pull_request) Has been skipped
v2-ci / unit-tests (tests/Server/ZB.MOM.WW.OtOpcUa.OpcUaServer.Tests) (pull_request) Has been skipped
v2-ci / unit-tests (tests/Server/ZB.MOM.WW.OtOpcUa.Runtime.Tests) (pull_request) Has been skipped
v2-ci / unit-tests (tests/Server/ZB.MOM.WW.OtOpcUa.Security.Tests) (pull_request) Has been skipped
v2-ci / integration (tests/Server/ZB.MOM.WW.OtOpcUa.Host.IntegrationTests) (pull_request) Has been skipped
v2-ci / integration (tests/Server/ZB.MOM.WW.OtOpcUa.OpcUaServer.IntegrationTests) (pull_request) Has been skipped
7a94f7adf0
The gateway now populates Runtime.dbo.Events.Source_Object from the event
SourceName (gateway C4 fix: HistorianProtoMapper threads SourceName into the
`source_object` event property). So an ad-hoc alarm SendEvent is now source-
filterable on readback, and Alarm_SendEvent_then_ReadEvents asserts the round-
trip instead of skipping with the old "ad-hoc sends land without Source_Object"
reason. Poll window widened to 60s for the live event-view flush latency.

Live-proven at the gateway level (HistorianGateway EventSourceObjectProbeTests,
2026-06-27); this asserts the same round-trip through the OtOpcUa alarm writer +
data source adapters.

Claude-Session: https://claude.ai/code/session_012SDSQ3AcaXqPcBtDESBRii
dohertj2 merged commit 245316d80d into master 2026-06-27 16:51:57 -04:00
Sign in to join this conversation.