fix(site-runtime): seed republished overrides into Script Actors without firing scripts; alarms still evaluate (review 2026-10-21 01/SR-U1, decision M1)
HandleOverridesLoaded now sends children a site-local AttributeValueSeed (stream still gets the AttributeValueChanged). ScriptActor updates its snapshot, Conditional truth value and Expression last result (seed-only eval, never fires); AlarmActor evaluates it as a normal change.
This commit is contained in:
@@ -246,6 +246,9 @@ public class AlarmActor : ReceiveActor
|
||||
|
||||
// Handle attribute value changes
|
||||
Receive<AttributeValueChanged>(HandleAttributeValueChanged);
|
||||
// Review 2026-10-21 01/SR-U1: an override seeded at instance start is evaluated like any
|
||||
// change — an alarm whose condition already holds must raise.
|
||||
Receive<Messages.AttributeValueSeed>(seed => HandleAttributeValueChanged(seed.Change));
|
||||
|
||||
// Handle alarm execution completion (also releases the in-flight slot)
|
||||
Receive<AlarmExecutionCompleted>(HandleAlarmExecutionCompleted);
|
||||
|
||||
Reference in New Issue
Block a user