chrysopedia/backend/tests
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
..
fixtures fix: restore complete project tree from ub01 canonical state 2026-03-31 02:10:41 +00:00
__init__.py fix: restore complete project tree from ub01 canonical state 2026-03-31 02:10:41 +00:00
conftest.py fix: restore complete project tree from ub01 canonical state 2026-03-31 02:10:41 +00:00
test_ingest.py fix: restore complete project tree from ub01 canonical state 2026-03-31 02:10:41 +00:00
test_pipeline.py feat: meaningful pipeline status lifecycle — Not Started → Queued → In Progress → Complete/Errored 2026-03-31 02:43:49 +00:00
test_public_api.py fix: restore complete project tree from ub01 canonical state 2026-03-31 02:10:41 +00:00
test_search.py fix: restore complete project tree from ub01 canonical state 2026-03-31 02:10:41 +00:00