Commit Graph

9 Commits

Author SHA1 Message Date
CI Bot be082ff6a3 style: black格式化测试文件
Preview Deploy / Deploy Preview Environment (pull_request) Failing after 16s
CI/CD Pipeline / Check if frontend-only change (pull_request) Successful in 21s
AI Code Review / AI Code Review (pull_request) Failing after 37s
CI/CD Pipeline / Frontend Lint (pull_request) Successful in 49s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 39s
Auto Merge CI PRs / Auto Merge on CI Green + Approved (pull_request) Successful in 1m9s
CI/CD Pipeline / Unit Tests (pull_request) Successful in 26s
Auto Approve CI PRs / Auto Approve on CI Green (pull_request) Successful in 1m40s
CI/CD Pipeline / Integration Tests (pull_request) Successful in 1m33s
CI Build & Deploy Pipeline / Production Browser E2E (pull_request) Failing after 1440h47m56s
CI Build & Deploy Pipeline / Staging E2E Tests (pull_request) Failing after 1440h47m56s
CI Build & Deploy Pipeline / Deploy Production (pull_request) Failing after 1440h47m58s
CI Build & Deploy Pipeline / Deploy Staging (Watchtower auto-deploy) (pull_request) Failing after 1440h47m58s
CI Build & Deploy Pipeline / Build Production Web Image (pull_request) Failing after 1440h48m0s
CI Build & Deploy Pipeline / Build Production API Image (pull_request) Failing after 1440h48m0s
CI Build & Deploy Pipeline / Build Staging Web Image (pull_request) Failing after 1440h48m0s
CI Build & Deploy Pipeline / Build Staging API Image (pull_request) Failing after 1440h48m1s
CI Build & Deploy Pipeline / Staging API Integration Tests (pull_request) Failing after 1441h19m58s
CI Build & Deploy Pipeline / Build Production Worker Image (pull_request) Failing after 1441h20m2s
CI Build & Deploy Pipeline / Build Staging Worker Image (pull_request) Failing after 1441h20m2s
2026-07-18 14:41:27 +08:00
CI Bot 9a2eb0ca60 fix(P0): legacy渲染引擎补全5项normalize + 错误日志增强
Preview Deploy / Deploy Preview Environment (pull_request) Failing after 16s
CI/CD Pipeline / Check if frontend-only change (pull_request) Successful in 5s
AI Code Review / AI Code Review (pull_request) Failing after 34s
CI/CD Pipeline / Frontend Lint (pull_request) Successful in 51s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 40s
Auto Merge CI PRs / Auto Merge on CI Green + Approved (pull_request) Successful in 1m28s
CI/CD Pipeline / Unit Tests (pull_request) Successful in 25s
Auto Approve CI PRs / Auto Approve on CI Green (pull_request) Successful in 1m50s
CI/CD Pipeline / Integration Tests (pull_request) Successful in 1m48s
CI Build & Deploy Pipeline / Production Browser E2E (pull_request) Failing after 1441h0m58s
CI Build & Deploy Pipeline / Staging E2E Tests (pull_request) Failing after 1441h1m0s
CI Build & Deploy Pipeline / Build Production Worker Image (pull_request) Failing after 1441h1m2s
CI Build & Deploy Pipeline / Deploy Production (pull_request) Failing after 1441h1m0s
CI Build & Deploy Pipeline / Build Production API Image (pull_request) Failing after 1441h1m2s
CI Build & Deploy Pipeline / Deploy Staging (Watchtower auto-deploy) (pull_request) Failing after 1441h1m2s
CI Build & Deploy Pipeline / Build Staging API Image (pull_request) Failing after 1441h1m5s
CI Build & Deploy Pipeline / Build Staging Worker Image (pull_request) Failing after 1441h1m5s
CI Build & Deploy Pipeline / Staging API Integration Tests (pull_request) Failing after 1441h33m1s
CI Build & Deploy Pipeline / Build Production Web Image (pull_request) Failing after 1441h33m3s
CI Build & Deploy Pipeline / Build Staging Web Image (pull_request) Failing after 1441h33m6s
背景:one_take模式用横屏+不同编码/采样率的素材渲染exit=234崩溃。
根因是concat前视频/音频格式不完全统一,且错误日志只输出版本号看不到真正报错。

修复1 — 视频像素格式统一:
- _build_clip_filter 加 format=yuv420p,放在pad之后fps之前
- 确保 concat 前所有片段像素格式一致(yuv420p/yuv422p/yuv444p/nv12等都统一)

修复2 — xfade路径音频归一化:
- _build_xfade_filter 的音频concat前加 aformat 归一化(48000Hz+stereo+fltp)
- 之前只修了concat路径,xfade(转场)路径漏了

修复3 — legacy渲染错误日志增强:
- 失败时输出完整 ffmpeg 命令(前2000字符)
- 输出完整 stderr 最后1500字符(真正的错误信息)
- 输出 exit code
- 之前只输出版本号,完全看不到 concat 失败的真实原因

测试:新增3个单测(format=yuv420p、xfade音频归一化、xfade单音频acopy),42个相关单测全过

关联:#406
2026-07-18 14:27:56 +08:00
xiaoxia c08ef726f7 fix: legacy渲染引擎concat前音频不归一化exit=234 + 视频改为pad留黑边 (#503)
CI Build & Deploy Pipeline / Production Browser E2E (push) Failing after 1441h36m59s
CI Build & Deploy Pipeline / Build Production Worker Image (push) Failing after 1441h37m1s
CI Build & Deploy Pipeline / Build Production Web Image (push) Failing after 1441h37m1s
CI/CD Pipeline / Check if frontend-only change (push) Failing after 1441h37m27s
CI Build & Deploy Pipeline / Build Production API Image (push) Failing after 1441h37m1s
CI Build & Deploy Pipeline / Build Staging API Image (push) Has been skipped
CI Build & Deploy Pipeline / Build Staging Web Image (push) Has been skipped
CI Build & Deploy Pipeline / Build Staging Worker Image (push) Has been skipped
CI Build & Deploy Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Has been skipped
CI Build & Deploy Pipeline / Staging E2E Tests (push) Failing after 2m19s
CI Build & Deploy Pipeline / Staging API Integration Tests (push) Has been skipped
CI Build & Deploy Pipeline / Deploy Production (push) Failing after 1442h9m1s
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been skipped
CI/CD Pipeline / Unit Tests (push) Has been skipped
CI/CD Pipeline / Integration Tests (push) Has been skipped
CI/CD Pipeline / Frontend Lint (push) Has been skipped
Co-authored-by: xiaoxia <dev@xiaoxiajianji.com>
Co-committed-by: xiaoxia <dev@xiaoxiajianji.com>
2026-07-18 13:52:11 +08:00
xiaoxia 8f5176aadb fix: 渲染失败三重修复 - legacy fps滤镜 + 横屏过滤 + legacy分辨率读取 (#500)
CI Build & Deploy Pipeline / Staging E2E Tests (push) Has been cancelled
CI Build & Deploy Pipeline / Staging API Integration Tests (push) Has been cancelled
CI Build & Deploy Pipeline / Production Browser E2E (push) Failing after 1442h17m1s
CI Build & Deploy Pipeline / Build Production Worker Image (push) Failing after 1442h17m4s
CI Build & Deploy Pipeline / Build Production Web Image (push) Failing after 1442h17m4s
CI/CD Pipeline / Check if frontend-only change (push) Failing after 1442h17m41s
CI Build & Deploy Pipeline / Build Production API Image (push) Failing after 1442h17m4s
CI Build & Deploy Pipeline / Build Staging API Image (push) Has been skipped
CI Build & Deploy Pipeline / Build Staging Web Image (push) Has been skipped
CI Build & Deploy Pipeline / Build Staging Worker Image (push) Has been skipped
CI Build & Deploy Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Has been skipped
CI Build & Deploy Pipeline / Deploy Production (push) Failing after 1442h49m3s
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been skipped
CI/CD Pipeline / Unit Tests (push) Has been skipped
CI/CD Pipeline / Integration Tests (push) Has been skipped
CI/CD Pipeline / Frontend Lint (push) Has been skipped
Co-authored-by: xiaoxia <dev@xiaoxiajianji.com>
Co-committed-by: xiaoxia <dev@xiaoxiajianji.com>
2026-07-18 13:11:59 +08:00
CI Bot 1a57878f76 chore(backend): Phase 3 清理 — 未使用依赖删除 + pyflakes 警告清零 + 测试文件冗余清理
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 1m12s
CI/CD Pipeline / Unit Tests (pull_request) Failing after 2m17s
CI/CD Pipeline / Integration Tests (pull_request) Failing after 1m33s
CI/CD Pipeline / Production Browser E2E (pull_request) Failing after 1559h12m3s
CI/CD Pipeline / Staging API Integration Tests (pull_request) Failing after 1559h12m3s
CI/CD Pipeline / Staging E2E Tests (pull_request) Failing after 1559h12m4s
CI/CD Pipeline / Build Production Runtime Images (pull_request) Failing after 1559h12m4s
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (pull_request) Failing after 1559h12m4s
CI/CD Pipeline / Deploy Production (pull_request) Failing after 1559h43m37s
CI/CD Pipeline / Frontend Lint (pull_request) Has been skipped
1. 未使用依赖清理:
   - 从 requirements-base.txt 移除 cryptography 和 pyOpenSSL

2. pyflakes 警告清零 (apps/ + packages/ + tests/):
   - 移除 17 处未使用的 import (F401)
   - 修复 26 处未使用的局部变量 (F841):
     * 有副作用的赋值转为裸调用
     * 无副作用的赋值直接删除
   - 修复 1 处未使用的异常变量 (F841)
   - 修复 1 处空 except 块

3. 测试文件冗余清理:
   - 删除 tests/integration/test_project_management.py (模块级 skip,测试不存在的模块)
   - 删除 tests/integration/fixtures/duplication_routes_fixed.py (未被引用)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-13 16:14:46 +08:00
灵应 e25fd86171 style: 后端代码isort import排序
Deploy / Deploy Staging (push) Failing after 137h58m6s
CI/CD Pipeline / Frontend Lint (push) Failing after 137h58m12s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 137h58m12s
Deploy / Staging E2E Tests (push) Failing after 1796h33m35s
Deploy / Production Browser E2E (push) Failing after 1796h33m37s
Deploy / Deploy Production (push) Failing after 1796h33m40s
Deploy / Build Production Runtime Images (push) Failing after 1796h33m42s
2026-07-03 18:56:16 +08:00
灵应 8935196fcd style: 后端代码black格式化
Deploy / Deploy Staging (push) Failing after 138h4m33s
CI/CD Pipeline / Frontend Lint (push) Failing after 138h4m39s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 138h4m39s
Deploy / Staging E2E Tests (push) Failing after 1796h40m0s
Deploy / Production Browser E2E (push) Failing after 1796h40m1s
Deploy / Build Production Runtime Images (push) Failing after 1796h40m6s
Deploy / Deploy Production (push) Failing after 1797h11m28s
2026-07-03 18:49:54 +08:00
灵应 17fc46c662 fix: 修复 _has_audio() 始终返回 True 的 P0 问题
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 183h54m54s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 183h54m58s
Deploy / Deploy Staging (push) Failing after 183h55m26s
CI/CD Pipeline / Frontend Lint (push) Failing after 183h55m54s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 183h55m58s
Deploy / Production Browser E2E (push) Failing after 1842h30m35s
Deploy / Build Production Runtime Images (push) Failing after 1842h31m8s
Deploy / Deploy Production (push) Failing after 1843h2m0s
- 仅当 clip_type 不是 title/subtitle 时才设置 audio_label
- title/subtitle 是纯文字/图片卡片,没有音频流
- 添加 7 个单元测试验证修复逻辑
- 所有 36 个测试通过
2026-07-01 20:58:31 +08:00
xiaoxia e3706bd652 Merge conflict resolved: combine both services imports 2026-07-01 20:58:31 +08:00