Skip to content

atelet: Prefer local snapshot on Restore - #2658

Merged
Zoe Zhao (zoez7) merged 1 commit into
agent-substrate:mainfrom
msau42:snapshot-restore-local
Oct 14, 2026
Merged

Zoe Zhao (zoez7) merged 1 commit into
agent-substrate:mainfrom
msau42:snapshot-restore-local

Conversation

@msau42

Copy link
Copy Markdown
Collaborator

Part of #2069 actor lifecycle v2

If a local snapshot exists for the requested uuid, restore from it instead of downloading from object storage.

  • Tests pass
  • Appropriate changes to documentation are included in the PR

Comment thread cmd/atelet/main.go
Comment thread cmd/atelet/main.go Outdated
…rage

Check the node-local checkpoint directory for the requested SnapshotUuid first during Restore, verifying the manifest and every listed snapshot file via readLocalSnapshot. When the local copy is absent or unusable, fall back to fetching the manifest and snapshot files from Snapshot.Object in object storage, and attribute the restore metric kind to local only when served from the node-local copy.
@zoez7
Zoe Zhao (zoez7) added this pull request to the merge queue Oct 14, 2026
Merged via the queue into agent-substrate:main with commit 72d0272 Oct 14, 2026
9 checks passed
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