Phase 4 Backend P2 cleanup: 异常处理/类型注解/模块拆分/大函数拆分/配置项确认
CI/CD Pipeline / Unit Tests (pull_request) Failing after 7s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 12s
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 1m44s
CI/CD Pipeline / Integration Tests (pull_request) Failing after 2m36s
CI/CD Pipeline / Production Browser E2E (pull_request) Failing after 1555h16m6s
CI/CD Pipeline / Build Production Runtime Images (pull_request) Failing after 1555h16m8s
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (pull_request) Failing after 1555h16m8s
CI/CD Pipeline / Staging API Integration Tests (pull_request) Failing after 1555h16m8s
CI/CD Pipeline / Deploy Production (pull_request) Failing after 1555h47m43s
CI/CD Pipeline / Staging E2E Tests (pull_request) Failing after 1555h47m44s
CI/CD Pipeline / Unit Tests (pull_request) Failing after 7s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 12s
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 1m44s
CI/CD Pipeline / Integration Tests (pull_request) Failing after 2m36s
CI/CD Pipeline / Production Browser E2E (pull_request) Failing after 1555h16m6s
CI/CD Pipeline / Build Production Runtime Images (pull_request) Failing after 1555h16m8s
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (pull_request) Failing after 1555h16m8s
CI/CD Pipeline / Staging API Integration Tests (pull_request) Failing after 1555h16m8s
CI/CD Pipeline / Deploy Production (pull_request) Failing after 1555h47m43s
CI/CD Pipeline / Staging E2E Tests (pull_request) Failing after 1555h47m44s
- P2-1: 10处 except 审查改进(细化异常类型、添加日志) - P2-2: 22个路由函数类型注解补全 - P2-3: edit_plans.py 拆分为 4 个模块(CRUD/generation/ai/timeline) - P2-4: generate_video + generate_plan 大函数拆分 - P2-5: unified_render_service.py 拆分(1517→984行) - render_audio.py: 音频混音模块(RenderContext + mix/merge 函数) - render_subtitles.py: ASS 字幕生成模块 - P2-6: 6个未使用配置项删除确认 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -130,8 +130,8 @@ class VideoProcessor:
|
||||
if concat_file is not None:
|
||||
try:
|
||||
concat_file.close()
|
||||
except Exception:
|
||||
pass # 忽略关闭时的错误
|
||||
except OSError as close_err:
|
||||
logger.warning("临时文件关闭失败: %s", close_err)
|
||||
|
||||
def generate_thumbnail(
|
||||
self,
|
||||
|
||||
Reference in New Issue
Block a user