Skip to content

Store the in-progress snapshot as a URI instead of a name - #1609

Open
Luiz Oliveira (laoj2) wants to merge 1 commit into
agent-substrate:mainfrom
laoj2:in-progress-snapshot
Open

Store the in-progress snapshot as a URI instead of a name#1609
Luiz Oliveira (laoj2) wants to merge 1 commit into
agent-substrate:mainfrom
laoj2:in-progress-snapshot

Conversation

@laoj2

Copy link
Copy Markdown
Collaborator

To build a snapshot URI, we need the external storage location (which is stored in the actor template), actor atespace and UID (which are stored in the actor resource). If an actorTemplate was deleted, we'd leak the in-progress snapshot, because the storage information was gone.

Fixes #1608

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

To build a snapshot URI, we need the external storage location (which is stored in the actor template), actor atespace and UID (which are stored in the actor resource).
If an actorTemplate was deleted, we'd leak the in-progress snapshot, because the storage information was gone.

Fixes agent-substrate#1608
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.

Deleting an actor leaks its in-progress snapshot when the template is gone

1 participant