Repository navigation
fix(substrate): read the held snapshot from the actor snapshots list - #137
Merged
Anish Ramasekar (aramase) merged 5 commits intoOct 16, 2026
Merged
Conversation
Tom Gamble (gambtho)
left a comment
Member
There was a problem hiding this comment.
Looks good. Selection matches Substrate's resume and tag rule (highest-generation COMPLETED), and pending, local-only and missing statuses all refuse. Small things:
integrations/substrate/adapter.go:180: when the newest COMPLETED generation has an empty URI, this skips to an older one, while Substrate'sfindLatestDurableSnapshotwould tag the newest. Server validation should prevent it, but I'd pick the highest COMPLETED generation first and return its URI or "" (and flip the test atadapter_test.go:235), so the tag can't copy a different snapshot than the one checked.CHANGELOG.md:24: against an older ate-api, a fork through the Placer stops as unplaceable (placement.go:1165); only a directBackend.ForkreturnsErrNoSnapshotToClone. Maybe "refuses as unplaceable (no external snapshot handle)", and the upgrade-together note under Compatibility too.adapter_test.go:28,42:fakeControl.resumedis never set; looks left over from #134.
Anish Ramasekar (aramase)
marked this pull request as ready for review
October 15, 2026 22:58
… no external handle
Collaborator
Author
|
Thanks Tom, all three addressed:
|
Tom Gamble (gambtho)
approved these changes
Oct 16, 2026
Tom Gamble (gambtho)
left a comment
Member
There was a problem hiding this comment.
All addressed, thanks. LGTM.
Anish Ramasekar (aramase)
enabled auto-merge (squash)
October 16, 2026 01:10
Anish Ramasekar (aramase)
disabled auto-merge
October 16, 2026 01:16
Anish Ramasekar (aramase)
deleted the
aramase/i/fork_held_snapshot_list
branch
October 16, 2026 01:16
Tom Gamble (gambtho)
added a commit
to gambtho/agentsessions
that referenced
this pull request
Oct 16, 2026
Adapt branch-only approval and deletion fixtures to the snapshot fidelity/list API in main agent-primitives#137.
Tom Gamble (gambtho)
added a commit
to gambtho/agentsessions
that referenced
this pull request
Oct 16, 2026
Adapt branch-only approval and deletion fixtures to the snapshot fidelity/list API in main agent-primitives#137.
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.
agent-substrate replaced
ActorStatus.external_snapshotwith asnapshotslist, so the adapter read no snapshot and a stateful fork failed withErrNoSnapshotToClone. First of the five PRs split out of #134, as Tom Gamble (@gambtho) suggested.COMPLETED, the one substrate restores and tags.integrations/substratebuilds against substrate96dffb28; the CI cluster moves to the same commit and thedeploy/substrateWorkerPools usesandboxClasses.Depends on: nothing; branches off main. #134's fork identity checks (refuse a replaced parent, classify tag races) need the actor UID, so they moved to the next PR.
Testing:
go test -race ./...in the root andintegrations/substrate.