Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Undo" invocation feature #803

Closed
vigoo opened this issue Aug 21, 2024 · 1 comment
Closed

"Undo" invocation feature #803

vigoo opened this issue Aug 21, 2024 · 1 comment

Comments

@vigoo
Copy link
Contributor

vigoo commented Aug 21, 2024

Currently if a failure happens during the invocation of a worker, it gets automtically retried and if it was not a transient error, eventually the worker gets into failed state.

After that the worker is no longer accessible, and for example if it represents some stateful entity, it is not possible to query it's state (or state before the failing invocation).

We could have a "undo" feature which just drops the last invocation attempt and gets the worker back to the state where it was before the failing invocation.

Of course this is not always safe to do, as there are potentially side effects already performed as part of the failing invocation, but as a user-initiated option I believe it would be helpful.

@vigoo vigoo added this to the Golem 1.2 milestone Nov 28, 2024
@vigoo
Copy link
Contributor Author

vigoo commented Dec 13, 2024

@vigoo vigoo closed this as completed Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant