agent-substrate / agent-substrate/substrate

Prevent deleting a tag if at least one actor references that tag's snapshot

Open
#1,554 0 comments 0 reactions 0 assignees View on GitHub
area/api-machinery area/storage kind/bug
Dominant language
Go
Stars
1.8k
Forks
316
Avg merge
2d 43m
Merged PRs (30d)
287

Description

Today, a tag or an actor may own an external snapshot.

* When a tag is created, it copies the external snapshot into it's own external storage path and
* When an actor is created from a tag, it will reference the tag's snapshot until its first Suspend call.
* An actor doesn't own its own snapshot until its first SuspendActor() call (Suspend will create/copy a snapshot)

Today, nothing prevents deleting a tag whose snapshot is referenced by running actors.

cc @juli4n

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.