Provide an example of limited retries using Triggers #5978
Open
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:
- When you get the failed completion you do not see the associated command.
- You cannot update the state from the rule. This makes it quite hard to keep track of which command id belongs to which command.
- You do not get access to the commands in flight when updating the state.
Activity