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

[Feat] New implicit Actions #242

Open
sleipnir opened this issue Aug 25, 2023 · 1 comment
Open

[Feat] New implicit Actions #242

sleipnir opened this issue Aug 25, 2023 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers protocol Specification of protocol sdks Support languages statestores
Milestone

Comments

@sleipnir
Copy link
Member

sleipnir commented Aug 25, 2023

Describe the feature
I would like to propose two new implicit actions.
checkpoint and restore
they would be responsible for managing the state of the actor with a finer granularity.

Why would that be important to you?
Better manage the state

Additional context
Checkpoint would save the state synchronously.
Restore would be used to replace the actor's current state with another revision entered by the user. This would depend on statestore support

Also this should serve as a continuation of the work done on #231

It would possibly require a new type to pass the revision information.
For example, when calling the checkpoint action, the actor could return the status of the operation in addition to the current revision number. Similarly to calling restore the user should be able to see which revision he wants to return.
I propose that we create different protocol files to store this type instead of the protocol.proto file because I understand that this can be treated as an extension of the original protocol, thus facilitating the implementation by the different sdks

@sleipnir sleipnir added enhancement New feature or request protocol Specification of protocol statestores sdks Support languages labels Aug 25, 2023
@sleipnir sleipnir added this to the v1.0.0 milestone Aug 25, 2023
@sleipnir sleipnir added the good first issue Good for newcomers label Aug 25, 2023
@sleipnir sleipnir changed the title [Feat] Title of the feature here [Feat] New implicit Actions Aug 25, 2023
@sleipnir
Copy link
Member Author

Ping @eliasdarruda @marcellanz

sleipnir added a commit that referenced this issue Aug 25, 2023
@sleipnir sleipnir modified the milestones: v1.0.0, 1.6.0 Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers protocol Specification of protocol sdks Support languages statestores
Projects
Status: Backlog
Development

No branches or pull requests

1 participant