Skip to content

atelet: take the DATA snapshot file set from ateom - #2028

Merged
Benjamin Elder (BenTheElder) merged 2 commits into
agent-substrate:mainfrom
HavenXia:durable-data-files
Oct 1, 2026
Merged

Benjamin Elder (BenTheElder) merged 2 commits into
agent-substrate:mainfrom
HavenXia:durable-data-files

Conversation

@HavenXia

Copy link
Copy Markdown
Member

To upload a FULL pause snapshot as aDATA snapshot, atelet picks the durable-dir tar out of the file set by a name it shared with both ateoms.

To decouple atelet and ateom further, ateom now reports the DATA subset in CheckpointWorkloadResponse and
atelet reads from the RPC response, so narrowing a FULL doesn't rely on the shared file name

Part of #1846. It will eventually be replaced by the new logic in Actor lifecycle V2.

To upload a FULL pause snapshot as a DATA snapshot, atelet picked thedurable-dir tar out of the file set by a name it shared with both ateoms. 


To decouple atelet and ateom further,  ateom now reports the DATA subset in CheckpointWorkloadResponse and
atelet reads from it, so narrowing a FULL capture ses that list instead of a file name.
Comment thread cmd/atelet/sandbox_assets.go Resolved
// its own set (gVisor's image files, cloud-hypervisor's snapshot set, ...).
repeated string snapshot_files = 1;

// data_snapshot_files is the subset of snapshot_files that restores the

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we just pass it as snapshot_files and we give a different list depending on the scope requested ..?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok so ... if you take a local pause and then ask to snapshot we grab the files again. This feels kinda awkward but I don't have a better solution at the moment. Merge and iterate.

@BenTheElder
Benjamin Elder (BenTheElder) added this pull request to the merge queue Oct 1, 2026
Merged via the queue into agent-substrate:main with commit 6f3897e Oct 1, 2026
10 checks passed
@HavenXia
Haven Xia (HavenXia) deleted the durable-data-files branch October 28, 2026 02:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants