Files
lmxopcua/tests/Server
Joseph Doherty 48b5f9c466 fix(runtime): #995 review — a repair of a degraded apply re-pushes the drivers whose nodes it creates
OpcUaPublishActor reported AddressSpaceRebuilt only after a real full rebuild, so the empty-plan repair of a degraded
composition, the #977 R-4 whole-composition re-ensure, and the re-diff after a degraded non-rebuild all reported a
clean non-rebuild. The degraded apply's own re-push had run while the node it failed to place was missing; the apply
that finally created it skipped the node's driver (fingerprint unchanged), so the node stayed
BadWaitingForInitialData until its value changed — forever for a constant.

- The publish actor now reports AddressSpaceRebuilt=true when the apply ran a repair pass (either branch) or when the
  previous apply of any kind ended degraded (final outcome, completion + catalog included); DriverHostActor re-pushes
  the deploy's skipped drivers on it. A clean apply after the repair reports false again.
- DriverLifecycle.md / rules note the widened signal.

Tests: DriverHostActorDegradedRepairReseedTests (REAL publish actor: degraded add, degraded rebuild + empty-plan
repair, degraded rebuild + R-4 repair; skip still works afterwards) and OpcUaPublishActorApplyOutcomeTests (outcome
on both repair branches + after a degraded non-rebuild, with clean-no-op controls) — all six failed before the fix.
2026-12-03 12:00:32 -05:00
..