xiaoxia
|
7c587001a6
|
fix: voice_clones.py black格式化修复
Deploy / Staging E2E Tests (push) Has been cancelled
Deploy / Build Production Runtime Images (push) Has been cancelled
Deploy / Deploy Production (push) Has been cancelled
Deploy / Production Browser E2E (push) Has been cancelled
Deploy / Deploy Staging (push) Has been cancelled
CI/CD Pipeline / Frontend Lint (push) Failing after 134h37m23s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 134h37m38s
|
2026-07-03 22:16:45 +08:00 |
|
xiaoxia
|
fd90d7730c
|
fix: CI全面修复 - node镜像拉取/204响应体断言/phash测试用例
Deploy / Staging E2E Tests (push) Has been cancelled
Deploy / Build Production Runtime Images (push) Has been cancelled
Deploy / Deploy Production (push) Has been cancelled
Deploy / Production Browser E2E (push) Has been cancelled
Deploy / Deploy Staging (push) Has been cancelled
CI/CD Pipeline / Frontend Lint (push) Failing after 135h4m5s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 135h4m5s
1. 前端node镜像去掉--pull=never,缺失时自动拉取
- ci-cd.yml: 5处前端lint/test步骤
- deploy.yml: 2处web构建步骤
2. 修复from __future__ import annotations导致的204路由断言失败
- FastAPI 0.115 把字符串"None"当作有效response_model
- 给9个路由文件的204 DELETE路由显式加response_model=None
3. 修复phash测试用例:纯色图pHash必然相同(DC分量被排除)
- 改用随机噪声图测试差异性
|
2026-07-03 21:50:12 +08:00 |
|
灵应
|
9519216df4
|
fix: 全面修复CI Validate阶段所有检查失败项
Deploy / Deploy Staging (push) Failing after 135h48m2s
CI/CD Pipeline / Frontend Lint (push) Failing after 135h48m25s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 135h48m25s
Deploy / Staging E2E Tests (push) Failing after 1794h20m11s
Deploy / Deploy Production (push) Failing after 1794h23m52s
Deploy / Build Production Runtime Images (push) Failing after 1794h23m54s
Deploy / Production Browser E2E (push) Failing after 1794h55m15s
- 修复 video_compose_service.py StrEnum Python 3.10 兼容性(添加回退实现)
- 修复 test_dedup_engine.py celery mock 污染导致测试收集失败
- 修复 edit_plans.py update_plan 路由:不存在返回 404 而非 400
- 修复 edit_plans.py generate_plan/get_generation_status 路由:不存在返回 404
- 修复 edit_templates.py update_template 路由:不存在返回 404 而非 400
- 修复 upload.py 添加 image/svg+xml 到允许的 MIME 类型
- 修复 test_edit_plans_api.py StubEditPlanRepository 添加 delete_by_plan 方法
CI Validate 8 项检查全部通过:compileall/black/isort/flake8/bandit/bash-n/alembic/pytest
831 单元测试全部通过,0 失败
|
2026-07-03 21:06:05 +08:00 |
|
灵应
|
3dcba4c44c
|
fix: 修复Bandit安全扫描硬编码临时目录问题
Deploy / Deploy Staging (push) Failing after 137h5m41s
CI/CD Pipeline / Frontend Lint (push) Failing after 137h5m49s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 137h5m53s
Deploy / Staging E2E Tests (push) Failing after 1795h41m12s
Deploy / Deploy Production (push) Failing after 1795h41m15s
Deploy / Build Production Runtime Images (push) Failing after 1795h41m17s
Deploy / Production Browser E2E (push) Failing after 1796h12m37s
|
2026-07-03 19:48:11 +08:00 |
|
灵应
|
5ca3bbab31
|
fix: 修复flake8代码质量检查错误
Deploy / Deploy Staging (push) Failing after 137h30m1s
CI/CD Pipeline / Frontend Lint (push) Failing after 137h30m2s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 137h30m16s
Deploy / Production Browser E2E (push) Failing after 1796h5m29s
Deploy / Staging E2E Tests (push) Failing after 1796h5m31s
Deploy / Build Production Runtime Images (push) Failing after 1796h5m33s
Deploy / Deploy Production (push) Failing after 1796h36m56s
|
2026-07-03 19:24:17 +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 |
|
灵应
|
6f2b938bc0
|
refactor: 前端代码清理-移除无用代码和遗留demo
Deploy / Staging E2E Tests (push) Has been cancelled
Deploy / Build Production Runtime Images (push) Has been cancelled
Deploy / Deploy Production (push) Has been cancelled
Deploy / Production Browser E2E (push) Has been cancelled
Deploy / Deploy Staging (push) Has been cancelled
CI/CD Pipeline / Frontend Lint (push) Failing after 138h57m55s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 138h58m2s
- 删除 apps/web/app/ 遗留 Next.js demo 目录(9 个文件)
该目录是早期项目推进器 demo,与主 Vite 应用完全隔离,不被 src/ 引用
- 删除 3 个未被 import 的 editing-planner 组件
TemplatePanel.tsx / SettingsPanel.tsx / GenerateModal.tsx
- 移除 3 个未使用的 npm 依赖
react-hook-form / recharts / zod(仅 package.json 声明,源码无引用)
- TypeScript 零错误,Vite 构建正常通过
|
2026-07-03 17:56:29 +08:00 |
|
灵应
|
5bcf6bcb11
|
fix: 修复AssetLibrary和TemplateLibrary类型错误
CI/CD Pipeline / Frontend Lint (push) Failing after 139h10m2s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 139h10m2s
Deploy / Production Browser E2E (push) Failing after 1797h45m10s
Deploy / Build Production Runtime Images (push) Failing after 1797h45m15s
Deploy / Deploy Staging (push) Has been cancelled
Deploy / Staging E2E Tests (push) Has been cancelled
Deploy / Deploy Production (push) Failing after 1798h16m38s
|
2026-07-03 17:44:26 +08:00 |
|
xiaoxia
|
c126daeda5
|
Merge develop → main: Phase 1-3 全量上线 + workspace清理(v0.1.109)
Auto Merge PRs / auto-merge (push) Failing after 1m31s
CI/CD Pipeline / Frontend Lint (push) Failing after 140h1m30s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 140h1m30s
Deploy / Build Production Runtime Images (push) Failing after 140h0m57s
Deploy / Deploy Staging (push) Failing after 1798h37m4s
Deploy / Production Browser E2E (push) Failing after 1798h21m51s
Deploy / Deploy Production (push) Failing after 1798h21m53s
Deploy / Staging E2E Tests (push) Failing after 1798h36m59s
|
2026-07-03 16:52:36 +08:00 |
|
灵应
|
fd8741f21c
|
fix: 清理前端workspace残留,修复项目创建失败
Deploy / Deploy Staging (push) Failing after 140h8m22s
CI/CD Pipeline / Frontend Lint (push) Failing after 140h8m31s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 140h8m31s
Deploy / Staging E2E Tests (push) Failing after 1798h44m0s
Deploy / Deploy Production (push) Failing after 1798h44m2s
Deploy / Build Production Runtime Images (push) Failing after 1798h44m4s
Deploy / Production Browser E2E (push) Failing after 1799h15m25s
|
2026-07-03 16:46:00 +08:00 |
|
灵应
|
ee5b3ece7b
|
chore: 清理后端 workspace 残留代码
CI/CD Pipeline / Frontend Lint (push) Failing after 140h9m10s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 140h9m10s
Deploy / Production Browser E2E (push) Failing after 1798h44m44s
Deploy / Build Production Runtime Images (push) Failing after 1798h44m47s
Deploy / Deploy Staging (push) Has been cancelled
Deploy / Staging E2E Tests (push) Has been cancelled
Deploy / Deploy Production (push) Failing after 1799h16m10s
- 删除 email_service.py 中 send_workspace_invitation_email 方法(NoopEmailService + EmailService)
- 更新 auth.py 中间件注释,移除 workspace 引用
- 更新 packages/domain/permissions.py 注释
- 删除空的 routes/permissions.py 文件
项目创建链路已验证完全独立于 workspace,无功能性影响。
|
2026-07-03 16:45:19 +08:00 |
|
xiaoxia
|
21fc2869ff
|
test(phase2): 完善 E2E 错误场景测试、Playwright 接入 CI、API 集成测试补充
Deploy / Deploy Staging (push) Failing after 141h54m7s
CI/CD Pipeline / Frontend Lint (push) Failing after 141h54m17s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 141h54m17s
Deploy / Production Browser E2E (push) Failing after 1800h29m39s
Deploy / Staging E2E Tests (push) Failing after 1800h29m41s
Deploy / Build Production Runtime Images (push) Failing after 1800h29m47s
Deploy / Deploy Production (push) Failing after 1801h1m7s
|
2026-07-03 15:00:03 +08:00 |
|
xiaoxia
|
9e71122f6e
|
fix: 清理已移除 workspace 概念的残留引用
Deploy / Deploy Staging (push) Failing after 142h39m26s
CI/CD Pipeline / Frontend Lint (push) Failing after 142h39m50s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 142h39m57s
Deploy / Production Browser E2E (push) Failing after 1801h15m4s
Deploy / Deploy Production (push) Failing after 1801h15m6s
Deploy / Build Production Runtime Images (push) Failing after 1801h15m8s
问题: 迁移 009 已移除 workspace 概念(数据库表已删除),但测试和前端
代码中仍残留大量 workspace API 引用,导致部署时测试失败。
修复内容:
- 删除 test_workspace.spec.ts (测试不存在的 /workspaces API)
- 修复 core-titles.spec.ts 移除 workspace 创建和 workspace_id 参数
- 修复 core-upload.spec.ts 移除 workspace 创建和 workspace_id 参数
- 修复前端组件 (CreateIssueForm, CreateTaskForm) 移除 workspaceId props
- 修复前端页面 (milestones, projects, tasks) 移除 workspace 引用
验证: router.py 引用的全部 25 个路由文件均存在,无缺失
|
2026-07-03 14:14:21 +08:00 |
|
xiaoxia
|
a5e5ba4426
|
test: 添加核心流程 E2E 测试
Deploy / Deploy Staging (push) Failing after 142h46m12s
CI/CD Pipeline / Frontend Lint (push) Failing after 142h46m42s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 142h46m50s
Deploy / Production Browser E2E (push) Failing after 1801h21m50s
Deploy / Build Production Runtime Images (push) Failing after 1801h21m54s
Deploy / Deploy Production (push) Failing after 1801h53m17s
- 认证流程(注册/登录/登出/获取用户信息,正向+反向共 10 个用例)
- 工作空间流程(创建/列出/详情/成员,共 6 个用例)
- 项目流程(创建/列出/详情/未授权,共 6 个用例)
- 素材库流程(创建库/列出库/创建素材/列出素材,共 8 个用例)
共 30 个回归测试用例,覆盖视频生成 SaaS 核心业务路径。
|
2026-07-03 14:07:29 +08:00 |
|
xiaoxia
|
54c88e58a3
|
Merge pull request 'Release: 补齐 timeline API (P2收尾) (2026-07-03)' (#182) from develop into main
Deploy / Deploy Staging (push) Failing after 146h48m34s
CI/CD Pipeline / Frontend Lint (push) Failing after 146h49m2s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 146h49m11s
Deploy / Production Browser E2E (push) Failing after 1805h24m10s
Deploy / Deploy Production (push) Failing after 1805h24m11s
Deploy / Build Production Runtime Images (push) Failing after 1805h24m16s
|
2026-07-03 09:59:22 +08:00 |
|
CI Test
|
029832f19c
|
feat: 添加剪辑计划时间线场景 API (GET /edit-plans/{id}/timeline)
Tests / lint (pull_request) Failing after 146h49m11s
Tests / test (pull_request) Failing after 146h49m12s
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 146h50m20s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 146h50m25s
Deploy / Deploy Staging (push) Failing after 146h50m59s
CI/CD Pipeline / Frontend Lint (push) Failing after 146h51m40s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 146h51m52s
Deploy / Production Browser E2E (push) Failing after 1805h24m11s
Deploy / Deploy Production (push) Failing after 1805h24m13s
Deploy / Build Production Runtime Images (push) Failing after 1805h26m37s
|
2026-07-03 09:46:35 +08:00 |
|
xiaoxia
|
8858a137b1
|
Merge pull request 'Release: 安全修复 + 代码优化 + Mock替换 (2026-07-03)' (#181) from develop into main
CI/CD Pipeline / Frontend Lint (push) Failing after 147h8m46s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 147h8m55s
Deploy / Deploy Staging (push) Failing after 147h8m22s
Deploy / Build Production Runtime Images (push) Failing after 1805h44m6s
Deploy / Deploy Production (push) Failing after 1805h26m37s
Deploy / Production Browser E2E (push) Failing after 1805h24m13s
|
2026-07-03 09:43:26 +08:00 |
|
CI Test
|
87b8bb9ffd
|
fix: 简化 /ready 端点,仅返回 {status: ready}
Deploy / Deploy Staging (push) Failing after 147h9m18s
Tests / lint (pull_request) Failing after 147h9m18s
Tests / test (pull_request) Failing after 147h9m18s
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 147h9m44s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 147h9m50s
CI/CD Pipeline / Frontend Lint (push) Failing after 147h10m16s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 147h10m22s
Deploy / Production Browser E2E (push) Failing after 1805h24m14s
Deploy / Deploy Production (push) Failing after 1805h28m0s
Deploy / Build Production Runtime Images (push) Failing after 1805h45m3s
|
2026-07-03 09:43:08 +08:00 |
|
CI Test
|
16d735c261
|
fix(security): 禁用 SVG 上传防止 XSS 风险
Deploy / Build Production Runtime Images (push) Has been cancelled
Deploy / Deploy Production (push) Has been cancelled
Deploy / Production Browser E2E (push) Has been cancelled
Deploy / Deploy Staging (push) Has been cancelled
Tests / lint (pull_request) Failing after 147h11m28s
Tests / test (pull_request) Failing after 147h11m28s
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 147h11m53s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 147h11m59s
CI/CD Pipeline / Frontend Lint (push) Failing after 147h12m49s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 147h12m56s
|
2026-07-03 09:41:35 +08:00 |
|
CI Test
|
d6b11ea1cd
|
fix: 清理全局 except:pass(22处)改为 logger.warning 记录异常
Tests / lint (pull_request) Failing after 147h14m3s
Tests / test (pull_request) Failing after 147h14m3s
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 147h14m28s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 147h14m34s
Deploy / Deploy Staging (push) Failing after 147h14m58s
CI/CD Pipeline / Frontend Lint (push) Failing after 147h15m21s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 147h15m27s
Deploy / Production Browser E2E (push) Failing after 1805h50m9s
Deploy / Build Production Runtime Images (push) Failing after 1805h50m42s
Deploy / Deploy Production (push) Failing after 1806h21m35s
|
2026-07-03 09:38:57 +08:00 |
|
CI Test
|
c89dee34e6
|
feat: replace mock data with real API calls
Tests / lint (pull_request) Failing after 147h19m56s
Tests / test (pull_request) Failing after 147h19m56s
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 147h20m22s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 147h20m27s
Deploy / Deploy Staging (push) Failing after 148h3m13s
CI/CD Pipeline / Frontend Lint (push) Failing after 148h3m39s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 148h3m45s
Deploy / Production Browser E2E (push) Failing after 1806h38m54s
Deploy / Build Production Runtime Images (push) Failing after 1806h38m59s
Deploy / Deploy Production (push) Failing after 1807h10m21s
|
2026-07-03 08:50:43 +08:00 |
|
CI Test
|
632c499d36
|
fix: 账单返回空数组修复 - 从数据库查询账单记录
Deploy / Build Production Runtime Images (push) Has been cancelled
Deploy / Deploy Production (push) Has been cancelled
Deploy / Production Browser E2E (push) Has been cancelled
Deploy / Deploy Staging (push) Has been cancelled
CI/CD Pipeline / Frontend Lint (push) Failing after 148h13m0s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 148h13m7s
- billing-records 端点改为从 billing_records 表查询
- 按创建时间倒序返回,最多 50 条
|
2026-07-03 08:38:41 +08:00 |
|
CI Test
|
32101d95bd
|
fix: 订阅续费事务修复 - 支付回调在数据库事务中更新订阅
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
CI/CD Pipeline / Frontend Lint (push) Has been cancelled
Deploy / Deploy Staging (push) Has been cancelled
Deploy / Build Production Runtime Images (push) Has been cancelled
Deploy / Deploy Production (push) Has been cancelled
Deploy / Production Browser E2E (push) Has been cancelled
- 新增 BillingRecordModel 账单记录表
- 新增 SQLAlchemyBillingRepository 账单仓库
- 新增 /payment-callback 端点,事务内完成账单标记和订阅更新
- 支付失败时自动回滚事务
|
2026-07-03 08:38:41 +08:00 |
|
CI Test
|
464e13686e
|
fix: 修复 Image.open() 资源泄漏
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
CI/CD Pipeline / Frontend Lint (push) Has been cancelled
Deploy / Deploy Staging (push) Has been cancelled
Deploy / Build Production Runtime Images (push) Has been cancelled
Deploy / Deploy Production (push) Has been cancelled
Deploy / Production Browser E2E (push) Has been cancelled
- asset_analyzer.py _load_image_as_array 使用 with 语句确保文件句柄关闭
|
2026-07-03 08:36:39 +08:00 |
|
CI Test
|
86029314f5
|
fix(security): JWT logout 黑名单机制
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
CI/CD Pipeline / Frontend Lint (push) Has been cancelled
Deploy / Deploy Staging (push) Has been cancelled
Deploy / Build Production Runtime Images (push) Has been cancelled
Deploy / Deploy Production (push) Has been cancelled
Deploy / Production Browser E2E (push) Has been cancelled
- auth.py 添加 blacklist_token/is_token_blacklisted 函数
- _decode_user_token 增加黑名单检查
- 新增 /auth/logout 端点,将 token 加入 Redis 黑名单
- 黑名单 TTL 与 token 剩余有效期一致,自动过期清理
|
2026-07-03 08:36:06 +08:00 |
|
CI Test
|
58b7c876a5
|
fix(security): 移除遗留 tasks.py 消除 Celery 任务名冲突
Deploy / Build Production Runtime Images (push) Has been cancelled
Deploy / Deploy Production (push) Has been cancelled
Deploy / Production Browser E2E (push) Has been cancelled
Deploy / Deploy Staging (push) Has been cancelled
CI/CD Pipeline / Frontend Lint (push) Failing after 148h20m37s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 148h20m43s
- 删除 apps/worker/tasks.py(遗留文件,其依赖的 celery_app.py 已不存在)
- 该文件中的 worker.generate_video 与 worker_app/tasks/generation.py 冲突
- 活跃版本在 worker_app/tasks/generation.py,由当前 celery_app 加载
|
2026-07-03 08:33:42 +08:00 |
|
CI Test
|
a4991628be
|
fix(security): /metrics 端点添加 Bearer Token 认证
Deploy / Deploy Staging (push) Has been cancelled
Deploy / Build Production Runtime Images (push) Has been cancelled
Deploy / Deploy Production (push) Has been cancelled
Deploy / Production Browser E2E (push) Has been cancelled
CI/CD Pipeline / Frontend Lint (push) Failing after 148h21m16s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 148h21m22s
- 通过 METRICS_AUTH_TOKEN 环境变量配置认证 Token
- 未配置 Token 时不启用认证(向后兼容)
- 认证失败返回 401 Unauthorized
|
2026-07-03 08:32:49 +08:00 |
|
CI Test
|
c11e579412
|
fix(security): 生产环境禁用 Swagger 文档防止信息泄露
Deploy / Deploy Staging (push) Has been cancelled
Deploy / Build Production Runtime Images (push) Has been cancelled
Deploy / Deploy Production (push) Has been cancelled
Deploy / Production Browser E2E (push) Has been cancelled
CI/CD Pipeline / Frontend Lint (push) Failing after 148h21m51s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 148h21m57s
- ENVIRONMENT=production 时 docs_url/redoc_url/openapi_url 设为 None
- 开发/测试环境不受影响
|
2026-07-03 08:32:17 +08:00 |
|
CI Test
|
c1a89ae221
|
fix(security): 注册登录接口 RateLimitMiddleware 防止暴力破解
Deploy / Build Production Runtime Images (push) Has been cancelled
Deploy / Deploy Production (push) Has been cancelled
Deploy / Production Browser E2E (push) Has been cancelled
Deploy / Deploy Staging (push) Has been cancelled
CI/CD Pipeline / Frontend Lint (push) Failing after 148h23m2s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 148h23m8s
- RateLimitMiddleware 增加 paths 参数支持路径过滤
- 在 main.py 注册登录限流:每 IP 每分钟最多 10 次
- 仅针对 /api/v1/auth/login 路径
|
2026-07-03 08:29:52 +08:00 |
|
CI Test
|
abfc598d3f
|
refactor: 代码精简优化 - 移除无用代码和重复定义
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 156h9m36s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 156h9m43s
1. 删除无用文件:
- apps/api/app/core/database.py (未被引用的死代码)
- requirements-quality.txt (与 requirements-dev.txt 完全重复)
- fix_script.py, fix_tracker_encoding.py (一次性修复脚本)
- init_tracker_phase4.py, init_tracker_simple.py, update_tracker.py (SQLite迁移脚本)
2. 清理死代码:
- apps/api/app/db.py: 移除未使用的 get_db() 函数和 sqlalchemy.orm 导入
- 11个路由/中间件文件: 移除未使用的 import (os, datetime, BaseModel, Session, List 等)
3. 消除重复定义:
- apps/worker/video_processing/video_compose_service.py: 移除重复的 EditingMode 枚举
- 改为从 packages.domain.editing_mode 导入统一的 EditingMode
影响: 无功能变更,仅移除未使用的代码
|
2026-07-03 00:44:29 +08:00 |
|
xiaoxia
|
4d1a0925d3
|
fix: correct 204 response in edit_templates delete endpoint
Deploy / Deploy Staging (push) Failing after 159h30m34s
CI/CD Pipeline / Frontend Lint (push) Failing after 159h31m5s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 159h31m10s
Deploy / Production Browser E2E (push) Failing after 1817h50m45s
Deploy / Deploy Production (push) Failing after 1817h50m46s
Deploy / Build Production Runtime Images (push) Failing after 1817h53m24s
Change return type to Response, add explicit return Response(status_code=204)
|
2026-07-02 21:15:20 +08:00 |
|
xiaoxia
|
167ee9a9d7
|
fix: correct 204 response in edit_plans delete endpoint
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
CI/CD Pipeline / Frontend Lint (push) Has been cancelled
Deploy / Deploy Staging (push) Has been cancelled
Deploy / Build Production Runtime Images (push) Has been cancelled
Deploy / Deploy Production (push) Has been cancelled
Deploy / Production Browser E2E (push) Has been cancelled
Remove response_class=Response, change return type to Response, add explicit return Response(status_code=204)
|
2026-07-02 21:15:13 +08:00 |
|
xiaoxia
|
d0e4235828
|
Merge pull request 'hotfix: 修复 204 状态码 response_class=Response 导致 API 容器崩溃' (#177) from hotfix/fix-204-response-class into main
CI/CD Pipeline / Frontend Lint (push) Failing after 159h51m4s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 159h51m11s
Deploy / Deploy Staging (push) Failing after 159h50m29s
Deploy / Build Production Runtime Images (push) Failing after 1818h23m41s
Deploy / Deploy Production (push) Failing after 1818h7m22s
Deploy / Production Browser E2E (push) Failing after 1817h53m22s
|
2026-07-02 21:03:18 +08:00 |
|
灵应
|
09dd1546b7
|
hotfix: 移除 delete 路由的 response_class=Response 修复 204 断言崩溃
Deploy / Deploy Staging (push) Failing after 159h55m46s
CI/CD Pipeline / Frontend Lint (push) Failing after 159h56m19s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 159h56m26s
Deploy / Production Browser E2E (push) Failing after 1818h27m50s
Deploy / Build Production Runtime Images (push) Failing after 1818h27m54s
Deploy / Deploy Production (push) Failing after 1818h59m16s
FastAPI 不允许 status_code=204 同时指定 response_class=Response,
导致 API 容器启动时 AssertionError 不断重启。
修复 8 处 @router.delete 装饰器:
- duplication.py:242
- recipes.py:177
- templates.py:198, 276
- titles.py:146
- tts.py:179
- voice_clones.py:194
- voices.py:319
|
2026-07-02 20:57:58 +08:00 |
|
灵应
|
dd2808d17a
|
hotfix: 移除 delete 路由的 response_class=Response 修复 204 断言崩溃
Tests / lint (pull_request) Failing after 159h56m48s
Tests / test (pull_request) Failing after 159h56m48s
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 159h57m21s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 159h57m26s
CI/CD Pipeline / Frontend Lint (push) Failing after 159h58m2s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 159h58m8s
FastAPI 不允许 status_code=204 同时指定 response_class=Response,
导致 API 容器启动时 AssertionError 不断重启。
修复 8 处 @router.delete 装饰器:
- duplication.py:242
- recipes.py:177
- templates.py:198, 276
- titles.py:146
- tts.py:179
- voice_clones.py:194
- voices.py:319
|
2026-07-02 20:56:02 +08:00 |
|
xiaoxia
|
87a5ce84d3
|
fix(api): move Response import to correct position after other imports
Deploy / Deploy Staging (push) Failing after 160h15m5s
CI/CD Pipeline / Frontend Lint (push) Failing after 160h15m38s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 160h15m45s
Deploy / Production Browser E2E (push) Failing after 1818h50m39s
Deploy / Build Production Runtime Images (push) Failing after 1818h50m43s
Deploy / Deploy Production (push) Failing after 1819h22m5s
|
2026-07-02 20:33:46 +08:00 |
|
xiaoxia
|
bb21990173
|
fix(api): add response_class=Response to DELETE endpoint for 204 status
Deploy / Build Production Runtime Images (push) Has been cancelled
Deploy / Deploy Production (push) Has been cancelled
Deploy / Production Browser E2E (push) Has been cancelled
Deploy / Deploy Staging (push) Has been cancelled
CI/CD Pipeline / Frontend Lint (push) Failing after 160h22m25s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 160h22m27s
|
2026-07-02 20:32:05 +08:00 |
|
灵应
|
8dd0db58b8
|
fix: progress bar indeterminate animation (P2)
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 162h32m5s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 162h32m11s
- GeneratePage.tsx: processing 状态进度条改为 indeterminate 条纹流动动画
- MyVoices.tsx: 同上,移除硬编码 progress: 0 百分比显示
- generate.css: 添加 @keyframes xx-clone-progress-flow 条纹流动 + pulse 脉冲
- my-voices.css: 添加 @keyframes xx-mv-progress-flow 条纹流动 + pulse 脉冲
- 文本从 '0%' 改为 '处理中…',给用户处理中的视觉反馈
Fixes: P2 — progress 硬编码为 0,进度条永远显示 0%
|
2026-07-02 18:22:19 +08:00 |
|
Audit Bot
|
c52be9b036
|
feat: 任务 3.15 克隆进度展示 — 轮询 Hook + 进度条 + 状态标签
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 162h42m48s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 162h42m54s
- 新增 useCloneProgress hook:processing 状态自动 3s 轮询,全部就绪后停止
- 新增 voiceClone API 层:VoiceClone 类型、CRUD 函数、进度模拟
- 重构 MyVoices.tsx:使用共享 API 和 hook,支持进度条/状态标签/轮询提示
- 重构 GeneratePage.tsx 克隆区域:调用 createVoiceClone API,显示进度和状态
- 新增 generate.css / my-voices.css 进度条、轮询提示、状态变体样式
|
2026-07-02 18:11:17 +08:00 |
|
灵应
|
4dcadea20c
|
fix: PR #173 审计修复 — P1 真实文件上传 + P2-1 description 传递 + P2-2 setTimeout 清理
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 163h20m47s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 163h20m52s
Deploy / Deploy Staging (push) Failing after 163h20m54s
CI/CD Pipeline / Frontend Lint (push) Failing after 163h20m54s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 163h21m2s
Deploy / Production Browser E2E (push) Failing after 1821h56m54s
Deploy / Deploy Production (push) Failing after 1821h56m56s
Deploy / Build Production Runtime Images (push) Failing after 1821h57m2s
P1: 音频文件改用 uploadAsset() 上传获取真实 URL,替换 mock:// 假 URL
P2-1: createVoiceClone() 构造 payload 时传递 description 字段到后端
P2-2: 组件卸载时通过 timerRef + useEffect cleanup 清理 setTimeout
|
2026-07-02 17:33:19 +08:00 |
|
灵应
|
71a1d38a6a
|
feat: 任务 3.13 克隆 Modal 前端开发
- 新增 CloneModal 组件(components/voice/CloneModal.tsx)
- 三步引导:上传音频 → 填写信息 → 提交克隆
- 文件上传:支持 wav/mp3/m4a,≤10MB 验证,拖拽上传
- 音色名称:必填,2-20 字符验证
- 音色描述:可选,≤100 字符
- 错误处理:格式错误、大小超限、API 失败提示
- V21 设计系统样式(clone-modal.css)
- 扩展 voiceClone.ts API
- CreateVoiceCloneRequest 新增 description 可选字段
- createVoiceClone 函数传递 description 到后端
- 集成到 VoiceLibrary.tsx
- pageActions 新增「克隆音色」按钮
- 空状态按钮改为打开 CloneModal
- 克隆成功后刷新列表(invalidateQueries)
- TypeScript 零错误
- V21 Design System — 零 antd 直接导入
|
2026-07-02 17:31:49 +08:00 |
|
xiaoxia
|
127dc4a769
|
fix: IngestJobResponse.result_asset_id 改为可选字段
Deploy / Deploy Staging (push) Failing after 163h34m12s
CI/CD Pipeline / Frontend Lint (push) Failing after 163h34m13s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 163h34m19s
Deploy / Production Browser E2E (push) Failing after 1822h10m16s
Deploy / Build Production Runtime Images (push) Failing after 1822h10m20s
Deploy / Deploy Production (push) Failing after 1822h41m41s
|
2026-07-02 17:20:14 +08:00 |
|
灵应
|
e539105256
|
fix: 3.09 审计问题修复 — P1-1 TTS Celery 执行器 + P2-1~P2-4
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 163h53m1s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 163h53m6s
Deploy / Deploy Staging (push) Failing after 164h23m43s
CI/CD Pipeline / Frontend Lint (push) Failing after 164h23m43s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 164h23m50s
Deploy / Production Browser E2E (push) Failing after 1822h59m47s
Deploy / Deploy Production (push) Failing after 1822h59m48s
Deploy / Build Production Runtime Images (push) Failing after 1822h59m51s
P1-1 (阻塞性): TTS 合成完整异步链路
- CosyVoiceService 新增 submit_synthesize_task() + poll_synthesize_task()
- 新建 TTSWorkflowService 编排层 (packages/application/tts_job/workflow.py)
- 新建 Celery 任务 process_tts_synthesis (apps/worker/worker_app/tasks/tts_synthesis.py)
- 注册到 celery_app.conf.imports + tasks/__init__.py 懒加载
- TTS 路由 synthesize() 增加 CosyVoice 提交 + Celery 调度
P2-1: voice_clone.py 添加详细 Celery 重试策略注释
P2-2: 修复 voice_clone.py Session 泄漏 (session=None 安全模式)
P2-3: ListVoiceLibraryUseCase 返回 (items, count) 元组,消除重复 count_by_user()
P2-4: 新增 find_profile_ids_by_voice_ids() 批量方法,填充 voice_clone_profile_id
测试: 749 passed, 0 failed
|
2026-07-02 16:30:37 +08:00 |
|
xiaoxia
|
7efce724ae
|
Merge pull request 'feat: 任务 3.14 一键生成功能前端对接 TTS API' (#172) from feature/task-314-tts-integration into develop
Deploy / Deploy Staging (push) Failing after 165h41m37s
CI/CD Pipeline / Frontend Lint (push) Failing after 165h42m11s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 165h42m19s
Deploy / Production Browser E2E (push) Failing after 1824h16m2s
Deploy / Deploy Production (push) Failing after 1824h16m2s
Deploy / Build Production Runtime Images (push) Failing after 1824h16m7s
|
2026-07-02 15:11:49 +08:00 |
|
灵应
|
796aeff499
|
fix: 修复 PR #169 代码审查发现的 4 个 P2 问题
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 166h12m36s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 166h12m41s
Deploy / Deploy Staging (push) Failing after 166h15m4s
CI/CD Pipeline / Frontend Lint (push) Failing after 166h15m32s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 166h15m39s
Deploy / Production Browser E2E (push) Failing after 1824h48m13s
Deploy / Build Production Runtime Images (push) Failing after 1824h48m51s
Deploy / Deploy Production (push) Failing after 1825h19m38s
P2-1: workflow.py start_clone() 将 mark_processing() 移到音频 URL 检查之后,
无 URL 时保持 pending 状态,避免永久卡在 processing
P2-2: voice_clone.py Celery 任务改用 VoiceCloneWorkflowService 公开方法
(process_clone_result/process_clone_failure),不再直接操作 profile
P2-3: voice_clones.py 路由中 Celery .delay() 失败时调用
process_clone_failure() 标记 profile 为 failed(create + retry 两个路由)
P2-4: 由 P2-2 修复自动解决
同步更新 test_voice_clone_workflow.py 测试用例适配 P2-1 行为变更
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
2026-07-02 14:37:37 +08:00 |
|
灵应
|
c7fe28a0d0
|
feat: 任务 3.14 一键生成功能前端对接 TTS API
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 166h16m44s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 166h16m49s
Deploy / Deploy Staging (push) Failing after 166h18m39s
CI/CD Pipeline / Frontend Lint (push) Failing after 166h19m9s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 166h19m16s
Deploy / Production Browser E2E (push) Failing after 1824h52m20s
Deploy / Deploy Production (push) Failing after 1824h52m26s
Deploy / Build Production Runtime Images (push) Failing after 1824h52m59s
- 新增 src/api/tts.ts:TTS 语音合成 API 模块,对接后端 /api/v1/tts/* 端点
- GeneratePage.tsx 对接真实预置音色 API(fetchPresetVoices 替换 MOCK_VOICES)
- 音色试听改为真实 audio 播放(使用 preview_url)
- 自定义录制模式对接 TTS 合成 API(synthesizeSpeech + 轮询状态)
- 克隆音色生成流程传递 voice_clone_profile_id
- 配音模式验证:clone 模式需选择克隆音色,custom 模式需文案或录音
- TypeScript 零错误
|
2026-07-02 14:35:11 +08:00 |
|
xiaoxia
|
9cf60b6b99
|
Merge pull request 'feat(voices): 任务3.12 克隆音色卡片组件' (#170) from feature/task-312-clone-voice-card into develop
Deploy / Deploy Staging (push) Failing after 166h31m6s
CI/CD Pipeline / Frontend Lint (push) Failing after 166h31m35s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 166h31m41s
Deploy / Production Browser E2E (push) Failing after 1825h5m27s
Deploy / Deploy Production (push) Failing after 1825h5m29s
Deploy / Build Production Runtime Images (push) Failing after 1825h5m31s
|
2026-07-02 14:22:52 +08:00 |
|
灵应
|
669b06fc73
|
feat(voices): 任务3.12 克隆音色卡片组件
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 167h6m25s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 167h6m30s
Deploy / Deploy Staging (push) Failing after 167h8m16s
CI/CD Pipeline / Frontend Lint (push) Failing after 167h8m47s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 167h8m54s
Deploy / Production Browser E2E (push) Failing after 1825h42m1s
Deploy / Deploy Production (push) Failing after 1825h42m2s
Deploy / Build Production Runtime Images (push) Failing after 1825h42m40s
- 扩展 VoiceClone 类型(description/language/gender/error_message)
- 更新 toVoiceClone 映射(后端 pending → 前端 processing)
- 新增 CloneVoiceCard 组件(状态标签、播放控制、操作按钮)
- 新增 CloneDetailModal 详情弹窗
- 新增 CloneCardSkeleton 骨架屏加载
- 删除/重试 mutation + toast 提示
- 克隆卡片样式(voices.css ~450 行)
- TypeScript 零错误
|
2026-07-02 13:45:30 +08:00 |
|
灵应
|
24ac12167c
|
feat(task-308): 音色克隆完整流程实现
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 168h3m41s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 168h3m46s
Deploy / Deploy Staging (push) Failing after 168h7m8s
CI/CD Pipeline / Frontend Lint (push) Failing after 168h7m37s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 168h7m45s
Deploy / Production Browser E2E (push) Failing after 1826h40m50s
Deploy / Deploy Production (push) Failing after 1826h40m52s
Deploy / Build Production Runtime Images (push) Failing after 1826h40m54s
- CosyVoiceService: 新增 submit_clone_task() 和 check_task_status() 非阻塞方法
- VoiceCloneWorkflowService: 编排层,处理 start_clone/process_result/process_failure/retry
- Celery 任务 process_voice_clone: 异步轮询 CosyVoice 克隆结果
- API 路由: 创建后触发 Celery 异步任务,支持重试
- 57 个单元测试全部通过(workflow 14 + task 6 + cosyvoice 37)
|
2026-07-02 12:46:44 +08:00 |
|