test(grpc-data): A4 part 2 — A03 gap via pause+stop, origin watcher + re-assert mirror check, latest-EventId positive control; duplicate-transition checks (A03/A06/A07); docs: folder-first event item still refused BadNotSupported (workaround: i=2253 first)

This commit is contained in:
Joseph Doherty
2026-11-25 02:04:30 -05:00
parent 9ea50c11b2
commit 42e3800f2c
2 changed files with 53 additions and 7 deletions
+8 -2
View File
@@ -829,8 +829,14 @@ This section is what an OPC UA client of the **consumer** sees. Code: `OpcUaServ
- Each placement's folder is wired as a notifier when it is materialised: a projected folder, or the mapping anchor.
Wiring is lazy, in both directions, and also adds a root notifier. It is unwired at every projected-removal site.
Projected folders of a condition-bearing mapping have `SubscribeToEvents` from materialisation. A client can therefore
subscribe at a folder before any condition is wired there, and that subscription opens demand.
Projected folders of a condition-bearing mapping are meant to have `SubscribeToEvents` from materialisation, so that a
client can subscribe at a folder before any condition is wired there and open demand.
- ⚠️ **Live behaviour (A4 gate, runs `a4s-1` and `a4s-3`): that does not hold.** On a consumer node where no `i=2253` event
item has opened demand yet (including a freshly restarted node), an event item on a mapping's branch folder (e.g.
`remote-opc`) is refused `BadNotSupported` and the CLI `alarms -n <folder>` exits. Once demand is open and the
conditions are wired, the same folder accepts items and delivers every event.
- **Workaround:** open demand with a Server-object (`i=2253`) event item first (ScadaBridge's DCL already does), then
subscribe at folders. A folder-only client never receives imported conditions. Tracked as an A4 finding.
- **One event per origin transition.** It is delivered to every wired folder item and to the Server object (`i=2253`),
however many placements the condition has (one `ReportEvent`, through the shared report walk).
- A folder holding an admitted event item is pinned: projection eviction and paging skip it. Removing the mapping still