feat(siteruntime): InstanceActor spawns NativeAlarmActors + enriched alarm snapshot; clear native state on redeploy/undeploy
This commit is contained in:
@@ -422,8 +422,11 @@ public class DeploymentManagerActor : ReceiveActor, IWithTimers
|
||||
command.RevisionHash,
|
||||
isEnabled: true);
|
||||
|
||||
// Static overrides are reset on redeployment per design decision
|
||||
// Static overrides and mirrored native alarm state are reset on
|
||||
// redeployment per design decision — the new config may bind different
|
||||
// sources, and the source snapshot re-seeds the mirror on (re)subscribe.
|
||||
await _storage.ClearStaticOverridesAsync(instanceName);
|
||||
await _storage.ClearNativeAlarmsForInstanceAsync(instanceName);
|
||||
|
||||
// Replicate to standby node
|
||||
_replicationActor?.Tell(new ReplicateConfigDeploy(
|
||||
|
||||
Reference in New Issue
Block a user