From b9a998fb4383995675b255ad5824a63a37d17dad Mon Sep 17 00:00:00 2001 From: Samir Boulahtit Date: Wed, 11 Feb 2026 22:58:10 +0100 Subject: [PATCH] fix(celery): remove stale legacy task module references --- app/core/celery_config.py | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/app/core/celery_config.py b/app/core/celery_config.py index 601d363a..956f2768 100644 --- a/app/core/celery_config.py +++ b/app/core/celery_config.py @@ -53,13 +53,9 @@ if SENTRY_DSN: # - subscription: MIGRATED to billing module (kept for capture_capacity_snapshot -> monitoring) # - marketplace, letzshop, export: MIGRATED to marketplace module # - code_quality, test_runner: Will migrate to dev-tools module -LEGACY_TASK_MODULES = [ - # "app.tasks.celery_tasks.marketplace", # MIGRATED to marketplace module - # "app.tasks.celery_tasks.letzshop", # MIGRATED to marketplace module - "app.tasks.celery_tasks.subscription", # Kept for capture_capacity_snapshot only - # "app.tasks.celery_tasks.export", # MIGRATED to marketplace module - "app.tasks.celery_tasks.code_quality", - "app.tasks.celery_tasks.test_runner", +LEGACY_TASK_MODULES: list[str] = [ + # All legacy tasks have been migrated to their respective modules. + # Task discovery now happens via app.modules.tasks.discover_module_tasks() ]