video-accessibility/backend/app/migrations
michael 76c4c60b0d fix: add tts_failed and render_failed to MongoDB schema validator
MongoDB was rejecting status updates to 'tts_failed' and 'render_failed'
because these values weren't in the schema validator's enum, even though
they were defined in the Python JobStatus model.

This caused TTS failures to leave jobs stuck in 'tts_generating' status
with no error feedback to users - the WriteError from MongoDB prevented
the status and error fields from being updated.

The migration adds both failed statuses to the jobs collection validator.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-05 14:09:41 -06:00
..
scripts fix: add tts_failed and render_failed to MongoDB schema validator 2026-01-05 14:09:41 -06:00
__init__.py initial commit 2025-08-24 16:28:33 -05:00
migrator.py initial commit 2025-08-24 16:28:33 -05:00