Skip to content

Rename DeleteActorRequest.any_state #1161

Closed

Description

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?

Activity

  1. zoez7 commented on Aug 24, 2026

    @zoez7
    Collaborator

    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).

  2. laoj2 commented on Oct 15, 2026

    @laoj2
    Collaborator

    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.

  3. added a commit that references this issue on Oct 19, 2026
    5952cfd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

area/apiUser-facing API changesarea/api-machinerykind/cleanupSmall fixes that are not bugs, for example a typo in a code comment

Type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions