Actor Pause/Resume flow - #227
Merged
Benjamin Elder (BenTheElder) merged 10 commits intoJun 16, 2026
Merged
Conversation
Dmitry Berkovich (dberkov)
requested review from
Benjamin Elder (BenTheElder) and
Julian Gutierrez Oschmann (juli4n)
June 12, 2026 01:29
Dmitry Berkovich (dberkov)
force-pushed
the
actor_pause
branch
from
June 12, 2026 01:36
68d9c85 to
0935cfb
Compare
Benjamin Elder (BenTheElder)
left a comment
Collaborator
There was a problem hiding this comment.
Mostly nits inline.
- Can we add coverage for this to the e2e tests? I think this should work on gvisor+kind and it would be nice to cover in CI. We could extend the demo counter e2e.
- Worker.node_name is only populated when the syncer re-mirrors a pod, so workers created before this rollout won't satisfy the node restriction until re-synced.
- I know the storage situation is temporary, but we have no GC for snapshots and these may fill local disk quickly. Maybe a TODO somewhere or a doc warning?
Collaborator
Author
I have extended existing e2e demo test to test the PAUSE API.
Added a disclaimer in the PR description.
Added TODO in the code. |
2 tasks
Collaborator
|
needs a rebase |
…int configuration in atelet
… and check the counter result
Dmitry Berkovich (dberkov)
force-pushed
the
actor_pause
branch
from
June 16, 2026 18:20
7351a9e to
c8bad73
Compare
Collaborator
Author
Done |
Benjamin Elder (BenTheElder)
approved these changes
Jun 16, 2026
Benjamin Elder (BenTheElder)
merged commit Jun 16, 2026
c1b5113
into
agent-substrate:main
8 checks passed
2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements
PAUSEDstate for issue #119.The snapshot files are kept locally on node VM in a separate folder. At resume time, scheduler uses a node VM hint and picks up a worker from the same node where files were stored at suspend time.
The local file management solution is temporary and will be replaced once Michelle Au (@msau42) introduces a new component that is supposed to manage files on the node VM.
Breaking change
This PR introduces a breaking change in the Actor proto. All existing actor needs to be recreated, prior testing PAUSE functionality.