feat(ci): P2债务清理 + Production部署门禁(PyJWT升级/死代码清理/生产健康检查) #324
Reference in New Issue
Block a user
Delete Branch "feat/ci-p2-debt-and-prod-gate"
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?
变更内容
1. PyJWT 漏洞修复(pip-audit 告警)
pyjwt==2.9.0→pyjwt==2.13.02. 死代码清理(vulture 扫出的 5 处)
apps/api/app/api/routes/templates.py: 移除未使用的GetTemplateUsageUseCaseimportapps/worker/video_processing/unified_render_service.py: 移除未使用的apply_chroma_key_if_neededimportapps/worker/video_processing/unified_render_service.py: 移除未使用的parse_stickers_from_configimportapps/worker/worker_app/tasks/asset_analyzer.py: 移除extract_frames未使用的max_frames参数apps/worker/worker_app/tasks/generation.py: 移除_download_library_assets未使用的video_extensions参数(含 docstring)3. Production 部署门禁
/health端点(100s 超时重试)影响范围