Files
lmxopcua/tests/Core
Joseph Doherty ec245b84a9 fix(scripted-alarms): a same-process reload restates a surviving alarm from its in-memory condition (#935)
ScriptedAlarmEngine.LoadAsync runs on every deploy and used to seed each alarm
from IAlarmStateStore, which in production does not persist Active. A
still-true predicate then made every deploy an Inactive->Active transition:
Acked reset, Activated emission (duplicate alerts row), LastTransitionUtc moved.

Seed is now previous ?? persisted ?? Fresh: the last COMPLETED generation's
in-memory condition is captured under _evalGate before the clear and kept
across a failed load. Process restart is unchanged.
2026-11-25 10:54:45 -05:00
..