Commit Graph

1242 Commits

Author SHA1 Message Date
xiaoxia e9487b7c9e fix(ci): PostgreSQL容器名+端口动态化,解决多job并发冲突
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 4h42m20s
CI/CD Pipeline / Frontend Lint (push) Failing after 4h41m22s
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (push) Failing after 4h40m44s
CI/CD Pipeline / Staging E2E Tests (push) Failing after 4h38m36s
CI/CD Pipeline / Staging API Integration Tests (push) Failing after 4h38m36s
CI/CD Pipeline / Build Production Runtime Images (push) Has been skipped
CI/CD Pipeline / Deploy Production (push) Has been skipped
CI/CD Pipeline / Production Browser E2E (push) Has been skipped
v2.1.0-test.8
2026-07-09 08:04:12 +08:00
xiaoxia e5e21bf816 fix(ci): 修复部署脚本语法错误
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 4h54m40s
CI/CD Pipeline / Frontend Lint (push) Failing after 4h54m40s
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (push) Failing after 4h43m10s
CI/CD Pipeline / Staging E2E Tests (push) Has been skipped
CI/CD Pipeline / Staging API Integration Tests (push) Has been skipped
CI/CD Pipeline / Build Production Runtime Images (push) Has been skipped
CI/CD Pipeline / Deploy Production (push) Has been skipped
CI/CD Pipeline / Production Browser E2E (push) Has been skipped
v2.1.0-test.7
2026-07-09 07:59:49 +08:00
xiaoxia 5d1c04ec7d fix(ci): PostgreSQL加shm-size + 部署脚本加调试输出
CI/CD Pipeline / Build Production Runtime Images (push) Has been skipped
CI/CD Pipeline / Deploy Production (push) Has been skipped
CI/CD Pipeline / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / Staging API Integration Tests (push) Failing after 4h42m24s
CI/CD Pipeline / Staging E2E Tests (push) Failing after 4h43m9s
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (push) Failing after 4h54m9s
CI/CD Pipeline / Frontend Lint (push) Failing after 4h55m21s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 4h55m21s
2026-07-09 07:59:10 +08:00
lingying 0eb410c1a2 fix(db): 添加034_cms_enhance占位迁移,对齐生产数据库版本
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 10h51m44s
CI/CD Pipeline / Frontend Lint (push) Failing after 10h51m44s
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (push) Failing after 10h50m34s
CI/CD Pipeline / Staging E2E Tests (push) Failing after 10h48m26s
CI/CD Pipeline / Staging API Integration Tests (push) Failing after 10h48m26s
CI/CD Pipeline / Build Production Runtime Images (push) Has been skipped
CI/CD Pipeline / Deploy Production (push) Has been skipped
CI/CD Pipeline / Production Browser E2E (push) Has been skipped
生产数据库alembic_version为034_cms_enhance,但代码中没有对应迁移文件,
导致部署时alembic upgrade head失败。添加占位迁移让alembic
能识别当前版本。实际表结构变更已在生产手动应用。
v2.1.0-test.6
2026-07-09 02:02:45 +08:00
lingying 40083d4b0f ci: 全部checkout改用python方式,解决wget下载不完整问题
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 11h3m12s
CI/CD Pipeline / Frontend Lint (push) Failing after 11h3m12s
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (push) Has been skipped
CI/CD Pipeline / Staging E2E Tests (push) Has been skipped
CI/CD Pipeline / Staging API Integration Tests (push) Has been skipped
CI/CD Pipeline / Build Production Runtime Images (push) Has been skipped
CI/CD Pipeline / Deploy Production (push) Has been skipped
CI/CD Pipeline / Production Browser E2E (push) Has been skipped
v2.1.0-test.4
2026-07-09 01:51:13 +08:00
lingying fe456b3165 ci: 集成测试加2次自动重试,提高CI稳定性
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 11h10m32s
CI/CD Pipeline / Frontend Lint (push) Failing after 11h10m32s
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (push) Has been skipped
CI/CD Pipeline / Staging E2E Tests (push) Has been skipped
CI/CD Pipeline / Staging API Integration Tests (push) Has been skipped
CI/CD Pipeline / Build Production Runtime Images (push) Has been skipped
CI/CD Pipeline / Deploy Production (push) Has been skipped
CI/CD Pipeline / Production Browser E2E (push) Has been skipped
v2.1.0-test.3
2026-07-09 01:43:58 +08:00
lingying e3ab438ea3 ci: 修复生产部署SSH端口 + 扩充E2E测试覆盖
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 11h13m25s
CI/CD Pipeline / Frontend Lint (push) Failing after 11h13m25s
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (push) Has been skipped
CI/CD Pipeline / Staging E2E Tests (push) Has been skipped
CI/CD Pipeline / Staging API Integration Tests (push) Has been skipped
CI/CD Pipeline / Build Production Runtime Images (push) Has been skipped
CI/CD Pipeline / Deploy Production (push) Has been skipped
CI/CD Pipeline / Production Browser E2E (push) Has been skipped
- 修复生产部署SSH端口为22222(之前默认22连接被拒)
- 新增staging-api-tests job: 32个API集成测试(auth/asset/project)
- 浏览器E2E新增auth-guard路由守卫测试
- 生产E2E新增auth页面和auth-guard测试
v2.1.0-test.2
2026-07-09 01:41:03 +08:00
lingying 15154eaf2e fix(scripts): 修复生产回滚脚本域名拼写错误
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 11h18m40s
CI/CD Pipeline / Frontend Lint (push) Failing after 11h18m40s
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (push) Has been skipped
CI/CD Pipeline / Staging E2E Tests (push) Has been skipped
CI/CD Pipeline / Build Production Runtime Images (push) Failing after 11h17m43s
CI/CD Pipeline / Deploy Production (push) Failing after 11h17m5s
CI/CD Pipeline / Production Browser E2E (push) Has been skipped
v2.1.0-test.1
2026-07-08 23:04:57 +08:00
lingying dae1d26624 fix(ci): 恢复完整CI配置 + 验证SQLite超时修复
CI/CD Pipeline / Build Production Runtime Images (push) Has been skipped
CI/CD Pipeline / Deploy Production (push) Has been skipped
CI/CD Pipeline / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / Staging E2E Tests (push) Failing after 13h59m24s
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (push) Failing after 14h3m11s
CI/CD Pipeline / Frontend Lint (push) Failing after 14h6m15s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 14h6m15s
2026-07-08 22:48:13 +08:00
lingying 30d433bd91 test: revert CI config to 883f500 for validation
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (push) Has been skipped
CI/CD Pipeline / Staging E2E Tests (push) Has been skipped
CI/CD Pipeline / Build Production Runtime Images (push) Has been skipped
CI/CD Pipeline / Deploy Production (push) Has been skipped
CI/CD Pipeline / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / Frontend Lint (push) Failing after 14h17m48s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 14h17m48s
2026-07-08 22:36:38 +08:00
lingying 34e139c953 ci: validation run after Gitea restart + vacuum
CI/CD Pipeline / Staging E2E Tests (push) Has been skipped
CI/CD Pipeline / Build Production Runtime Images (push) Has been skipped
CI/CD Pipeline / Deploy Production (push) Has been skipped
CI/CD Pipeline / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (push) Failing after 14h28m28s
CI/CD Pipeline / Frontend Lint (push) Failing after 14h31m42s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 14h31m42s
2026-07-08 22:22:47 +08:00
lingying 1bc3ff855f fix(docker): 修复 worker 镜像在 Debian Trixie 下构建失败
CI/CD Pipeline / Build Production Runtime Images (push) Has been skipped
CI/CD Pipeline / Deploy Production (push) Has been skipped
CI/CD Pipeline / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / Staging E2E Tests (push) Failing after 14h42m31s
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (push) Failing after 14h51m59s
CI/CD Pipeline / Frontend Lint (push) Failing after 14h55m35s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 14h55m35s
- libgl1-mesa-glx 在 Debian 13 (Trixie) 中已被移除
- 替换为 libgl1,兼容 Bookworm 和 Trixie
2026-07-08 21:58:53 +08:00
lingying 3d4cb554b5 fix(ci): 修复数据库安全闸门误报,改为只对比main检查新增迁移
CI/CD Pipeline / Staging E2E Tests (push) Has been skipped
CI/CD Pipeline / Build Production Runtime Images (push) Has been skipped
CI/CD Pipeline / Deploy Production (push) Has been skipped
CI/CD Pipeline / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (push) Failing after 15h3m16s
CI/CD Pipeline / Frontend Lint (push) Failing after 15h5m54s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 15h5m54s
- check_migration_safety.py 新增 --diff-against 参数,支持通过 git diff 只检查新增迁移
- CI 中 prepare git 环境并 fetch origin/main,安全闸门对比 main 分支
- 避免历史已执行迁移的破坏性操作导致误报
2026-07-08 21:48:37 +08:00
lingying 537eea06b7 ci: final clean validation after actions cleanup
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (push) Has been skipped
CI/CD Pipeline / Staging E2E Tests (push) Has been skipped
CI/CD Pipeline / Build Production Runtime Images (push) Has been skipped
CI/CD Pipeline / Deploy Production (push) Has been skipped
CI/CD Pipeline / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / Frontend Lint (push) Failing after 15h27m9s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 15h27m9s
2026-07-08 21:27:18 +08:00
lingying f2105e0124 ci: final validation run for foundation changes
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (push) Has been skipped
CI/CD Pipeline / Build Production Runtime Images (push) Has been skipped
CI/CD Pipeline / Staging E2E Tests (push) Has been skipped
CI/CD Pipeline / Deploy Production (push) Has been skipped
CI/CD Pipeline / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / Frontend Lint (push) Failing after 15h32m47s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 15h32m47s
2026-07-08 21:13:27 +08:00
lingying 883f5006cb ci(foundation): 恢复混合标签策略,验证通过的稳定配置
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
CI/CD Pipeline / Frontend Lint (push) Has been cancelled
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (push) Has been cancelled
CI/CD Pipeline / Staging E2E Tests (push) Has been cancelled
CI/CD Pipeline / Build Production Runtime Images (push) Has been cancelled
CI/CD Pipeline / Deploy Production (push) Has been cancelled
CI/CD Pipeline / Production Browser E2E (push) Has been cancelled
- validate/frontend-lint: ubuntu-22.04(docker模式,环境干净)
- deploy/e2e: saas(host模式,有完整工具链)
- runner capacity已扩容到30,不怕actions测试任务抢资源
2026-07-08 21:07:51 +08:00
lingying f9c262b356 ci: re-trigger pipeline for saas label validation
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (push) Has been skipped
CI/CD Pipeline / Staging E2E Tests (push) Has been skipped
CI/CD Pipeline / Build Production Runtime Images (push) Has been skipped
CI/CD Pipeline / Deploy Production (push) Has been skipped
CI/CD Pipeline / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / Frontend Lint (push) Failing after 15h54m35s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 15h54m35s
2026-07-08 20:59:53 +08:00
lingying 6eac36beef ci(foundation): 所有job改用saas专用标签,隔离actions测试任务
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (push) Has been skipped
CI/CD Pipeline / Staging E2E Tests (push) Has been skipped
CI/CD Pipeline / Build Production Runtime Images (push) Has been skipped
CI/CD Pipeline / Deploy Production (push) Has been skipped
CI/CD Pipeline / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / Frontend Lint (push) Failing after 16h6m36s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 16h6m36s
- 所有7个CI job从ubuntu-22.04改为saas标签
- auto-merge从ubuntu-latest改为saas标签
- runner只保留saas和runtime-builder标签
- 彻底隔离第三方actions的测试任务,保障业务流水线资源
2026-07-08 20:47:50 +08:00
lingying 92c71fa57b ci(foundation): 所有Dockerfile基础镜像替换为私有Registry
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
CI/CD Pipeline / Frontend Lint (push) Has been cancelled
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (push) Has been cancelled
CI/CD Pipeline / Staging E2E Tests (push) Has been cancelled
CI/CD Pipeline / Build Production Runtime Images (push) Has been cancelled
CI/CD Pipeline / Deploy Production (push) Has been cancelled
CI/CD Pipeline / Production Browser E2E (push) Has been cancelled
- api/worker/ci: python:3.12-slim -> 私有Registry
- web/node: node:20 -> 私有Registry
- web/nginx: nginx:alpine -> 私有Registry
- 彻底摆脱公网镜像依赖,构建更快更稳
2026-07-08 20:34:28 +08:00
lingying 48af456296 ci(foundation): 地基整改 - 7个job超时保护 + playwright私有镜像 + auto-merge原生脚本化
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
CI/CD Pipeline / Frontend Lint (push) Has been cancelled
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (push) Has been cancelled
CI/CD Pipeline / Staging E2E Tests (push) Has been cancelled
CI/CD Pipeline / Build Production Runtime Images (push) Has been cancelled
CI/CD Pipeline / Deploy Production (push) Has been cancelled
CI/CD Pipeline / Production Browser E2E (push) Has been cancelled
- 所有7个job添加timeout-minutes防止卡死
- staging-e2e和production-e2e的playwright镜像替换为私有Registry
- auto-merge.yml从actions/checkout改为wget原生脚本
- auto-merge添加10分钟超时保护
2026-07-08 20:26:41 +08:00
灵应 edd056b58a ci: trigger pipeline for f767cdb validation
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 0s
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (push) Has been cancelled
CI/CD Pipeline / Staging E2E Tests (push) Has been cancelled
CI/CD Pipeline / Build Production Runtime Images (push) Has been cancelled
CI/CD Pipeline / Deploy Production (push) Has been cancelled
CI/CD Pipeline / Production Browser E2E (push) Has been cancelled
CI/CD Pipeline / Frontend Lint (push) Failing after 0s
2026-07-08 18:33:13 +08:00
灵应 f767cdb136 feat(quality): 第一阶段质量保障 - 数据库安全闸门 + 生产回滚脚本 + E2E修复
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 0s
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (push) Has been cancelled
CI/CD Pipeline / Staging E2E Tests (push) Has been cancelled
CI/CD Pipeline / Build Production Runtime Images (push) Has been cancelled
CI/CD Pipeline / Deploy Production (push) Has been cancelled
CI/CD Pipeline / Production Browser E2E (push) Has been cancelled
CI/CD Pipeline / Frontend Lint (push) Failing after 0s
1. 数据库迁移安全检查 (scripts/check_migration_safety.py)
   - 检测 DROP TABLE / DROP COLUMN 等高风险破坏性变更
   - 检测列类型变更、NOT NULL新增、重命名等中风险操作
   - 只检查 upgrade 函数,忽略 downgrade 中的正常回滚操作
   - 已加入 CI validate 闸门(--allow-medium-risk 模式)

2. 生产一键回滚脚本 (scripts/rollback_production.sh)
   - 支持指定版本镜像回滚
   - 可选数据库版本回滚
   - 健康检查确认服务正常
   - 二次确认防误操作

3. E2E CI 修复
   - staging-e2e checkout 从 actions/checkout@v4 改为自定义脚本(修复Gitea兼容性)
   - 缩小E2E范围到核心冒烟用例:登录/上传/生成
   - 先保证稳定,再逐步扩大覆盖
2026-07-08 18:13:10 +08:00
灵应 5dca71b075 ci(e2e): 改用docker run跑playwright,修复container模式checkout失败
CI/CD Pipeline / Build Production Runtime Images (push) Has been skipped
CI/CD Pipeline / Deploy Production (push) Has been skipped
CI/CD Pipeline / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / Staging E2E Tests (push) Failing after 18h59m42s
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (push) Failing after 19h1m51s
CI/CD Pipeline / Frontend Lint (push) Failing after 19h2m47s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 19h2m47s
2026-07-08 17:51:43 +08:00
灵应 9f1f2dea0e ci(e2e): 重构staging-e2e,改用playwright容器直接跑,去掉SSH依赖
CI/CD Pipeline / Build Production Runtime Images (push) Has been skipped
CI/CD Pipeline / Deploy Production (push) Has been skipped
CI/CD Pipeline / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / Staging E2E Tests (push) Failing after 19h31m20s
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (push) Failing after 19h33m22s
CI/CD Pipeline / Frontend Lint (push) Failing after 19h34m18s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 19h34m18s
2026-07-08 17:20:11 +08:00
灵应 82ac0533bd fix(lint): isort import排序修正
CI/CD Pipeline / Build Production Runtime Images (push) Has been skipped
CI/CD Pipeline / Deploy Production (push) Has been skipped
CI/CD Pipeline / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / Staging E2E Tests (push) Failing after 19h34m50s
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (push) Failing after 19h37m2s
CI/CD Pipeline / Frontend Lint (push) Failing after 19h38m1s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 19h38m1s
2026-07-08 17:16:26 +08:00
灵应 5aceb5dc3c fix: 生成兜底增加自动素材匹配(从项目视频素材库自动选取)
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (push) Has been skipped
CI/CD Pipeline / Staging E2E Tests (push) Has been skipped
CI/CD Pipeline / Build Production Runtime Images (push) Has been skipped
CI/CD Pipeline / Deploy Production (push) Has been skipped
CI/CD Pipeline / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / Frontend Lint (push) Failing after 19h40m55s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 19h40m55s
2026-07-08 17:13:29 +08:00
灵应 dffe5b298f fix(lint): black格式修正
CI/CD Pipeline / Build Production Runtime Images (push) Has been skipped
CI/CD Pipeline / Deploy Production (push) Has been skipped
CI/CD Pipeline / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / Staging E2E Tests (push) Failing after 20h9m42s
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (push) Failing after 20h12m23s
CI/CD Pipeline / Frontend Lint (push) Failing after 20h13m32s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 20h13m32s
2026-07-08 16:40:58 +08:00
灵应 7eaa5b9616 fix: 生成兜底增加素材分配逻辑
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (push) Has been skipped
CI/CD Pipeline / Staging E2E Tests (push) Has been skipped
CI/CD Pipeline / Build Production Runtime Images (push) Has been skipped
CI/CD Pipeline / Deploy Production (push) Has been skipped
CI/CD Pipeline / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / Frontend Lint (push) Failing after 20h22m15s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 20h22m25s
兜底创建片段后,如果plan.config.asset_ids有素材但片段没有asset_id,
自动按顺序轮询分配,确保render_edit_plan能下载到素材正常渲染。
2026-07-08 16:32:06 +08:00
灵应 fa94e5a76f fix: 生成兜底逻辑回退旧模型template_segments
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (push) Has been skipped
CI/CD Pipeline / Staging E2E Tests (push) Has been skipped
CI/CD Pipeline / Build Production Runtime Images (push) Has been skipped
CI/CD Pipeline / Deploy Production (push) Has been skipped
CI/CD Pipeline / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / Frontend Lint (push) Failing after 20h23m42s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 20h23m42s
根因:模板片段配置存在template_segments表(旧模型),但兜底逻辑读的是
template_clip_configs表(新模型,空表),导致0片段→can_generate失败→400。

修复:优先读新模型,无数据时回退读旧模型template_segments,确保兜底生效。
2026-07-08 16:30:46 +08:00
xiaoxia 4a6db70941 fix: inferStatus 考虑 status=ready,不再因 classification 未执行而显示处理中
CI/CD Pipeline / Build Production Runtime Images (push) Has been skipped
CI/CD Pipeline / Deploy Production (push) Has been skipped
CI/CD Pipeline / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / Staging E2E Tests (push) Failing after 20h28m58s
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (push) Failing after 20h32m2s
CI/CD Pipeline / Frontend Lint (push) Failing after 20h33m25s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 20h33m25s
当素材 status 为 ready 时,跳过 classification_status 检查,
直接根据 quality_score 显示状态(待诊断/合格/待优化/不合格)。
修复了 P0-4 验收中发现的:API 返回 ready 但 UI 显示处理中的 bug。
2026-07-08 16:21:03 +08:00
灵应 37a7bcb560 fix(lint): prettier格式修正
CI/CD Pipeline / Build Production Runtime Images (push) Has been skipped
CI/CD Pipeline / Deploy Production (push) Has been skipped
CI/CD Pipeline / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / Staging E2E Tests (push) Failing after 21h10m35s
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (push) Failing after 21h13m14s
CI/CD Pipeline / Frontend Lint (push) Failing after 21h14m45s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 21h14m45s
2026-07-08 15:39:43 +08:00
灵应 7dd407fb3a fix(P0-2): 画中画模式切换全链路修复 - 初始addType跟随模式 + 切换模式时转换已有片段类型
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (push) Has been skipped
CI/CD Pipeline / Staging E2E Tests (push) Has been skipped
CI/CD Pipeline / Build Production Runtime Images (push) Has been skipped
CI/CD Pipeline / Deploy Production (push) Has been skipped
CI/CD Pipeline / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / Frontend Lint (push) Failing after 21h18m33s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 21h18m33s
2026-07-08 15:35:55 +08:00
xiaoxia 96b5e4a582 fix: 画中画模式添加片段默认类型修复 + 清理 AssetLibrary 未使用代码
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (push) Has been skipped
CI/CD Pipeline / Staging E2E Tests (push) Has been skipped
CI/CD Pipeline / Build Production Runtime Images (push) Has been skipped
CI/CD Pipeline / Deploy Production (push) Has been skipped
CI/CD Pipeline / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / Frontend Lint (push) Failing after 22h1m3s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 22h1m3s
- TimelinePanel: handleTogglePicker 打开时根据 currentMode 重置 addType 默认值
  - pip 模式默认 pip,voice_over 模式默认 voice
  - 修复画中画模式下添加片段显示'口播 1'而非'画中画 1'的问题
- AssetLibrary: 删除未使用的 directUploadMutation(遗留代码,上传已由 handleUpload 直接处理)
  - 修复 TS6133 (unused) + TS2304 (activeLibrary 未定义) 两个编译错误

P0-2 验收发现并修复
2026-07-08 14:53:24 +08:00
灵应 f914c51371 fix(test): 更新can_generate测试断言以匹配新的用户友好错误提示
CI/CD Pipeline / Build Production Runtime Images (push) Has been skipped
CI/CD Pipeline / Deploy Production (push) Has been skipped
CI/CD Pipeline / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / Staging E2E Tests (push) Failing after 22h5m6s
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (push) Failing after 22h8m22s
CI/CD Pipeline / Frontend Lint (push) Failing after 22h9m42s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 22h9m42s
2026-07-08 14:44:47 +08:00
灵应 519e01b417 fix(test): 更新生成接口测试以适配自动兜底行为
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (push) Has been skipped
CI/CD Pipeline / Staging E2E Tests (push) Has been skipped
CI/CD Pipeline / Build Production Runtime Images (push) Has been skipped
CI/CD Pipeline / Deploy Production (push) Has been skipped
CI/CD Pipeline / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / Frontend Lint (push) Failing after 22h13m44s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 22h13m44s
2026-07-08 14:40:45 +08:00
灵应 0e89c43b68 fix(lint): 修复prettier格式问题
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (push) Has been skipped
CI/CD Pipeline / Staging E2E Tests (push) Has been skipped
CI/CD Pipeline / Build Production Runtime Images (push) Has been skipped
CI/CD Pipeline / Deploy Production (push) Has been skipped
CI/CD Pipeline / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / Frontend Lint (push) Failing after 22h18m48s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 22h18m48s
2026-07-08 14:35:38 +08:00
灵应 893738ff5a fix(lint): 修复edit_plans.py的black和isort格式问题
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (push) Has been skipped
CI/CD Pipeline / Staging E2E Tests (push) Has been skipped
CI/CD Pipeline / Build Production Runtime Images (push) Has been skipped
CI/CD Pipeline / Deploy Production (push) Has been skipped
CI/CD Pipeline / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / Frontend Lint (push) Failing after 22h22m58s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 22h22m58s
2026-07-08 14:31:27 +08:00
灵应 7230cfb294 fix(lint): 移除未使用的directUploadMutation,修复前端lint失败 2026-07-08 14:29:25 +08:00
灵应 009d837efe fix(P0-2): 修复lint警告,availableTypes用useMemo包裹
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (push) Has been skipped
CI/CD Pipeline / Staging E2E Tests (push) Has been skipped
CI/CD Pipeline / Build Production Runtime Images (push) Has been skipped
CI/CD Pipeline / Deploy Production (push) Has been skipped
CI/CD Pipeline / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / Frontend Lint (push) Failing after 22h27m36s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 22h27m36s
2026-07-08 14:26:48 +08:00
灵应 08a55f8711 fix(P0-2): 画中画模式下addType自动切换为pip类型
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (push) Has been skipped
CI/CD Pipeline / Staging E2E Tests (push) Has been skipped
CI/CD Pipeline / Build Production Runtime Images (push) Has been skipped
CI/CD Pipeline / Deploy Production (push) Has been skipped
CI/CD Pipeline / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / Frontend Lint (push) Failing after 22h47m21s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 22h47m21s
- 添加useEffect监听currentMode变化
- 当addType不在availableTypes中时自动设为第一个可用类型
- 修复画中画模式下添加片段仍是口播类型的bug
2026-07-08 14:06:59 +08:00
xiaoxia 5a8158f181 feat(P0-1,P0-2): generate接口自动兜底 + 错误提示改人话
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (push) Has been skipped
CI/CD Pipeline / Staging E2E Tests (push) Has been skipped
CI/CD Pipeline / Build Production Runtime Images (push) Has been skipped
CI/CD Pipeline / Deploy Production (push) Has been skipped
CI/CD Pipeline / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / Frontend Lint (push) Failing after 23h40m36s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 23h40m37s
P0-1: generate_plan 入口自动兜底
- draft 状态自动转 editing
- 0片段+有template_id时自动从模板复制片段配置

P0-2: 错误提示改人话
- '计划下没有片段,无法触发渲染' → '请先添加片段后再生成视频'
- 状态错误提示改为 '请先编辑并保存模板后再生成视频'
2026-07-08 13:13:51 +08:00
xiaoxia ea99fc6e25 fix(P0): 画中画片段类型显示 + OSS上传错误诊断增强
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (push) Has been skipped
CI/CD Pipeline / Staging E2E Tests (push) Has been skipped
CI/CD Pipeline / Build Production Runtime Images (push) Has been skipped
CI/CD Pipeline / Deploy Production (push) Has been skipped
CI/CD Pipeline / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / Frontend Lint (push) Failing after 23h46m31s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 23h46m31s
P0-2: TimelinePanel 添加 getSegmentTypeLabel,画中画模式显示'画中画1、画中画2'
P0-4: uploadAssetDirect 增加 AbortController 10分钟超时、OSS XML 错误解析、CORS 检测
P0-4: AssetLibrary 上传错误提示改为显示详细信息(err.message)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-08 13:07:54 +08:00
灵应 efd7bfb6f9 fix(P0-1): 统一标题库数据源,移除 mock fallback
CI/CD Pipeline / Build Production Runtime Images (push) Has been skipped
CI/CD Pipeline / Deploy Production (push) Has been skipped
CI/CD Pipeline / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / Staging E2E Tests (push) Failing after 24h51m18s
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (push) Failing after 24h53m52s
CI/CD Pipeline / Frontend Lint (push) Failing after 24h57m9s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 24h57m34s
- GeneratePage 和 TitleLibrary 统一使用 queryKey ['titles']
- 两个页面调用同一个 getTitles() API (GET /titles)
- 移除 TitleLibrary 的 MOCK_TITLES_LEGACY fallback
- 清理旧的 ['generate-titles'] queryKey 引用
- 确保两个页面显示完全一致的标题数据

P0-2/P0-3/P0-4 代码验证通过
2026-07-08 11:41:22 +08:00
灵应 3889cd0f1a feat: 新增 DELETE /asset-libraries/{library_id} 接口
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (push) Has been skipped
CI/CD Pipeline / Staging E2E Tests (push) Has been skipped
CI/CD Pipeline / Build Production Runtime Images (push) Has been skipped
CI/CD Pipeline / Deploy Production (push) Has been skipped
CI/CD Pipeline / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / Frontend Lint (push) Failing after 25h29m22s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 25h29m22s
- 删除素材库同时清理库内素材(无 FK 级联,手动处理)
- 加权限校验:检查用户项目访问权限
- InMemoryAssetLibraryRepository 补充 find_by_id 方法
- 5 个单元测试覆盖:正常删除、含素材删除、404、403、项目不存在
2026-07-08 11:23:22 +08:00
灵应 880b6b5c1b feat: 添加素材库删除 API 接口
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (push) Has been skipped
CI/CD Pipeline / Staging E2E Tests (push) Has been skipped
CI/CD Pipeline / Build Production Runtime Images (push) Has been skipped
CI/CD Pipeline / Deploy Production (push) Has been skipped
CI/CD Pipeline / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / Frontend Lint (push) Failing after 25h31m58s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 25h31m58s
- 新增 DELETE /asset-libraries/{library_id} 端点
- 删除素材库时同时删除库内所有素材
- 添加权限校验确保用户有项目访问权限

P0-3: 素材删除功能后端支持
2026-07-08 11:22:30 +08:00
灵应 307d675797 fix: 标题库页面接入真实 API — mock 数据迁移
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (push) Has been skipped
CI/CD Pipeline / Staging E2E Tests (push) Has been skipped
CI/CD Pipeline / Build Production Runtime Images (push) Has been skipped
CI/CD Pipeline / Deploy Production (push) Has been skipped
CI/CD Pipeline / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / Frontend Lint (push) Failing after 25h41m25s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 25h41m25s
- TitleLibrary.tsx 从 MOCK_TITLES 迁移到 useQuery + useMutation
- 新增/编辑/删除标题调用后端真实 API(getTitles/createTitle/updateTitle/deleteTitle)
- API 返回空数据时降级显示 MOCK_TITLES_LEGACY
- 收藏功能暂置(待后端 API)
- 修复 TypeScript 类型错误(CreateTitleRequest 字段名对齐)

Closes #233
2026-07-08 11:13:03 +08:00
灵应 f31858a008 fix: build_release_images.sh 支持 staging/production nginx 配置分离
CI/CD Pipeline / Build Production Runtime Images (push) Has been skipped
CI/CD Pipeline / Deploy Production (push) Has been skipped
CI/CD Pipeline / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / Staging E2E Tests (push) Failing after 26h13m2s
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (push) Failing after 26h15m11s
CI/CD Pipeline / Frontend Lint (push) Failing after 26h16m14s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 26h16m14s
- 新增第二个参数 BUILD_ENV (staging|production),默认 production
- staging 构建使用 nginx-staging.conf (proxy_pass → xiaoxia-api-staging)
- production 构建使用 nginx-production.conf (proxy_pass → xiaoxia-api-production)
- CI deploy-staging 调用时传入 staging 参数

修复: web 容器在 staging 环境因 nginx upstream 指向 xiaoxia-api-production
导致 host not found 崩溃重启的问题
2026-07-08 10:38:11 +08:00
灵应 de5483a9b6 fix(ci): deploy-staging runner ubuntu-latest → saas
CI/CD Pipeline / Build Production Runtime Images (push) Has been skipped
CI/CD Pipeline / Deploy Production (push) Has been skipped
CI/CD Pipeline / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / Staging E2E Tests (push) Failing after 26h41m7s
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (push) Failing after 26h43m15s
CI/CD Pipeline / Frontend Lint (push) Failing after 26h44m12s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 26h44m12s
上次 ab0bc569 只改了 staging-e2e,漏掉了 deploy-staging。
deploy-staging 需要 Docker 环境(docker build/push),
ubuntu-latest runner 没有 Docker,导致每次构建都失败。
改回 saas runner(有 Docker + REGISTRY_TOKEN)。
2026-07-08 10:10:14 +08:00
灵应 ab0bc56976 fix(ci): revert deploy-staging and staging-e2e runner back to saas
CI/CD Pipeline / Staging E2E Tests (push) Has been skipped
CI/CD Pipeline / Build Production Runtime Images (push) Has been skipped
CI/CD Pipeline / Deploy Production (push) Has been skipped
CI/CD Pipeline / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (push) Failing after 26h50m6s
CI/CD Pipeline / Frontend Lint (push) Failing after 26h51m4s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 26h51m4s
ubuntu-latest does not have Docker installed, causing deploy-staging to fail.
The saas runner is now back online (production jobs succeeded on it).
2026-07-08 10:03:27 +08:00
灵应 332d1be41c fix(ci): change deploy-staging and staging-e2e runner from saas to ubuntu-latest
CI/CD Pipeline / Staging E2E Tests (push) Has been skipped
CI/CD Pipeline / Build Production Runtime Images (push) Has been skipped
CI/CD Pipeline / Deploy Production (push) Has been skipped
CI/CD Pipeline / Production Browser E2E (push) Has been skipped
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (push) Failing after 26h53m26s
CI/CD Pipeline / Frontend Lint (push) Failing after 26h54m27s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 26h54m27s
The saas runner is offline, blocking staging deployment.
ubuntu-latest is confirmed working (validate + frontend-lint passed).
2026-07-08 10:00:04 +08:00