Rename tasks.py to legacy_tasks.py to avoid conflict with tasks/ package

The tasks/ directory for 3-phase execution was shadowing the old tasks.py.
Renamed to legacy_tasks.py and updated all imports.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
gilesb
2026-01-10 12:05:27 +00:00
parent f7890dd1ad
commit eaff758395
4 changed files with 3 additions and 3 deletions

View File

@@ -14,7 +14,7 @@ app = Celery(
'art_celery',
broker=REDIS_URL,
backend=REDIS_URL,
include=['tasks', 'tasks.analyze', 'tasks.execute', 'tasks.orchestrate']
include=['legacy_tasks', 'tasks', 'tasks.analyze', 'tasks.execute', 'tasks.orchestrate']
)
app.conf.update(

View File

@@ -12,7 +12,7 @@ import argparse
import json
import sys
from tasks import render_effect
from legacy_tasks import render_effect
# Known asset hashes
ASSETS = {

View File

@@ -39,7 +39,7 @@ from urllib.parse import urlparse
import yaml
from celery_app import app as celery_app
from tasks import render_effect, execute_dag, build_effect_dag
from legacy_tasks import render_effect, execute_dag, build_effect_dag
from contextlib import asynccontextmanager
from cache_manager import L1CacheManager, get_cache_manager
import database