fix: quarantine failed product cleanups in failed_cleanup state

This commit is contained in:
2026-09-12 15:00:33 +08:00
parent b3ab1bfc52
commit bd78eef161
7 changed files with 149 additions and 19 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ class ProductRecord(BaseModel):
name: str
sku: str = ""
specification: str = ""
status: Literal["active", "pending_cleanup", "purged"] = "active"
status: Literal["active", "pending_cleanup", "failed_cleanup", "purged"] = "active"
created_at: datetime
updated_at: datetime
purge_after: datetime | None = None