From a59dbb60ac2972b58823e516f6aa9da39f12bd2c Mon Sep 17 00:00:00 2001 From: michael Date: Sun, 11 Jan 2026 10:12:50 -0600 Subject: [PATCH] fix: register rerender_accessible_video task with Celery worker The task was created but not imported in the Celery task registry, causing "Received unregistered task" error when triggering re-render. Co-Authored-By: Claude Opus 4.5 --- backend/app/tasks/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/app/tasks/__init__.py b/backend/app/tasks/__init__.py index 550f228..de9d225 100644 --- a/backend/app/tasks/__init__.py +++ b/backend/app/tasks/__init__.py @@ -29,6 +29,7 @@ celery_app.conf.update( "app.tasks.translate_and_synthesize.*": {"queue": "default"}, "app.tasks.tts_synthesis.synthesize_cue_task": {"queue": "tts"}, "app.tasks.render_accessible_video.*": {"queue": "render"}, + "app.tasks.rerender_accessible_video.*": {"queue": "render"}, "app.tasks.notify.*": {"queue": "notify"}, "app.tasks.ffmpeg_operations.*": {"queue": "ffmpeg"}, "app.tasks.whisper_transcribe.*": {"queue": "whisper"}, @@ -123,6 +124,7 @@ def import_task_modules(): from . import translate_and_synthesize # noqa: E402, F401 from . import tts_synthesis # noqa: E402, F401 from . import render_accessible_video # noqa: E402, F401 + from . import rerender_accessible_video # noqa: E402, F401 from . import notify # noqa: E402, F401 from . import ffmpeg_operations # noqa: E402, F401 from . import whisper_transcribe # noqa: E402, F401