agent-substrate / agent-substrate/substrate

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

未關閉
#1,608 0 則留言 0 個 reaction 已指派 1 人 已被 @laoj2 認領 在 GitHub 檢視
area/api-machinery area/storage kind/bug
主要語言
Go
星號
1.8k
分支
316
平均合併
2 天 43 分鐘
30 天內合併 PR
287

描述

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.

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。