Skip to content

Provide an example of limited retries using Triggers #5978

Open
@cocreature

Description

In theory, you should be able to use the custom state in triggers to handle this. In practice, this seems much more complicated than it should be. It would be great to write up an example and see if we can improve the API. Issues that I’m aware of with the current API:

  1. When you get the failed completion you do not see the associated command.
  2. You cannot update the state from the rule. This makes it quite hard to keep track of which command id belongs to which command.
  3. You do not get access to the commands in flight when updating the state.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions