better lifecycle visibility implementation.

This commit is contained in:
Bryan Van Deusen
2026-01-27 17:33:25 -05:00
parent d2e4d6c588
commit 13b4da5ca0
5 changed files with 132 additions and 24 deletions
+2 -1
View File
@@ -11,7 +11,8 @@ from app.models.base import Base, TimestampMixin, format_datetime
class DownloadStatus:
"""Download status constants."""
PENDING = "pending"
QUEUED = "queued"
PENDING = "pending" # Legacy: used by retry flow
RUNNING = "running"
COMPLETED = "completed"
FAILED = "failed"