[OLD] Reset invocation
Fix #2890, depends on https://github.com/restatedev/restate/pull/2904
E2E test https://github.com/restatedev/e2e/pull/377
Followup PRs will be:
- Replace admin API bifrost proposals with RPC client, to enable propagating errors back
- https://github.com/restatedev/restate/issues/3197
- Add knob to Kill child invocations when resetting an invocation
- Revert state changes when resetting an invocation
- Align Kill with Reset invocation (this https://github.com/restatedev/restate/issues/2890#issuecomment-2841575386)
Will rebase this PR on https://github.com/restatedev/restate/pull/3227 when ready.
After some internal conversations, we agreed on for now merging this feature without reverting state, and give it a try like this. This feature also needs to retain the old journals, something i'll do for https://github.com/restatedev/restate/issues/3347 primarily and then re-adapt this PR here. I'm gonna rebase few things, figure out retaining old journals, and then i'll ask another review for this PR.
I rebased this PR on #3360, it also contains the changes from #3362 (1:1, so once that one is merged, it should disappear from this diff). This got a bit messy with the different branches :D For this feature specifically, only the last commit matters.