agent-substrate / agent-substrate/substrate

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

Aberta
#1,608 0 comentários 0 reações 1 responsável Reivindicada por @laoj2 Ver no GitHub
area/api-machinery area/storage kind/bug
Linguagem predominante
Go
Estrelas
1.8k
Forks
316
Merge médio
2d 43min
PRs com merge (30d)
287

Descrição

ActorStatus.in_progress_snapshot_name holds only the snapshot's name, so
the delete workflow has to rebuild the storage prefix from the actor
template's snapshots_config.storage_location. If the template has been
deleted or renamed, the prefix cannot be derived: the workflow logs a
warning, skips the release, and the objects stay in the bucket forever.

Repro: suspend an actor, kill ateapi mid-checkpoint so the in-progress
name stays set, delete the template, then delete the actor. The actor
finalizes and the objects under its prefix remain.

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.