chrysopedia/backend/routers
jlightner 720c2f501f feat: meaningful pipeline status lifecycle — Not Started → Queued → In Progress → Complete/Errored
Replace stage-level statuses (pending/transcribed/extracted/published) with
user-meaningful lifecycle states (not_started/queued/processing/error/complete).

Backend:
- ProcessingStatus enum: not_started, queued, processing, error, complete
- run_pipeline sets 'processing' before dispatching Celery chain
- stage5 sets 'complete' (was 'published')
- stage3 no longer sets intermediate status (stays 'processing')
- New mark_pipeline_error task wired as link_error on chain
- _set_error_status helper marks video on permanent failure
- Ingest sets 'queued' (was 'transcribed')
- Migration 008 renames all existing values

Frontend:
- StatusFilter shows fixed-order lifecycle tabs: Not Started | Queued | In Progress | Errored | Complete
- Per-video badges show friendly labels instead of raw enum values
- Badge colors mapped to new statuses
2026-03-31 02:43:49 +00:00
..
__init__.py fix: restore complete project tree from ub01 canonical state 2026-03-31 02:10:41 +00:00
creators.py fix: restore complete project tree from ub01 canonical state 2026-03-31 02:10:41 +00:00
health.py fix: restore complete project tree from ub01 canonical state 2026-03-31 02:10:41 +00:00
ingest.py feat: meaningful pipeline status lifecycle — Not Started → Queued → In Progress → Complete/Errored 2026-03-31 02:43:49 +00:00
pipeline.py fix: restore complete project tree from ub01 canonical state 2026-03-31 02:10:41 +00:00
reports.py fix: restore complete project tree from ub01 canonical state 2026-03-31 02:10:41 +00:00
search.py fix: restore complete project tree from ub01 canonical state 2026-03-31 02:10:41 +00:00
techniques.py fix: restore complete project tree from ub01 canonical state 2026-03-31 02:10:41 +00:00
topics.py fix: restore complete project tree from ub01 canonical state 2026-03-31 02:10:41 +00:00
videos.py fix: restore complete project tree from ub01 canonical state 2026-03-31 02:10:41 +00:00