fix(lipsync-tts): 修正 celery_app 导入路径,修复 staging api 启动阻断 #1848
Reference in New Issue
Block a user
Delete Branch "fix/lipsync-tts-celery-import"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
问题
apps/api/app/tasks/lipsync_tts.py第 18 行导入路径错误:该路径在 api 服务镜像内不存在(worker_app 属于 worker 服务),导致 api 容器启动即 ImportError,staging 部署回滚阻断。
修复
参考同目录
ai_avatar_render.py的写法:验证
docker build -f infra/docker/api.Dockerfile .构建成功import app.tasks.lipsync_tts导入正常,Celery 实例与任务lipsync_tts.synthesize_and_submit注册正常🚀 预览环境已部署
🗑️ 预览环境已清理
PR #1848 已关闭或合并,对应的预览环境已被清理。