#1109 follow-up: OPC UA value nodes keep the old driver's last Good across a respawn/restart until the new driver publishes — decide whether clients see a Bad gap #1112
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?
From the 2026-12-04 follow-up round 7 (#1107–#1109 fixed by parallel agents, merged on local master, unpushed).
Source: #1109 flake root cause (
c28e5564d). #1070 drops a retired driver child's lateConnectivityChanged(false)once the replacement has connected. #1109 fixed this for dependents (VirtualTags / scripted alarms / Calculation) by having DriverHostActor tell the mux BadNoCommunication directly at stop/restart.OPC UA value nodes still have the gap: on a config-change respawn or operator Restart, if the replacement connects before the old child's PostStop Bad arrives, clients keep seeing the old driver's last Good value until the new driver publishes — indefinitely for a publish-on-change source with an unchanged value.
Needs an owner decision: should OPC UA clients see a Bad (BadNoCommunication / BadWaitingForInitialData) gap on every driver respawn/restart? Stamping nodes Bad at stop time interacts with the comms-loss latch + recovery audit, and #1070's test currently expects no Bad stamp while the old child is blocked.
Also: state the contract ("dependents see non-Good across a driver-object change") in docs/DriverLifecycle.md so a future change can't silently break #1041's premise again, as #1070 did.
Owner decision 2026-12-05: Brief Bad on restart — on a driver config-change respawn or operator Restart, the driver's OPC UA value nodes (raw + UNS mirrors) go BadWaitingForInitialData at stop/restart until the new driver's first publish (visible to ScadaBridge; accepted). In progress.
Pushed in
da23fd970..961ca2897. Merge47d1c93b8(89aee3268, reviewed — no defects): value nodes (raw + UNS) go BadWaitingForInitialData on a config-change respawn / operator Restart until the new driver's first value. ScadaBridge-visible per owner decision. Residuals → #1113.