Files
lmxopcua/tests
Joseph Doherty 89aee3268b fix(runtime): #1112 value nodes go BadWaitingForInitialData on a driver respawn/Restart until the new driver's first value
Owner decision 'Brief Bad on restart'. A config-change respawn (StopChild with
respawning=true, i.e. an id the planner both stops and spawns) and an operator
Restart now stamp BadWaitingForInitialData on the driver's raw NodeIds and every
referencing UNS NodeId at the stop, on the host->publish-actor pair the new
driver's values travel, so the new Good always lands after it.

Not a comms loss: the stamp is not latched (no recovery audit, no
comms_latched_refs, no driver status), and a retired child's late PostStop Bad no
longer stamps value nodes while a replacement exists (it used to latch them).
A Restart therefore cancels the old incarnation's armed audit itself (#1053
keeps the latch). Supervision restarts, deploy removals/disables, native
conditions and historization (mux-fed, #1109) are unchanged.

Tests: DriverHostRespawnValueNodeGapTests (config change + Restart, late and
early old-child stop, raw + UNS, no-latch with positive control);
DriverHostStaleConnectivityTests expectations updated for the host stamp.
Docs: DriverLifecycle.md quality contract + .claude/rules/drivers.md.
2026-12-05 00:24:50 -05:00
..