You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In #788 a new field any_state was added to allow for force delete Actor resources, irrespective of the Actor state. This looks like a "control" field for delete, so I think it should probably be moved under DeleteOptions. Should we also rename it to force?
We used the "any_state" boolean to indicate that this will allow users to delete actors from any state, not just suspended or crashed.
We didn't use "force" because this is not a "force deletion", failed deletion still leaves an actor record (to allow retry). I think "force" is separate from "any-state", if customer calls "force delete actor", we should free up the original actor object ref, and allow creating another actor with the same (atespace, actorname).
Today DeleteActor only accepts CRASHED or SUSPENDED actors unless any_state=true is set.
Instead of renaming this field to force, we agreed to make any_state=true the default behaviour (there's no strong reason why this isn't the case) and remove any_state altogether.
Activity
zoez7 commentedon Aug 24, 2026
We used the "any_state" boolean to indicate that this will allow users to delete actors from any state, not just suspended or crashed.
We didn't use "force" because this is not a "force deletion", failed deletion still leaves an actor record (to allow retry). I think "force" is separate from "any-state", if customer calls "force delete actor", we should free up the original actor object ref, and allow creating another actor with the same
(atespace, actorname).laoj2 commentedon Oct 15, 2026
Today
DeleteActoronly acceptsCRASHEDorSUSPENDEDactors unlessany_state=trueis set.Instead of renaming this field to
force, we agreed to makeany_state=truethe default behaviour (there's no strong reason why this isn't the case) and removeany_statealtogether.Remove any_state and allow deleting actors in any state (agent-substr…