Compare commits

...

45 Commits

Author SHA1 Message Date
CI Bot 53e570a903 fix(ci): ruff排除hostexecutor目录 - 避免host executor模式下扫到runner脚本目录
CI/CD Pipeline / Frontend Lint (pull_request) Successful in 1m30s
CI/CD Pipeline / Frontend Lint (push) Successful in 1m30s
CI/CD Pipeline / Unit Tests (pull_request) Successful in 2m50s
CI/CD Pipeline / Unit Tests (push) Successful in 2m55s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 15m0s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 15m2s
CI/CD Pipeline / Integration Tests (push) Successful in 1m32s
CI/CD Pipeline / Integration Tests (pull_request) Successful in 1m33s
CI Build & Deploy Pipeline / Production Browser E2E (pull_request) Failing after 1503h13m1s
CI Build & Deploy Pipeline / Build Production Worker Image (pull_request) Failing after 1503h13m4s
CI Build & Deploy Pipeline / Build Production Web Image (pull_request) Failing after 1503h13m6s
CI Build & Deploy Pipeline / Staging API Integration Tests (pull_request) Failing after 1503h14m36s
CI Build & Deploy Pipeline / Staging E2E Tests (pull_request) Failing after 1503h14m36s
CI Build & Deploy Pipeline / Production Browser E2E (push) Failing after 1503h14m36s
CI Build & Deploy Pipeline / Deploy Staging (Watchtower auto-deploy) (pull_request) Failing after 1503h14m36s
CI Build & Deploy Pipeline / Deploy Production (push) Failing after 1503h14m36s
CI Build & Deploy Pipeline / Staging API Integration Tests (push) Failing after 1503h14m38s
CI Build & Deploy Pipeline / Build Staging Worker Image (pull_request) Failing after 1503h14m38s
CI Build & Deploy Pipeline / Staging E2E Tests (push) Failing after 1503h14m38s
CI Build & Deploy Pipeline / Build Production Worker Image (push) Failing after 1503h14m38s
CI Build & Deploy Pipeline / Build Staging Web Image (pull_request) Failing after 1503h14m38s
CI Build & Deploy Pipeline / Build Staging API Image (pull_request) Failing after 1503h14m41s
CI Build & Deploy Pipeline / Build Production Web Image (push) Failing after 1503h14m38s
CI Build & Deploy Pipeline / Build Staging Worker Image (push) Failing after 1503h14m41s
CI Build & Deploy Pipeline / Build Production API Image (push) Failing after 1503h14m40s
CI Build & Deploy Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Failing after 1503h14m41s
CI Build & Deploy Pipeline / Build Staging Web Image (push) Failing after 1503h14m41s
CI Build & Deploy Pipeline / Build Staging API Image (push) Failing after 1503h14m41s
CI Build & Deploy Pipeline / Deploy Production (pull_request) Failing after 1503h44m47s
CI Build & Deploy Pipeline / Build Production API Image (pull_request) Failing after 1503h44m51s
2026-07-16 00:15:24 +08:00
xiaoxia 7a0f1537af perf(ci): mypy增量扫描优化 2026-07-15 23:40:14 +08:00
xiaoxia 00522c9e98 perf(ci): 添加mypy增量扫描脚本 2026-07-15 23:40:12 +08:00
xiaoxia 9c71951cf2 Merge pull request 'docs: CI失败排查报告 + 三台服务器Runner分工规划' (#266) from docs/ci-runner-planning into develop
CI/CD Pipeline / Frontend Lint (push) Successful in 1m14s
CI/CD Pipeline / Unit Tests (push) Successful in 3m7s
CI/CD Pipeline / Validate Code Quality And Tests (push) Successful in 3m7s
CI/CD Pipeline / Integration Tests (push) Successful in 1m43s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Has been cancelled
CI/CD Pipeline / Unit Tests (pull_request) Has been cancelled
CI/CD Pipeline / Integration Tests (pull_request) Has been cancelled
CI/CD Pipeline / Frontend Lint (pull_request) Has been cancelled
CI Build & Deploy Pipeline / Build Production Web Image (pull_request) Failing after 1504h9m41s
CI Build & Deploy Pipeline / Build Production API Image (pull_request) Failing after 1504h9m43s
CI Build & Deploy Pipeline / Staging E2E Tests (pull_request) Failing after 1504h11m3s
CI Build & Deploy Pipeline / Deploy Staging (Watchtower auto-deploy) (pull_request) Failing after 1504h11m5s
CI Build & Deploy Pipeline / Build Staging Worker Image (pull_request) Failing after 1504h11m5s
CI Build & Deploy Pipeline / Build Staging API Image (pull_request) Failing after 1504h11m6s
CI Build & Deploy Pipeline / Deploy Production (pull_request) Failing after 1504h41m21s
CI Build & Deploy Pipeline / Build Staging Web Image (pull_request) Failing after 1504h42m50s
CI Build & Deploy Pipeline / Production Browser E2E (pull_request) Failing after 1504h9m35s
CI Build & Deploy Pipeline / Build Production Worker Image (pull_request) Failing after 1504h9m39s
CI Build & Deploy Pipeline / Staging API Integration Tests (pull_request) Failing after 1504h11m3s
CI Build & Deploy Pipeline / Build Staging API Image (push) Failing after 1504h11m7s
CI Build & Deploy Pipeline / Production Browser E2E (push) Failing after 1504h9m42s
CI Build & Deploy Pipeline / Deploy Production (push) Failing after 1504h9m44s
CI Build & Deploy Pipeline / Build Production Worker Image (push) Failing after 1504h9m45s
CI Build & Deploy Pipeline / Build Production API Image (push) Failing after 1504h9m49s
CI Build & Deploy Pipeline / Staging API Integration Tests (push) Failing after 1504h11m3s
CI Build & Deploy Pipeline / Staging E2E Tests (push) Failing after 1504h11m3s
CI Build & Deploy Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Failing after 1504h11m5s
CI Build & Deploy Pipeline / Build Staging Worker Image (push) Failing after 1504h11m7s
CI Build & Deploy Pipeline / Build Production Web Image (push) Failing after 1504h41m31s
CI Build & Deploy Pipeline / Build Staging Web Image (push) Failing after 1504h42m51s
2026-07-15 23:14:07 +08:00
xiaoxia d2ce73184a fix(auto-merge): 合并PR前验证CI状态 (#253)
CI/CD Pipeline / Unit Tests (push) Successful in 2m18s
CI/CD Pipeline / Frontend Lint (push) Successful in 2m40s
CI/CD Pipeline / Validate Code Quality And Tests (push) Successful in 3m0s
CI/CD Pipeline / Integration Tests (push) Successful in 1m23s
CI Build & Deploy Pipeline / Staging API Integration Tests (push) Failing after 2m28s
CI Build & Deploy Pipeline / Staging E2E Tests (push) Failing after 2m35s
CI Build & Deploy Pipeline / Production Browser E2E (push) Failing after 1504h24m41s
CI Build & Deploy Pipeline / Build Production Worker Image (push) Failing after 1504h24m43s
CI Build & Deploy Pipeline / Build Production Web Image (push) Failing after 1504h24m45s
CI Build & Deploy Pipeline / Build Production API Image (push) Failing after 1504h24m47s
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 1504h56m25s
2026-07-15 22:57:18 +08:00
xiaoxia dad02788e3 fix(ci): 修复check_migration_safety.py的import排序 (#371)
CI Build & Deploy Pipeline / Build Staging API Image (push) Has been cancelled
CI Build & Deploy Pipeline / Build Staging Web Image (push) Has been cancelled
CI Build & Deploy Pipeline / Build Staging Worker Image (push) Has been cancelled
CI Build & Deploy Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Has been cancelled
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 / Build Production API Image (push) Has been cancelled
CI Build & Deploy Pipeline / Build Production Web Image (push) Has been cancelled
CI Build & Deploy Pipeline / Build Production Worker Image (push) Has been cancelled
CI Build & Deploy Pipeline / Deploy Production (push) Has been cancelled
CI Build & Deploy Pipeline / Production Browser E2E (push) Has been cancelled
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
CI/CD Pipeline / Unit Tests (push) Has been cancelled
CI/CD Pipeline / Integration Tests (push) Has been cancelled
CI/CD Pipeline / Frontend Lint (push) Has been cancelled
2026-07-15 22:57:07 +08:00
xiaoxia 902fe5d461 Merge pull request 'feat: Feature Flag调试日志增强 + fallback逻辑统一' (#352) from fix/flag-debug-logging into develop
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
CI/CD Pipeline / Unit Tests (push) Has been cancelled
CI/CD Pipeline / Integration Tests (push) Has been cancelled
CI/CD Pipeline / Frontend Lint (push) Has been cancelled
CI Build & Deploy Pipeline / Production Browser E2E (push) Failing after 1504h28m37s
CI Build & Deploy Pipeline / Build Production API Image (push) Failing after 1504h28m40s
CI Build & Deploy Pipeline / Deploy Production (push) Failing after 1504h28m38s
CI Build & Deploy Pipeline / Build Production Worker Image (push) Failing after 1504h28m39s
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) Has been skipped
CI Build & Deploy Pipeline / Staging API Integration Tests (push) Has been skipped
CI Build & Deploy Pipeline / Build Production Web Image (push) Failing after 1505h0m23s
2026-07-15 22:56:54 +08:00
xiaoxia b8dbdb9fd8 fix(ci): Web构建传NGINX_CONF使用staging nginx配置 (#380)
CI/CD Pipeline / Validate Code Quality And Tests (push) Successful in 2m14s
CI/CD Pipeline / Unit Tests (push) Successful in 2m15s
CI/CD Pipeline / Frontend Lint (push) Failing after 2m44s
CI/CD Pipeline / Integration Tests (push) Successful in 1m53s
CI Build & Deploy Pipeline / Staging API Integration Tests (push) Failing after 1504h46m19s
CI Build & Deploy Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Failing after 1504h48m31s
CI Build & Deploy Pipeline / Production Browser E2E (push) Failing after 1505h8m32s
CI Build & Deploy Pipeline / Deploy Production (push) Failing after 1505h8m33s
CI Build & Deploy Pipeline / Build Production Web Image (push) Failing after 1505h8m36s
CI Build & Deploy Pipeline / Build Production API Image (push) Failing after 1505h8m38s
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 / Staging E2E Tests (push) Failing after 1505h18m4s
CI Build & Deploy Pipeline / Build Production Worker Image (push) Failing after 1505h40m18s
Web镜像构建时未传NGINX_CONF,默认用了production配置导致Staging nginx启动失败。修复:staging构建时为web服务传入NGINX_CONF=infra/docker/nginx-staging.conf。
2026-07-15 22:13:48 +08:00
xiaoxia 28ca8c5ca7 fix: 修复生成链路三个阻塞问题(状态栏/toast/failed状态生成) (#379)
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
CI/CD Pipeline / Unit Tests (push) Has been cancelled
CI/CD Pipeline / Integration Tests (push) Has been cancelled
CI/CD Pipeline / Frontend Lint (push) Has been cancelled
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) Failing after 2m30s
CI Build & Deploy Pipeline / Staging API Integration Tests (push) Failing after 1505h23m36s
CI Build & Deploy Pipeline / Production Browser E2E (push) Failing after 1505h33m29s
CI Build & Deploy Pipeline / Deploy Production (push) Failing after 1505h33m31s
CI Build & Deploy Pipeline / Build Production Worker Image (push) Failing after 1505h33m33s
CI Build & Deploy Pipeline / Build Production API Image (push) Failing after 1505h33m37s
CI Build & Deploy Pipeline / Staging E2E Tests (push) Failing after 1505h55m20s
CI Build & Deploy Pipeline / Build Production Web Image (push) Failing after 1506h5m19s
2026-07-15 21:55:15 +08:00
XiaoXia Bot 6ca9f18a58 chore(ci): 重新触发ci-build全链路验证
CI/CD Pipeline / Unit Tests (push) Successful in 2m0s
CI/CD Pipeline / Validate Code Quality And Tests (push) Successful in 3m0s
CI/CD Pipeline / Frontend Lint (push) Successful in 1m53s
CI/CD Pipeline / Integration Tests (push) Successful in 1m29s
CI Build & Deploy Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Failing after 3m22s
CI Build & Deploy Pipeline / Staging API Integration Tests (push) Failing after 1505h33m39s
CI Build & Deploy Pipeline / Staging E2E Tests (push) Failing after 1505h33m40s
CI Build & Deploy Pipeline / Production Browser E2E (push) Failing after 1505h38m41s
CI Build & Deploy Pipeline / Deploy Production (push) Failing after 1505h38m42s
CI Build & Deploy Pipeline / Build Production Worker Image (push) Failing after 1505h38m43s
CI Build & Deploy Pipeline / Build Production Web Image (push) Failing after 1505h38m45s
CI Build & Deploy Pipeline / Build Production API Image (push) Failing after 1505h38m45s
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
2026-07-15 21:44:55 +08:00
xiaoxia 39316b7f22 Merge pull request 'fix(ci): 临时禁用registry cache-to,ACR推送缓存太慢导致构建超时' (#378) from fix/ci-disable-registry-cache-to into develop
CI Build & Deploy Pipeline / Build Staging API Image (push) Blocked by required conditions
CI Build & Deploy Pipeline / Build Staging Web Image (push) Blocked by required conditions
CI Build & Deploy Pipeline / Build Staging Worker Image (push) Blocked by required conditions
CI Build & Deploy Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Blocked by required conditions
CI Build & Deploy Pipeline / Staging E2E Tests (push) Blocked by required conditions
CI Build & Deploy Pipeline / Staging API Integration Tests (push) Blocked by required conditions
CI Build & Deploy Pipeline / Build Production API Image (push) Blocked by required conditions
CI Build & Deploy Pipeline / Build Production Web Image (push) Blocked by required conditions
CI Build & Deploy Pipeline / Build Production Worker Image (push) Blocked by required conditions
CI Build & Deploy Pipeline / Deploy Production (push) Blocked by required conditions
CI Build & Deploy Pipeline / Production Browser E2E (push) Blocked by required conditions
CI/CD Pipeline / Frontend Lint (push) Successful in 26s
CI/CD Pipeline / Validate Code Quality And Tests (push) Successful in 1m45s
CI/CD Pipeline / Unit Tests (push) Successful in 1m50s
CI/CD Pipeline / Integration Tests (push) Successful in 1m18s
2026-07-15 21:25:08 +08:00
XiaoXia Bot f04038f955 fix(ci): 临时禁用registry cache-to,ACR推送缓存太慢导致构建超时\n\nStep 2的registry cache sync在首次全量推送时极慢(API 11min+ / Worker 13min+)\n先注释掉确保全链路跑通,缓存优化后续再调\n\n保留cache-from registry(读缓存),本地缓存读写正常
CI/CD Pipeline / Frontend Lint (push) Successful in 48s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Successful in 1m31s
CI/CD Pipeline / Validate Code Quality And Tests (push) Successful in 1m47s
CI/CD Pipeline / Unit Tests (push) Successful in 1m59s
CI/CD Pipeline / Frontend Lint (pull_request) Successful in 43s
CI/CD Pipeline / Unit Tests (pull_request) Successful in 1m47s
CI/CD Pipeline / Integration Tests (push) Successful in 1m27s
CI/CD Pipeline / Integration Tests (pull_request) Successful in 1m24s
CI Build & Deploy Pipeline / Production Browser E2E (pull_request) Failing after 1506h3m48s
CI Build & Deploy Pipeline / Build Production Worker Image (pull_request) Failing after 1506h3m53s
CI Build & Deploy Pipeline / Build Production Web Image (pull_request) Failing after 1506h3m55s
CI Build & Deploy Pipeline / Staging E2E Tests (pull_request) Failing after 1506h5m28s
CI Build & Deploy Pipeline / Build Production API Image (pull_request) Failing after 1506h3m57s
CI Build & Deploy Pipeline / Deploy Staging (Watchtower auto-deploy) (pull_request) Failing after 1506h5m29s
CI Build & Deploy Pipeline / Build Staging Worker Image (pull_request) Failing after 1506h5m30s
CI Build & Deploy Pipeline / Production Browser E2E (push) Failing after 1506h5m30s
CI Build & Deploy Pipeline / Build Staging Web Image (pull_request) Failing after 1506h5m32s
CI Build & Deploy Pipeline / Deploy Production (push) Failing after 1506h5m34s
CI Build & Deploy Pipeline / Build Staging API Image (pull_request) Failing after 1506h5m34s
CI Build & Deploy Pipeline / Staging API Integration Tests (push) Failing after 1506h5m39s
CI Build & Deploy Pipeline / Staging E2E Tests (push) Failing after 1506h5m39s
CI Build & Deploy Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Failing after 1506h5m40s
CI Build & Deploy Pipeline / Build Production API Image (push) Failing after 1506h5m42s
CI Build & Deploy Pipeline / Build Staging Web Image (push) Failing after 1506h5m44s
CI Build & Deploy Pipeline / Build Staging API Image (push) Failing after 1506h5m44s
CI Build & Deploy Pipeline / Staging API Integration Tests (pull_request) Failing after 1506h37m12s
CI Build & Deploy Pipeline / Deploy Production (pull_request) Failing after 1506h35m35s
CI Build & Deploy Pipeline / Build Production Worker Image (push) Failing after 1506h37m22s
CI Build & Deploy Pipeline / Build Production Web Image (push) Failing after 1506h37m24s
CI Build & Deploy Pipeline / Build Staging Worker Image (push) Failing after 1506h37m28s
2026-07-15 21:24:22 +08:00
xiaoxia 79d6addcef Merge pull request 'fix: 修复生成按钮 PUT 状态限制 + 进度弹窗错误显示' (#377) from fix/generation-put-status-restriction into develop
CI/CD Pipeline / Frontend Lint (push) Successful in 53s
CI/CD Pipeline / Validate Code Quality And Tests (push) Successful in 1m55s
CI/CD Pipeline / Unit Tests (push) Successful in 2m4s
CI/CD Pipeline / Integration Tests (push) Successful in 1m17s
CI Build & Deploy Pipeline / Build Staging API Image (push) Has been cancelled
CI Build & Deploy Pipeline / Build Staging Web Image (push) Has been cancelled
CI Build & Deploy Pipeline / Build Staging Worker Image (push) Has been cancelled
CI Build & Deploy Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Has been cancelled
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 / Build Production API Image (push) Has been cancelled
CI Build & Deploy Pipeline / Build Production Web Image (push) Has been cancelled
CI Build & Deploy Pipeline / Build Production Worker Image (push) Has been cancelled
CI Build & Deploy Pipeline / Deploy Production (push) Has been cancelled
CI Build & Deploy Pipeline / Production Browser E2E (push) Has been cancelled
2026-07-15 21:20:36 +08:00
CI Bot 989a8221f2 fix: 修复生成按钮 PUT 状态限制 + 进度弹窗错误显示
CI/CD Pipeline / Frontend Lint (push) Successful in 1m58s
CI/CD Pipeline / Unit Tests (push) Successful in 1m59s
CI/CD Pipeline / Frontend Lint (pull_request) Successful in 28s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Successful in 2m4s
CI/CD Pipeline / Validate Code Quality And Tests (push) Successful in 2m30s
CI/CD Pipeline / Unit Tests (pull_request) Successful in 1m54s
CI/CD Pipeline / Integration Tests (pull_request) Successful in 1m30s
CI/CD Pipeline / Integration Tests (push) Successful in 1m27s
CI Build & Deploy Pipeline / Production Browser E2E (pull_request) Failing after 1506h9m13s
CI Build & Deploy Pipeline / Build Production Worker Image (pull_request) Failing after 1506h9m16s
CI Build & Deploy Pipeline / Build Production Web Image (pull_request) Failing after 1506h9m16s
CI Build & Deploy Pipeline / Staging API Integration Tests (pull_request) Failing after 1506h11m14s
CI Build & Deploy Pipeline / Build Staging Worker Image (pull_request) Failing after 1506h11m22s
CI Build & Deploy Pipeline / Staging E2E Tests (pull_request) Failing after 1506h11m15s
CI Build & Deploy Pipeline / Build Staging Web Image (pull_request) Failing after 1506h11m24s
CI Build & Deploy Pipeline / Production Browser E2E (push) Failing after 1506h11m36s
CI Build & Deploy Pipeline / Build Production Worker Image (push) Failing after 1506h11m40s
CI Build & Deploy Pipeline / Build Staging API Image (pull_request) Failing after 1506h11m26s
CI Build & Deploy Pipeline / Build Production Web Image (push) Failing after 1506h11m42s
CI Build & Deploy Pipeline / Staging E2E Tests (push) Failing after 1506h11m43s
CI Build & Deploy Pipeline / Build Production API Image (push) Failing after 1506h11m44s
CI Build & Deploy Pipeline / Build Staging Worker Image (push) Failing after 1506h11m46s
CI Build & Deploy Pipeline / Build Staging Web Image (push) Failing after 1506h11m46s
CI Build & Deploy Pipeline / Build Staging API Image (push) Failing after 1506h11m47s
CI Build & Deploy Pipeline / Build Production API Image (pull_request) Failing after 1506h41m2s
CI Build & Deploy Pipeline / Deploy Staging (Watchtower auto-deploy) (pull_request) Failing after 1506h43m1s
CI Build & Deploy Pipeline / Deploy Production (pull_request) Failing after 1506h40m58s
CI Build & Deploy Pipeline / Deploy Production (push) Failing after 1506h43m22s
CI Build & Deploy Pipeline / Staging API Integration Tests (push) Failing after 1506h43m27s
CI Build & Deploy Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Failing after 1506h43m29s
- 移除 updateEditPlan 中的 status: 'editing' 参数,避免非 draft 状态被后端拒绝
- 用 try/catch 包裹 updateEditPlan 调用,失败时 warn 并继续执行 generateEditPlan
- 进度弹窗 Modal 的 open 条件增加 !!genError,确保错误信息可见

修复问题:点击'生成视频'按钮无反应(根因:failed 状态计划 PUT 返回 400)
2026-07-15 21:18:06 +08:00
XiaoXia Bot 2526f18890 test(ci): 测试runs-on字符串格式
CI/CD Pipeline / Frontend Lint (push) Successful in 55s
CI/CD Pipeline / Unit Tests (push) Successful in 1m44s
CI/CD Pipeline / Validate Code Quality And Tests (push) Successful in 2m3s
CI/CD Pipeline / Integration Tests (push) Successful in 1m23s
CI Build & Deploy Pipeline / Staging API Integration Tests (push) Failing after 1505h34m39s
CI Build & Deploy Pipeline / Staging E2E Tests (push) Failing after 1505h34m39s
CI Build & Deploy Pipeline / Production Browser E2E (push) Failing after 1506h34m42s
CI Build & Deploy Pipeline / Build Production Web Image (push) Failing after 1506h34m48s
CI Build & Deploy Pipeline / Deploy Production (push) Failing after 1506h34m44s
CI Build & Deploy Pipeline / Build Production API Image (push) Failing after 1506h34m50s
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) Failing after 2m22s
CI Build & Deploy Pipeline / Build Production Worker Image (push) Failing after 1507h6m30s
2026-07-15 20:43:00 +08:00
XiaoXia Bot e24636d2dd fix(ci): 将build-farm标签改为build-only以匹配新Runner
CI/CD Pipeline / Frontend Lint (push) Successful in 48s
CI/CD Pipeline / Unit Tests (push) Successful in 1m43s
CI/CD Pipeline / Validate Code Quality And Tests (push) Successful in 2m6s
CI Build & Deploy Pipeline / Build Staging API Image (push) Has been cancelled
CI Build & Deploy Pipeline / Build Staging Web Image (push) Has been cancelled
CI Build & Deploy Pipeline / Build Staging Worker Image (push) Has been cancelled
CI Build & Deploy Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Has been cancelled
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 / Build Production API Image (push) Has been cancelled
CI Build & Deploy Pipeline / Build Production Web Image (push) Has been cancelled
CI Build & Deploy Pipeline / Build Production Worker Image (push) Has been cancelled
CI Build & Deploy Pipeline / Deploy Production (push) Has been cancelled
CI Build & Deploy Pipeline / Production Browser E2E (push) Has been cancelled
CI/CD Pipeline / Integration Tests (push) Has been cancelled
2026-07-15 20:39:35 +08:00
XiaoXia Bot ad37a1420f fix(ci): 修复ci-build.yml中checkout脚本的YAML解析问题
CI/CD Pipeline / Frontend Lint (push) Successful in 50s
CI/CD Pipeline / Validate Code Quality And Tests (push) Successful in 1m48s
CI/CD Pipeline / Unit Tests (push) Successful in 1m52s
CI/CD Pipeline / Integration Tests (push) Successful in 1m20s
CI Build & Deploy Pipeline / Build Staging API Image (push) Has been cancelled
CI Build & Deploy Pipeline / Build Staging Web Image (push) Has been cancelled
CI Build & Deploy Pipeline / Build Staging Worker Image (push) Has been cancelled
CI Build & Deploy Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Has been cancelled
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 / Build Production API Image (push) Has been cancelled
CI Build & Deploy Pipeline / Build Production Web Image (push) Has been cancelled
CI Build & Deploy Pipeline / Build Production Worker Image (push) Has been cancelled
CI Build & Deploy Pipeline / Deploy Production (push) Has been cancelled
CI Build & Deploy Pipeline / Production Browser E2E (push) Has been cancelled
2026-07-15 20:29:47 +08:00
XiaoXia Bot 86663150ae fix(ci): 修复ci-build.yml中checkout脚本的YAML解析问题
CI/CD Pipeline / Frontend Lint (push) Successful in 58s
CI/CD Pipeline / Frontend Lint (pull_request) Successful in 51s
CI/CD Pipeline / Validate Code Quality And Tests (push) Successful in 1m58s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Successful in 1m50s
CI/CD Pipeline / Unit Tests (push) Successful in 2m5s
CI/CD Pipeline / Unit Tests (pull_request) Successful in 2m5s
CI/CD Pipeline / Integration Tests (push) Successful in 1m26s
CI/CD Pipeline / Integration Tests (pull_request) Successful in 1m29s
CI Build & Deploy Pipeline / Production Browser E2E (pull_request) Failing after 1507h4m9s
CI Build & Deploy Pipeline / Staging E2E Tests (pull_request) Failing after 1507h4m10s
CI Build & Deploy Pipeline / Deploy Production (pull_request) Failing after 1507h4m10s
CI Build & Deploy Pipeline / Build Production Worker Image (pull_request) Failing after 1507h4m10s
CI Build & Deploy Pipeline / Deploy Staging (Watchtower auto-deploy) (pull_request) Failing after 1507h4m10s
CI Build & Deploy Pipeline / Build Production API Image (pull_request) Failing after 1507h4m11s
CI Build & Deploy Pipeline / Build Staging Web Image (pull_request) Failing after 1507h4m12s
CI Build & Deploy Pipeline / Build Staging API Image (pull_request) Failing after 1507h4m12s
CI Build & Deploy Pipeline / Production Browser E2E (push) Failing after 1507h4m22s
CI Build & Deploy Pipeline / Build Production API Image (push) Failing after 1507h4m26s
CI Build & Deploy Pipeline / Deploy Production (push) Failing after 1507h4m23s
CI Build & Deploy Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Failing after 1507h4m26s
CI Build & Deploy Pipeline / Staging API Integration Tests (push) Failing after 1507h4m24s
CI Build & Deploy Pipeline / Staging E2E Tests (push) Failing after 1507h4m24s
CI Build & Deploy Pipeline / Build Production Worker Image (push) Failing after 1507h4m24s
CI Build & Deploy Pipeline / Build Staging Worker Image (push) Failing after 1507h4m26s
CI Build & Deploy Pipeline / Build Staging Web Image (push) Failing after 1507h4m26s
CI Build & Deploy Pipeline / Build Staging API Image (push) Failing after 1507h4m26s
CI Build & Deploy Pipeline / Staging API Integration Tests (pull_request) Failing after 1507h35m54s
CI Build & Deploy Pipeline / Build Staging Worker Image (pull_request) Failing after 1507h35m56s
CI Build & Deploy Pipeline / Build Production Web Image (pull_request) Failing after 1507h35m54s
CI Build & Deploy Pipeline / Build Production Web Image (push) Failing after 1507h36m9s
将checkout步骤的run字段从单行双引号字符串改为多行块标量,
避免act_runner对长字符串的解析bug导致Python语法错误
2026-07-15 20:25:40 +08:00
XiaoXia Bot ecf457ecdb Merge PR #374: 修复ci-build.yml checkout步骤Python语法错误
CI/CD Pipeline / Validate Code Quality And Tests (push) Successful in 1m46s
CI/CD Pipeline / Unit Tests (push) Successful in 1m54s
CI/CD Pipeline / Frontend Lint (push) Successful in 51s
CI/CD Pipeline / Integration Tests (push) Successful in 1m39s
CI Build & Deploy Pipeline / Build Staging API Image (push) Failing after 30m1s
CI Build & Deploy Pipeline / Staging API Integration Tests (push) Failing after 1506h34m49s
CI Build & Deploy Pipeline / Staging E2E Tests (push) Failing after 1506h34m49s
CI Build & Deploy Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Failing after 1506h34m50s
CI Build & Deploy Pipeline / Production Browser E2E (push) Failing after 1507h8m54s
CI Build & Deploy Pipeline / Deploy Production (push) Failing after 1507h8m55s
CI Build & Deploy Pipeline / Build Production API Image (push) Failing after 1507h8m56s
CI Build & Deploy Pipeline / Build Production Worker Image (push) Failing after 1507h8m56s
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 / Build Production Web Image (push) Failing after 1507h40m40s
2026-07-15 20:16:21 +08:00
XiaoXia Bot e5a96db948 fix(ci): 修复ci-build.yml checkout步骤Python语法错误
CI/CD Pipeline / Frontend Lint (push) Successful in 47s
CI/CD Pipeline / Frontend Lint (pull_request) Successful in 49s
CI/CD Pipeline / Unit Tests (pull_request) Successful in 2m17s
CI/CD Pipeline / Unit Tests (push) Successful in 2m24s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Successful in 2m20s
CI/CD Pipeline / Validate Code Quality And Tests (push) Successful in 2m38s
CI/CD Pipeline / Integration Tests (pull_request) Successful in 1m34s
CI/CD Pipeline / Integration Tests (push) Successful in 1m34s
CI Build & Deploy Pipeline / Production Browser E2E (pull_request) Failing after 1507h13m49s
CI Build & Deploy Pipeline / Deploy Production (pull_request) Failing after 1507h13m50s
CI Build & Deploy Pipeline / Staging E2E Tests (pull_request) Failing after 1507h13m50s
CI Build & Deploy Pipeline / Build Production Worker Image (pull_request) Failing after 1507h13m50s
CI Build & Deploy Pipeline / Build Production API Image (pull_request) Failing after 1507h13m51s
CI Build & Deploy Pipeline / Deploy Staging (Watchtower auto-deploy) (pull_request) Failing after 1507h13m51s
CI Build & Deploy Pipeline / Build Staging Web Image (pull_request) Failing after 1507h13m52s
CI Build & Deploy Pipeline / Build Staging API Image (pull_request) Failing after 1507h13m52s
CI Build & Deploy Pipeline / Production Browser E2E (push) Failing after 1507h13m55s
CI Build & Deploy Pipeline / Staging API Integration Tests (push) Failing after 1507h13m56s
CI Build & Deploy Pipeline / Staging E2E Tests (push) Failing after 1507h13m56s
CI Build & Deploy Pipeline / Build Production Worker Image (push) Failing after 1507h13m56s
CI Build & Deploy Pipeline / Build Production API Image (push) Failing after 1507h13m56s
CI Build & Deploy Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Failing after 1507h13m56s
CI Build & Deploy Pipeline / Build Staging Web Image (push) Failing after 1507h13m58s
CI Build & Deploy Pipeline / Build Staging API Image (push) Failing after 1507h13m58s
CI Build & Deploy Pipeline / Staging API Integration Tests (pull_request) Failing after 1507h45m34s
CI Build & Deploy Pipeline / Build Production Web Image (pull_request) Failing after 1507h45m34s
CI Build & Deploy Pipeline / Build Staging Worker Image (pull_request) Failing after 1507h45m35s
CI Build & Deploy Pipeline / Deploy Production (push) Failing after 1507h45m40s
CI Build & Deploy Pipeline / Build Production Web Image (push) Failing after 1507h45m40s
CI Build & Deploy Pipeline / Build Staging Worker Image (push) Failing after 1507h45m42s
2026-07-15 20:16:08 +08:00
XiaoXia Bot f499f4a0e7 Merge PR #373: fix(ci): 修复ci-build.yml的YAML语法错误
CI Build & Deploy Pipeline / Build Staging API Image (push) Failing after 0s
CI Build & Deploy Pipeline / Build Staging Web Image (push) Failing after 0s
CI Build & Deploy Pipeline / Build Staging Worker Image (push) Failing after 0s
CI/CD Pipeline / Frontend Lint (push) Successful in 36s
CI/CD Pipeline / Validate Code Quality And Tests (push) Successful in 1m47s
CI/CD Pipeline / Unit Tests (push) Successful in 1m50s
CI/CD Pipeline / Integration Tests (push) Successful in 1m14s
CI Build & Deploy Pipeline / Production Browser E2E (push) Failing after 1507h27m51s
CI Build & Deploy Pipeline / Staging API Integration Tests (push) Failing after 1507h27m52s
CI Build & Deploy Pipeline / Staging E2E Tests (push) Failing after 1507h27m52s
CI Build & Deploy Pipeline / Build Production Worker Image (push) Failing after 1507h27m53s
CI Build & Deploy Pipeline / Build Production API Image (push) Failing after 1507h27m53s
CI Build & Deploy Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Failing after 1507h27m54s
CI Build & Deploy Pipeline / Deploy Production (push) Failing after 1507h59m36s
CI Build & Deploy Pipeline / Build Production Web Image (push) Failing after 1507h59m37s
2026-07-15 20:02:10 +08:00
XiaoXia Bot 6978ec66ed fix(ci): 修复ci-build.yml的YAML转义错误(buildx引号+deploy单引号)
CI/CD Pipeline / Frontend Lint (push) Successful in 36s
CI/CD Pipeline / Frontend Lint (pull_request) Successful in 47s
CI/CD Pipeline / Validate Code Quality And Tests (push) Successful in 1m50s
CI/CD Pipeline / Unit Tests (push) Successful in 2m4s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Successful in 1m45s
CI/CD Pipeline / Unit Tests (pull_request) Successful in 2m9s
CI/CD Pipeline / Integration Tests (push) Successful in 1m26s
CI/CD Pipeline / Integration Tests (pull_request) Successful in 1m20s
CI Build & Deploy Pipeline / Production Browser E2E (pull_request) Failing after 1507h28m22s
CI Build & Deploy Pipeline / Build Production Web Image (pull_request) Failing after 1507h28m23s
CI Build & Deploy Pipeline / Build Production API Image (pull_request) Failing after 1507h28m23s
CI Build & Deploy Pipeline / Deploy Staging (Watchtower auto-deploy) (pull_request) Failing after 1507h28m24s
CI Build & Deploy Pipeline / Deploy Production (pull_request) Failing after 1507h28m23s
CI Build & Deploy Pipeline / Build Staging Web Image (pull_request) Failing after 1507h28m25s
CI Build & Deploy Pipeline / Staging API Integration Tests (pull_request) Failing after 1507h28m23s
CI Build & Deploy Pipeline / Build Staging API Image (pull_request) Failing after 1507h28m25s
CI Build & Deploy Pipeline / Staging E2E Tests (pull_request) Failing after 1507h28m23s
CI Build & Deploy Pipeline / Production Browser E2E (push) Failing after 1507h29m2s
CI Build & Deploy Pipeline / Staging E2E Tests (push) Failing after 1507h29m4s
CI Build & Deploy Pipeline / Deploy Production (push) Failing after 1507h29m4s
CI Build & Deploy Pipeline / Build Production Worker Image (push) Failing after 1507h29m6s
CI Build & Deploy Pipeline / Build Production Web Image (push) Failing after 1507h29m6s
CI Build & Deploy Pipeline / Build Staging Worker Image (push) Failing after 1507h29m6s
CI Build & Deploy Pipeline / Build Staging Web Image (push) Failing after 1507h29m6s
CI Build & Deploy Pipeline / Build Staging API Image (push) Failing after 1507h29m7s
CI Build & Deploy Pipeline / Build Production Worker Image (pull_request) Failing after 1508h0m7s
CI Build & Deploy Pipeline / Build Staging Worker Image (pull_request) Failing after 1508h0m8s
CI Build & Deploy Pipeline / Staging API Integration Tests (push) Failing after 1508h0m48s
CI Build & Deploy Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Failing after 1508h0m49s
CI Build & Deploy Pipeline / Build Production API Image (push) Failing after 1508h0m50s
2026-07-15 20:01:00 +08:00
CI Bot 9c1bcd93d2 fix: 生成失败时进度弹窗不显示 — Modal open 条件补上 genError
CI/CD Pipeline / Frontend Lint (push) Successful in 38s
CI/CD Pipeline / Unit Tests (push) Successful in 1m39s
CI/CD Pipeline / Validate Code Quality And Tests (push) Successful in 2m9s
CI/CD Pipeline / Integration Tests (push) Successful in 1m15s
根因:Modal open={generating || generated},失败时两者都 false,
弹窗关闭导致 genError 错误信息不可见。
修复:open={generating || generated || !!genError},
title 同步区分失败/完成/进行中三种状态。

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-15 19:57:55 +08:00
XiaoXia Bot 7748604e76 Merge PR #372: feat(ci): 拆分构建workflow + buildx动态命名
CI/CD Pipeline / Frontend Lint (push) Successful in 44s
CI/CD Pipeline / Validate Code Quality And Tests (push) Successful in 1m33s
CI/CD Pipeline / Unit Tests (push) Successful in 1m39s
CI/CD Pipeline / Integration Tests (push) Successful in 1m12s
2026-07-15 19:48:46 +08:00
XiaoXia Bot 5471ed473e feat(ci): 拆分构建workflow + buildx动态命名(解决cancel-in-progress踩踏)
CI/CD Pipeline / Frontend Lint (push) Successful in 46s
CI/CD Pipeline / Frontend Lint (pull_request) Successful in 44s
CI/CD Pipeline / Unit Tests (push) Successful in 1m55s
CI/CD Pipeline / Unit Tests (pull_request) Successful in 1m53s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Successful in 2m12s
CI/CD Pipeline / Validate Code Quality And Tests (push) Successful in 2m24s
CI/CD Pipeline / Integration Tests (push) Successful in 1m17s
CI/CD Pipeline / Integration Tests (pull_request) Successful in 1m17s
- ci-cd.yml:仅保留4个门禁(validate/unit/integration/frontend-lint),cancel-in-progress: true
- ci-build.yml:构建/部署/E2E,cancel-in-progress: false,避免频繁推送取消构建
- buildx builder动态命名:ci-builder--,避免并发job冲突
- 已同步阿里云ACR配置
2026-07-15 19:40:52 +08:00
CI Bot 488928f6eb ci: 触发 staging 部署(Docker registry 已修复)
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Failing after 51s
CI/CD Pipeline / Staging API Integration Tests (push) Failing after 1507h55m1s
CI/CD Pipeline / Production Browser E2E (push) Failing after 1508h31m15s
CI/CD Pipeline / Staging E2E Tests (push) Failing after 1507h55m2s
CI/CD Pipeline / Deploy Production (push) Failing after 1508h31m18s
CI/CD Pipeline / Build Production API Image (push) Failing after 1508h31m18s
CI/CD Pipeline / Build Production Worker Image (push) Failing after 1508h31m18s
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
CI/CD Pipeline / Build Staging API Image (push) Has been skipped
CI/CD Pipeline / Build Staging Web Image (push) Has been skipped
CI/CD Pipeline / Build Staging Worker Image (push) Has been skipped
CI/CD Pipeline / Build Production Web Image (push) Failing after 1509h3m1s
2026-07-15 18:58:07 +08:00
CI Bot 81779c4e1f feat(edit-plans): 列表页新增 result_count 视频数列
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
CI/CD Pipeline / Unit Tests (push) Has been cancelled
CI/CD Pipeline / Integration Tests (push) Has been cancelled
CI/CD Pipeline / Build Staging API Image (push) Has been cancelled
CI/CD Pipeline / Build Staging Web Image (push) Has been cancelled
CI/CD Pipeline / Build Staging Worker Image (push) Has been cancelled
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Has been cancelled
CI/CD Pipeline / Staging E2E Tests (push) Has been cancelled
CI/CD Pipeline / Staging API Integration Tests (push) Has been cancelled
CI/CD Pipeline / Production Browser E2E (push) Failing after 1508h45m4s
CI/CD Pipeline / Build Production Worker Image (push) Failing after 1508h45m5s
CI/CD Pipeline / Build Production Web Image (push) Failing after 1508h45m5s
CI/CD Pipeline / Build Production API Image (push) Failing after 1508h45m5s
CI/CD Pipeline / Frontend Lint (push) Has been skipped
CI/CD Pipeline / Deploy Production (push) Failing after 1509h16m47s
- EditPlan interface 新增 result_count: number 字段
- EditPlans.tsx 表格在时长列后新增「视频数」列
- 居中展示,有值显示数字,无值显示 —

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-15 18:44:21 +08:00
CI Bot 833ea8e9d8 style: prettier 格式化 GenerationHistoryModal
CI/CD Pipeline / Build Staging Web Image (push) Has been cancelled
CI/CD Pipeline / Build Staging Worker Image (push) Has been cancelled
CI/CD Pipeline / Production Browser E2E (push) Failing after 1508h44m41s
CI/CD Pipeline / Build Production Worker Image (push) Failing after 1508h44m43s
CI/CD Pipeline / Build Production Web Image (push) Failing after 1508h44m43s
CI/CD Pipeline / Build Production API Image (push) Failing after 1508h44m44s
CI/CD Pipeline / Staging API Integration Tests (push) Failing after 0s
CI/CD Pipeline / Staging E2E Tests (push) Failing after 0s
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Failing after 0s
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
CI/CD Pipeline / Build Staging API Image (push) Has been skipped
CI/CD Pipeline / Deploy Production (push) Failing after 1509h16m25s
2026-07-15 18:37:22 +08:00
CI Bot 018358cbb1 fix: EditPlanResponse暴露result_count字段(列表/详情接口)
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
CI/CD Pipeline / Unit Tests (push) Has been cancelled
CI/CD Pipeline / Integration Tests (push) Has been cancelled
CI/CD Pipeline / Frontend Lint (push) Has been cancelled
CI/CD Pipeline / Build Staging API Image (push) Has been cancelled
CI/CD Pipeline / Build Staging Web Image (push) Has been cancelled
CI/CD Pipeline / Build Staging Worker Image (push) Has been cancelled
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Has been cancelled
CI/CD Pipeline / Staging E2E Tests (push) Has been cancelled
CI/CD Pipeline / Staging API Integration Tests (push) Has been cancelled
CI/CD Pipeline / Build Production API Image (push) Has been cancelled
CI/CD Pipeline / Build Production Web Image (push) Has been cancelled
CI/CD Pipeline / Build Production Worker Image (push) Has been cancelled
CI/CD Pipeline / Deploy Production (push) Has been cancelled
CI/CD Pipeline / Production Browser E2E (push) Has been cancelled
2026-07-15 18:36:40 +08:00
CI Bot ba288f2e8b fix: EditPlanGeneration 类型对齐后端 + 生成历史弹窗字段修复
CI/CD Pipeline / Frontend Lint (push) Failing after 31s
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
CI/CD Pipeline / Unit Tests (push) Has been cancelled
CI/CD Pipeline / Integration Tests (push) Has been cancelled
CI/CD Pipeline / Build Staging API Image (push) Has been cancelled
CI/CD Pipeline / Build Staging Web Image (push) Has been cancelled
CI/CD Pipeline / Build Staging Worker Image (push) Has been cancelled
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Has been cancelled
CI/CD Pipeline / Staging E2E Tests (push) Has been cancelled
CI/CD Pipeline / Staging API Integration Tests (push) Has been cancelled
CI/CD Pipeline / Production Browser E2E (push) Failing after 1508h54m8s
CI/CD Pipeline / Deploy Production (push) Failing after 1508h54m10s
CI/CD Pipeline / Build Production Worker Image (push) Failing after 1508h54m12s
CI/CD Pipeline / Build Production Web Image (push) Failing after 1508h54m12s
CI/CD Pipeline / Build Production API Image (push) Failing after 1508h54m14s
- EditPlanGeneration interface 改为匹配实际 API 响应(id 即 task_id)
- 补充 result_count/progress/error_message/logs 等字段
- GenerationHistoryModal 改用 gen.id 替代不存在的 gen.generation_task_id
- 彻底修复 P0 崩溃:generation_task_id undefined → slice 报错

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-15 18:35:19 +08:00
CI Bot 86a868acfb fix: 修复生成历史弹窗 generation_task_id 为 null 时页面崩溃
CI/CD Pipeline / Build Staging Worker Image (push) Failing after 1s
CI/CD Pipeline / Build Staging API Image (push) Failing after 9s
CI/CD Pipeline / Build Staging Web Image (push) Failing after 11s
CI/CD Pipeline / Staging API Integration Tests (push) Failing after 1509h4m57s
CI/CD Pipeline / Staging E2E Tests (push) Failing after 1509h4m58s
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Failing after 1509h4m58s
CI/CD Pipeline / Build Production Worker Image (push) Failing after 1509h6m4s
CI/CD Pipeline / Production Browser E2E (push) Failing after 1509h6m2s
CI/CD Pipeline / Build Production Web Image (push) Failing after 1509h6m4s
CI/CD Pipeline / Build Production API Image (push) Failing after 1509h6m4s
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
CI/CD Pipeline / Deploy Production (push) Failing after 1509h37m46s
- GenerationHistoryModal 中 gen.generation_task_id.slice() 未做空值保护
- 当后端返回的 generation_task_id 为 undefined 时直接崩溃
- 添加空值检查,为 null 时显示 '—'

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-15 18:23:24 +08:00
XiaoXia Bot c18146287e feat(ci): 构建切换到阿里云ACR,解决registry并发瓶颈
CI/CD Pipeline / Build Staging Worker Image (push) Failing after 1s
CI/CD Pipeline / Build Staging API Image (push) Failing after 9s
CI/CD Pipeline / Build Staging Web Image (push) Failing after 9s
CI/CD Pipeline / Integration Tests (push) Has been cancelled
CI/CD Pipeline / Staging API Integration Tests (push) Failing after 1509h7m11s
CI/CD Pipeline / Deploy Production (push) Failing after 1509h8m18s
CI/CD Pipeline / Staging E2E Tests (push) Failing after 1509h7m11s
CI/CD Pipeline / Build Production Worker Image (push) Failing after 1509h8m19s
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Failing after 1509h7m12s
CI/CD Pipeline / Build Production API Image (push) Failing after 1509h8m20s
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been skipped
CI/CD Pipeline / Unit Tests (push) Has been skipped
CI/CD Pipeline / Frontend Lint (push) Has been skipped
CI/CD Pipeline / Production Browser E2E (push) Failing after 1509h40m0s
CI/CD Pipeline / Build Production Web Image (push) Failing after 1509h40m2s
2026-07-15 18:21:05 +08:00
XiaoXia Bot e1b6ccaf0a fix(ci): 修复check_migration_safety.py的import排序(isort I001)
CI/CD Pipeline / Build Staging API Image (push) Has been cancelled
CI/CD Pipeline / Build Staging Worker Image (push) Has been cancelled
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Has been cancelled
CI/CD Pipeline / Staging E2E Tests (push) Has been cancelled
CI/CD Pipeline / Staging API Integration Tests (push) Has been cancelled
CI/CD Pipeline / Production Browser E2E (push) Failing after 1509h13m19s
CI/CD Pipeline / Build Production Worker Image (push) Failing after 1509h13m20s
CI/CD Pipeline / Build Production Web Image (push) Failing after 1509h13m21s
CI/CD Pipeline / Build Production API Image (push) Failing after 1509h13m23s
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
CI/CD Pipeline / Build Staging Web Image (push) Has been skipped
CI/CD Pipeline / Deploy Production (push) Failing after 1509h45m3s
2026-07-15 18:16:06 +08:00
xiaoxia ab5d3bd251 chore(ci): 恢复cancel-in-progress=true
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 43s
CI/CD Pipeline / Staging API Integration Tests (push) Failing after 1510h0m14s
CI/CD Pipeline / Build Staging Worker Image (push) Failing after 1510h0m18s
CI/CD Pipeline / Build Staging Web Image (push) Failing after 1510h0m18s
CI/CD Pipeline / Staging E2E Tests (push) Failing after 1510h0m15s
CI/CD Pipeline / Production Browser E2E (push) Failing after 1510h0m21s
CI/CD Pipeline / Deploy Production (push) Failing after 1510h0m22s
CI/CD Pipeline / Build Production Web Image (push) Failing after 1510h0m23s
CI/CD Pipeline / Build Production API Image (push) Failing after 1510h0m23s
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
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Failing after 1510h31m59s
CI/CD Pipeline / Build Staging API Image (push) Failing after 1510h32m2s
CI/CD Pipeline / Build Production Worker Image (push) Failing after 1510h32m6s
2026-07-15 17:28:58 +08:00
CI Bot 13883511f2 chore(ci): 删除误提交的bak文件
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 1m16s
CI/CD Pipeline / Staging API Integration Tests (push) Failing after 1510h26m38s
CI/CD Pipeline / Build Staging Web Image (push) Failing after 1510h26m41s
CI/CD Pipeline / Staging E2E Tests (push) Failing after 1510h26m38s
CI/CD Pipeline / Build Staging API Image (push) Failing after 1510h26m41s
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Failing after 1510h26m39s
CI/CD Pipeline / Deploy Production (push) Failing after 1510h27m51s
CI/CD Pipeline / Build Production Worker Image (push) Failing after 1510h27m53s
CI/CD Pipeline / Build Production API Image (push) Failing after 1510h27m53s
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
CI/CD Pipeline / Build Staging Worker Image (push) Failing after 1510h58m24s
CI/CD Pipeline / Production Browser E2E (push) Failing after 1510h59m32s
CI/CD Pipeline / Build Production Web Image (push) Failing after 1510h59m36s
2026-07-15 16:59:37 +08:00
CI Bot 8ebe970615 fix(ci): 重构migration增量检查 — 改用Gitea API替代git diff,彻底解决CI卡住问题
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
CI/CD Pipeline / Unit Tests (push) Has been cancelled
CI/CD Pipeline / Integration Tests (push) Has been cancelled
CI/CD Pipeline / Frontend Lint (push) Has been cancelled
CI/CD Pipeline / Build Staging API Image (push) Has been cancelled
CI/CD Pipeline / Build Staging Web Image (push) Has been cancelled
CI/CD Pipeline / Build Staging Worker Image (push) Has been cancelled
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Has been cancelled
CI/CD Pipeline / Staging E2E Tests (push) Has been cancelled
CI/CD Pipeline / Staging API Integration Tests (push) Has been cancelled
CI/CD Pipeline / Build Production API Image (push) Has been cancelled
CI/CD Pipeline / Build Production Web Image (push) Has been cancelled
CI/CD Pipeline / Build Production Worker Image (push) Has been cancelled
CI/CD Pipeline / Deploy Production (push) Has been cancelled
CI/CD Pipeline / Production Browser E2E (push) Has been cancelled
- 移除 Prepare git for migration diff step(git init+fetch+diff方案在host runner上不稳定)
- check_migration_safety.py 改用 Gitea Contents API 对比 develop 分支迁移文件列表
- 轻量可靠:1-2秒完成,不依赖git,不会卡住
- API失败时自动降级为全量检查
2026-07-15 16:59:00 +08:00
CI Bot cebb33c2e2 fix(ci): 彻底修复migration diff step卡住问题 — 用后台进程+轮询替代timeout命令
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
CI/CD Pipeline / Unit Tests (push) Has been cancelled
CI/CD Pipeline / Integration Tests (push) Has been cancelled
CI/CD Pipeline / Frontend Lint (push) Has been cancelled
CI/CD Pipeline / Build Staging API Image (push) Has been cancelled
CI/CD Pipeline / Build Staging Web Image (push) Has been cancelled
CI/CD Pipeline / Build Staging Worker Image (push) Has been cancelled
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Has been cancelled
CI/CD Pipeline / Staging E2E Tests (push) Has been cancelled
CI/CD Pipeline / Staging API Integration Tests (push) Has been cancelled
CI/CD Pipeline / Production Browser E2E (push) Failing after 1510h31m21s
CI/CD Pipeline / Deploy Production (push) Failing after 1510h31m22s
CI/CD Pipeline / Build Production Worker Image (push) Failing after 1510h31m22s
CI/CD Pipeline / Build Production Web Image (push) Failing after 1510h31m22s
CI/CD Pipeline / Build Production API Image (push) Failing after 1510h31m23s
- Gitea Actions v0.2.6不支持step级continue-on-error和timeout-minutes
- timeout命令在host runner环境下行为不可靠(可能不生效)
- 改用后台进程+30秒轮询超时,确保无论fetch成功/失败/卡住都在30秒内返回
- set +e + exit 0确保step永远不会失败,真正做到准备工作不阻断主流程
2026-07-15 16:21:27 +08:00
xiaoxia 8ffc22f348 chore(ci): 临时关闭cancel-in-progress,跑一轮完整CI验证构建修复
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been cancelled
CI/CD Pipeline / Unit Tests (push) Has been cancelled
CI/CD Pipeline / Integration Tests (push) Has been cancelled
CI/CD Pipeline / Frontend Lint (push) Has been cancelled
CI/CD Pipeline / Build Staging API Image (push) Has been cancelled
CI/CD Pipeline / Build Staging Web Image (push) Has been cancelled
CI/CD Pipeline / Build Staging Worker Image (push) Has been cancelled
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Has been cancelled
CI/CD Pipeline / Staging E2E Tests (push) Has been cancelled
CI/CD Pipeline / Staging API Integration Tests (push) Has been cancelled
CI/CD Pipeline / Build Production API Image (push) Has been cancelled
CI/CD Pipeline / Build Production Web Image (push) Has been cancelled
CI/CD Pipeline / Build Production Worker Image (push) Has been cancelled
CI/CD Pipeline / Deploy Production (push) Has been cancelled
CI/CD Pipeline / Production Browser E2E (push) Has been cancelled
2026-07-15 16:17:46 +08:00
xiaoxia c99f3f75ad fix: 硬切场景改用concat filter替代xfade,提升多素材性能与稳定性 (#350)
CI/CD Pipeline / Build Staging API Image (push) Failing after 30m1s
CI/CD Pipeline / Build Staging Web Image (push) Failing after 30m1s
CI/CD Pipeline / Build Staging Worker Image (push) Failing after 40m1s
CI/CD Pipeline / Staging API Integration Tests (push) Failing after 1510h31m22s
CI/CD Pipeline / Staging E2E Tests (push) Failing after 1510h31m22s
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Failing after 1510h31m23s
CI/CD Pipeline / Production Browser E2E (push) Failing after 1511h12m25s
CI/CD Pipeline / Build Production Worker Image (push) Failing after 1511h12m27s
CI/CD Pipeline / Build Production Web Image (push) Failing after 1511h12m27s
CI/CD Pipeline / Build Production API Image (push) Failing after 1511h12m27s
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
CI/CD Pipeline / Deploy Production (push) Failing after 1511h44m9s
2026-07-15 16:16:54 +08:00
CI Bot 0382c4e697 fix(ci): migration diff step失败不阻断Validate — 加continue-on-error + 2分钟超时
CI/CD Pipeline / Build Staging API Image (push) Has been cancelled
CI/CD Pipeline / Build Staging Web Image (push) Has been cancelled
CI/CD Pipeline / Build Staging Worker Image (push) Has been cancelled
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Has been cancelled
CI/CD Pipeline / Staging E2E Tests (push) Has been cancelled
CI/CD Pipeline / Staging API Integration Tests (push) Has been cancelled
CI/CD Pipeline / Production Browser E2E (push) Failing after 1511h18m27s
CI/CD Pipeline / Build Production Worker Image (push) Failing after 1511h18m29s
CI/CD Pipeline / Build Production Web Image (push) Failing after 1511h18m29s
CI/CD Pipeline / Build Production API Image (push) Failing after 1511h18m29s
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
CI/CD Pipeline / Deploy Production (push) Failing after 1511h50m11s
- Prepare git for migration diff只是准备工作,失败应降级为全量检查
- 加timeout-minutes:2防止git fetch卡住拖慢CI
- continue-on-error:true确保后续migration safety检查正常运行
2026-07-15 16:10:49 +08:00
CI Bot 45e7cfe7c9 fix(ci): 修复migration diff步骤 - 分支名从main改为develop + 加30s超时
CI/CD Pipeline / Build Staging Web Image (push) Has been cancelled
CI/CD Pipeline / Build Staging Worker Image (push) Has been cancelled
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Has been cancelled
CI/CD Pipeline / Staging E2E Tests (push) Has been cancelled
CI/CD Pipeline / Staging API Integration Tests (push) Has been cancelled
CI/CD Pipeline / Production Browser E2E (push) Failing after 1511h47m30s
CI/CD Pipeline / Build Production Worker Image (push) Failing after 1511h47m31s
CI/CD Pipeline / Build Production Web Image (push) Failing after 1511h47m31s
CI/CD Pipeline / Build Production API Image (push) Failing after 1511h47m31s
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
CI/CD Pipeline / Build Staging API Image (push) Has been skipped
CI/CD Pipeline / Deploy Production (push) Failing after 1512h19m14s
- Prepare git for migration diff 步骤写死了 fetch main 分支
- 项目实际开发分支是 develop,导致 fetch 卡住(之前因 URL 拼错立即失败未暴露)
- 改为 fetch develop + 30秒超时保护
- Check migration safety 也同步改 origin/develop
2026-07-15 15:41:47 +08:00
CI Bot 04d48d624a fix: 移除render_metrics依赖(该模块在develop上不存在),保持PR独立可合并
CI/CD Pipeline / Production Browser E2E (pull_request) Failing after 1514h25m34s
CI/CD Pipeline / Staging API Integration Tests (pull_request) Failing after 1514h25m34s
CI/CD Pipeline / Build Production Web Image (pull_request) Failing after 1514h25m36s
CI/CD Pipeline / Staging E2E Tests (pull_request) Failing after 1514h25m34s
CI/CD Pipeline / Build Production Worker Image (pull_request) Failing after 1514h25m36s
CI/CD Pipeline / Deploy Production (pull_request) Failing after 1514h25m35s
CI/CD Pipeline / Build Staging Web Image (pull_request) Failing after 1514h25m36s
CI/CD Pipeline / Build Staging Worker Image (pull_request) Failing after 1514h25m36s
CI/CD Pipeline / Production Browser E2E (push) Failing after 1514h26m56s
CI/CD Pipeline / Build Staging API Image (pull_request) Failing after 1514h25m36s
CI/CD Pipeline / Build Production Worker Image (push) Failing after 1514h26m57s
CI/CD Pipeline / Staging API Integration Tests (push) Failing after 1514h26m56s
CI/CD Pipeline / Build Production API Image (push) Failing after 1514h26m57s
CI/CD Pipeline / Build Staging API Image (push) Failing after 1514h26m57s
CI/CD Pipeline / Staging E2E Tests (push) Failing after 1514h26m56s
CI/CD Pipeline / Deploy Production (push) Failing after 1514h26m56s
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (push) Failing after 1514h26m56s
CI/CD Pipeline / Build Staging Web Image (push) Failing after 1514h26m57s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Has been skipped
CI/CD Pipeline / Unit Tests (pull_request) Has been skipped
CI/CD Pipeline / Integration Tests (pull_request) Has been skipped
CI/CD Pipeline / Frontend Lint (pull_request) Has been skipped
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (pull_request) Failing after 1514h57m16s
CI/CD Pipeline / Build Production API Image (pull_request) Failing after 1514h57m17s
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
CI/CD Pipeline / Build Production Web Image (push) Failing after 1514h58m38s
CI/CD Pipeline / Build Staging Worker Image (push) Failing after 1514h58m38s
PR #248 核心是flag调试日志 + fallback统一,埋点应由专门的灰度观测指标PR负责。
移除compose_video中对render_metrics的引用,确保PR可独立合并、不引入运行时错误。
2026-07-15 13:00:43 +08:00
CI Bot c8ed027e98 fix: 渲染引擎flag解析增加调试日志 + 统一fallback行为
- 三个入口(compose_video/edit_plan/generate_video)都增加flag配置详情日志
  (enabled/percentage/whitelist/default_engine),灰度期间便于排查
- 统一fallback行为:异常时全部fallback到legacy(保守策略)
  之前generate_video异常时fallback到unified,与其他入口不一致
2026-07-15 13:00:40 +08:00
Ops Bot f901705050 docs: 新增 runner-planning.md
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 17s
CI/CD Pipeline / Unit Tests (pull_request) Failing after 47s
CI/CD Pipeline / Integration Tests (pull_request) Failing after 37s
CI/CD Pipeline / Production Browser E2E (pull_request) Failing after 1558h59m1s
CI/CD Pipeline / Staging E2E Tests (pull_request) Failing after 1558h59m4s
CI/CD Pipeline / Build Production Runtime Images (pull_request) Failing after 1558h59m6s
CI/CD Pipeline / Deploy Production (pull_request) Failing after 1558h59m4s
CI/CD Pipeline / Build & Push Staging (Watchtower auto-deploy) (pull_request) Failing after 1558h59m6s
CI/CD Pipeline / Frontend Lint (pull_request) Has been skipped
CI/CD Pipeline / Staging API Integration Tests (pull_request) Failing after 1559h30m38s
2026-07-13 16:27:17 +08:00
Ops Bot 8d826d73c0 docs: 新增 ci-failure-diagnosis-20260713.md 2026-07-13 16:27:16 +08:00
18 changed files with 1284 additions and 600 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+2
View File
@@ -72,6 +72,7 @@ class EditPlanResponse(BaseModel):
name: str
status: str
total_duration: float
result_count: int = 0
project_id: str = ""
created_by_user_id: str = ""
config: dict[str, Any]
@@ -241,6 +242,7 @@ def _to_response(p: EditPlan) -> EditPlanResponse:
name=p.name,
status=p.status.value if hasattr(p.status, "value") else p.status,
total_duration=p.total_duration,
result_count=getattr(p, "result_count", 0),
project_id=p.project_id or "",
created_by_user_id=p.created_by_user_id or "",
config=p.config,
+15 -6
View File
@@ -130,6 +130,8 @@ export interface EditPlan {
name: string;
status: EditPlanStatus;
total_duration: number;
/** 生成视频数量(后端 EditPlanResponse.result_count */
result_count: number;
config: EditPlanConfig;
created_at: string;
updated_at: string;
@@ -161,14 +163,21 @@ export interface GenerateResponse {
clip_count: number;
}
/** 剪辑计划关联的生成记录 */
/** 剪辑计划关联的生成记录(实际是 GenerationTask 对象) */
export interface EditPlanGeneration {
id: string;
edit_plan_id: string;
generation_task_id: string;
id: string; // 即 generation_task_id
source_edit_plan_id: string;
template_id: string;
asset_ids: string[];
status: EditPlanStatus;
created_at: string;
updated_at: string;
progress: number;
result_count: number;
error_message: string;
error_info: Record<string, unknown>;
logs: Array<Record<string, unknown>>;
retry_count: number;
created_at?: string;
updated_at?: string;
}
/** 片段生成状态 */
+4 -2
View File
@@ -6,7 +6,7 @@ import React from "react";
import ReactDOM from "react-dom/client";
import { RouterProvider } from "react-router-dom";
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
import { ConfigProvider } from "antd";
import { ConfigProvider, App as AntApp } from "antd";
import zhCN from "antd/locale/zh_CN";
import router from "./router";
import "./index.css";
@@ -91,7 +91,9 @@ ReactDOM.createRoot(document.getElementById("root")!).render(
<React.StrictMode>
<QueryClientProvider client={queryClient}>
<ConfigProvider locale={zhCN} theme={theme}>
<RouterProvider router={router} />
<AntApp>
<RouterProvider router={router} />
</AntApp>
</ConfigProvider>
</QueryClientProvider>
</React.StrictMode>,
@@ -254,6 +254,16 @@ export default function EditPlans() {
<span className="plan-duration">{formatDuration(seconds)}</span>
),
},
{
title: "视频数",
dataIndex: "result_count",
key: "result_count",
width: 80,
align: "center",
render: (count: number) => (
<span className="plan-result-count">{count > 0 ? count : "—"}</span>
),
},
{
title: "创建时间",
dataIndex: "created_at",
@@ -1812,7 +1812,27 @@
═══════════════════════════════════════ */
.ep-status-bar {
display: none;
display: flex;
align-items: center;
justify-content: space-between;
padding: 6px 16px;
background: var(--ep-bg-card, #fff);
border-bottom: 1px solid var(--ep-border, #e8e8e8);
font-size: 12px;
color: var(--text-secondary, #666);
flex-shrink: 0;
}
.ep-status-left,
.ep-status-right {
display: flex;
align-items: center;
gap: 4px;
}
.ep-status-sep {
margin: 0 4px;
opacity: 0.35;
}
/* ═══════════════════════════════════════
@@ -955,12 +955,21 @@ const EditingPlanner: React.FC = () => {
let planId = loadedPlanId;
if (planId) {
// 已有计划 → 更新配置
await updateEditPlan(planId, {
config,
total_duration: totalDuration,
status: "editing",
});
// 已有计划 → 先重置状态为 draftfailed/editing 等非 draft 状态会被后端拒绝更新和生成)
try {
await updateEditPlan(planId, { status: "draft" });
} catch (resetErr) {
console.warn("[状态重置跳过]", resetErr);
}
// 再更新配置
try {
await updateEditPlan(planId, {
config,
total_duration: totalDuration,
});
} catch (updateErr) {
console.warn("[计划更新跳过]", updateErr);
}
} else {
// 无计划 → 创建新计划
const plan = await createEditPlan({
@@ -1279,8 +1288,8 @@ const EditingPlanner: React.FC = () => {
{/* ═══ 生成进度弹窗 ═══ */}
<Modal
title={generated ? "生成完成" : "正在生成视频"}
open={generating || generated}
title={genError ? "生成失败" : generated ? "生成完成" : "正在生成视频"}
open={generating || generated || !!genError}
footer={
generated
? [
@@ -65,7 +65,7 @@ const GenerationHistoryModal: React.FC<GenerationHistoryModalProps> = ({
return (
<tr key={gen.id} className="ep-gh-table-row">
<td className="ep-gh-td ep-gh-td-id">
{gen.generation_task_id.slice(0, 8)}...
{gen.id ? `${gen.id.slice(0, 8)}...` : "—"}
</td>
<td className="ep-gh-td">
<span className={`ep-gh-status-tag ${statusClass}`}>
+104
View File
@@ -0,0 +1,104 @@
# CI 大量失败根因排查报告
**排查时间:** 2026-07-13
**排查人:** 构建服务器运维Agent
**范围:** 最近15次 CI runPR #258~#265 + develop 分支多次 push
## 一、整体概况
最近 20 次 CI run 中 16 次失败,失败率 **80%**。失败集中在 3 个 Job
| Job | 失败率 | 根因类型 |
|-----|--------|----------|
| Validate Code Quality | 100% | black 代码格式检查失败 |
| Unit Tests | 100% | 测试断言未同步国际化改动 |
| Integration Tests | 100% | 密码重置接口变更未同步测试 |
| Frontend Lint | 20% | 各 PR 代码质量问题 |
**结论:3 个全局性失败点导致所有 PR CI 全红,不是代码本身问题,是基础设施/测试用例滞后。**
---
## 二、详细根因分析
### 1. Validate — black 格式检查失败
**现象:**
```
would reformat scripts/check_migration_safety.py
1 file would be reformatted, 369 files would be left unchanged.
Oh no! 💥 💔 💥
```
**根因:**
`scripts/check_migration_safety.py` 文件不符合 black 格式化规范。该文件是最近新增的迁移安全检查脚本,提交前未本地跑 black 格式化。
**影响范围:** 所有 PR 及 develop 分支,全量失败。
**修复方案:**
```bash
black scripts/check_migration_safety.py
```
---
### 2. Unit Tests — 1 个用例失败
**现象:**
```
FAILED tests/unit/test_asset_library_delete.py::TestDeleteAssetLibrary::test_delete_library_access_denied
AssertionError: assert 'Access denied' in '无权访问该项目'
```
**统计:** 1442 passed, 1 failed
**根因:**
项目之前做了国际化(i18n)改造,错误信息从英文改成了中文,但对应的单元测试断言仍然检查英文 "Access denied",导致断言失败。
**影响范围:** 所有 PR 及 develop 分支,全量失败。
**修复方案:**
修改 `tests/unit/test_asset_library_delete.py` 中的断言,将 `'Access denied'` 改为 `'无权访问该项目'`,或改为断言 HTTP 状态码(403)而不是错误消息文本。
---
### 3. Integration Tests — 1 个用例失败
**现象:**
```
FAILED tests/integration/test_auth.py::TestPasswordReset::test_request_password_reset_success
assert 404 in (200, 202)
```
**统计:** 45 passed, 1 failed, 13 deselected, 2 rerun
**根因:**
密码重置请求接口(`POST /auth/password-reset/request` 或类似路由)返回 404,说明该接口已被移除、路由变更,或对应的功能模块暂时被注释/下线。
**影响范围:** 所有 PR 及 develop 分支,全量失败。
**修复方案:**
- 如果接口确实下线了:删除或 skip 这个测试用例
- 如果是路由改了:更新测试中的 API 路径
- 如果是功能待开发:标记为 `@pytest.mark.skip` 并加上 TODO
---
## 三、修复优先级
| 优先级 | 问题 | 修复难度 | 预估时间 |
|--------|------|----------|----------|
| P0 | black 格式检查失败 | ⭐ | 5分钟 |
| P0 | 单元测试国际化断言失败 | ⭐ | 10分钟 |
| P1 | 集成测试密码重置接口404 | ⭐⭐ | 30分钟(需确认接口状态) |
**建议:** 先修前两个 P0(能让 2/3 的 job 变绿),再处理密码重置那个。
---
## 四、Runner 执行情况观察
- 当前 9 个 Runner 全部在线(构建服务器 4 个 + 新服务器 5 个)
- 失败的 Job 都是在构建服务器的 Runner 上执行的(xiaoxia-ci-runner-2/3 等)
- 新服务器 5 个 Runner 目前全部空闲(标签修复后首次接任务可能需要时间)
- 并发能力充足,瓶颈在代码/测试本身,不在 Runner 资源
+136
View File
@@ -0,0 +1,136 @@
# 三台服务器 Runner 分工规划
**制定日期:** 2026-07-13
**状态:** 规划中
---
## 一、现状总览
当前共 9 个 Gitea Actions Runner,分布在 3 台服务器上:
| 服务器 | IP | 配置 | Runner 数量 | 当前状态 |
|--------|-----|------|-------------|----------|
| 构建服务器 | 114.55.236.178 | 4核 / 7.1G RAM / 49G NVMe | 4个(ID: 8, 42, 46, 47 | ✅ 在线 |
| 新CI服务器 | 116.62.226.203 | 8核 / 14G RAM | 5个(ID: 58-62 | ✅ 在线 |
| 业务服务器 | 47.98.113.167 | - | 0个(旧3个已下线) | ⚠️ 待规划 |
**所有 Runner 共用标签:** `saas`, `runtime-builder`, `host`, `ubuntu-latest`
---
## 二、问题分析
### 2.1 标签无区分
所有 Runner 标签完全一致,CI 任务随机分配到任意 Runner,导致:
- 构建任务(Build)可能跑到配置低的机器上,构建慢
- 代码检查任务占着构建服务器,影响构建速度
- 业务服务器跑 CI 影响线上服务稳定性
### 2.2 资源浪费
- 新服务器 8核14G 跑 validate/lint 有点大材小用
- 构建服务器 4核7G 跑 Docker 构建偏紧张
---
## 三、规划方案
### 3.1 分工原则
| 服务器 | 角色 | 主要任务类型 | 标签策略 |
|--------|------|-------------|----------|
| **构建服务器** (114.55.236.178) | 构建专机 | Build Staging / Build Production / Docker 镜像构建 | 保留 `saas` + `host`,新增 `build-only` |
| **新CI服务器** (116.62.226.203) | 代码检查专机 | Validate / Unit Tests / Integration Tests / Frontend Lint | 保留 `saas` + `host`,新增 `ci-check` |
| **业务服务器** (47.98.113.167) | 部署专机 | Deploy Staging / Deploy Production / E2E Tests | 保留 `saas` + `host`,新增 `deploy-only` |
### 3.2 具体配置
#### 构建服务器(4个 Runner
- **数量:** 3个(从4个缩减,释放资源给构建缓存)
- **标签:** `saas`, `host`, `build-only`, `ubuntu-latest`
- **负责 Job**
- `build-staging`
- `build-production-runtime-images`
- 其他需要 Docker buildx 的任务
#### 新CI服务器(5个 Runner
- **数量:** 5个(保持不变)
- **标签:** `saas`, `host`, `ci-check`, `ubuntu-latest`
- **负责 Job**
- `validate`
- `unit-tests`
- `integration-tests`
- `frontend-lint`
- 安全扫描(gitleaks / pip-audit / vulture 等)
#### 业务服务器(1-2个 Runner
- **数量:** 1-2个(逐步替换旧的3个)
- **标签:** `saas`, `host`, `deploy-only`, `ubuntu-latest`
- **负责 Job**
- `deploy-staging`
- `deploy-production`
- `staging-e2e` / `production-e2e`
- `staging-api-tests`
---
## 四、实施步骤
### Phase 1: 标签打标(低风险,立即做)
1. 新服务器 5 个 Runner 添加 `ci-check` 标签
2. 构建服务器保留 3 个 Runner,添加 `build-only` 标签
3. 业务服务器部署 1 个新 Runner,标签 `deploy-only`
### Phase 2: Job 路由调整(中风险,逐步来)
1. validate / unit-tests / integration-tests / frontend-lint 改为 `runs-on: ci-check`
2. build-staging / build-production 改为 `runs-on: build-only`
3. deploy-* / e2e 改为 `runs-on: deploy-only`
### Phase 3: 旧 Runner 下线
- 业务服务器旧的 3 个 Runner 确认无任务后下线
- 构建服务器多余的 1 个 Runner 迁移到新服务器
---
## 五、并发配置优化建议
### 5.1 当前并发情况
- 首发并行 Jobvalidate + unit-tests + frontend-lint3个并行)
- integration-tests 依赖 validate(串行,浪费资源)
- 无 concurrency 限制,同一分支多次 push 会重复跑
### 5.2 优化建议
**1. integration-tests 改为与 unit-tests 并行**
```yaml
# 当前
integration-tests:
needs: validate # 没必要等validate
# 优化后
integration-tests:
needs: [] # 直接和unit-tests并行跑
```
**2. 增加分支级 concurrency,取消重复构建**
```yaml
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
```
同一 PR 多次 push 时,取消旧的构建,只跑最新的。
**3. Build Staging 移出 PR 门禁**
- 已在阶段二优化中完成(PR #245
- Build Staging 只在 develop/main 上异步构建
---
## 六、预期收益
| 指标 | 当前 | 优化后 | 提升 |
|------|------|--------|------|
| PR CI 总时长 | ~8-12分钟 | ~4-6分钟 | ⏱️ 缩短 40-50% |
| 构建速度 | 可能抢到慢机器 | 固定高配构建机 | 🚀 更稳定更快 |
| 线上稳定性 | CI和业务抢资源 | 部署独立Runner | 🛡️ 隔离保障 |
| Runner 利用率 | 随机分配 | 按任务类型调度 | 📈 更合理 |
+2 -1
View File
@@ -1,9 +1,10 @@
from datetime import datetime, timezone
from typing import Any
from sqlalchemy import JSON, Boolean, Column, DateTime, Float, Integer, String, Text, UniqueConstraint
from sqlalchemy.orm import declarative_base
Base = declarative_base()
Base: Any = declarative_base()
class UserModel(Base):
+1
View File
@@ -63,6 +63,7 @@ exclude = [
".next",
"dist",
"build",
"hostexecutor",
]
[tool.ruff.lint]
+76 -11
View File
@@ -1,43 +1,108 @@
#!/bin/bash
# 自动合并通过 CI 检查的 PR
# 用法: ./scripts/auto_merge_prs.sh [target_branch]
#
# 合并前必须验证的 CI 检查项:
# - CI/CD Pipeline / Validate Code Quality And Tests (push)
# - CI/CD Pipeline / Frontend Lint (push)
# 只有两个检查项均为 success 状态才允许合并
GITEA_API="https://git.xiaoxiajianji.com/api/v1"
GITEA_API="${GITEA_API_URL:-https://git.xiaoxiajianji.com/api/v1}"
TOKEN="${GITEA_API_TOKEN:?Please set GITEA_API_TOKEN environment variable}"
REPO="xiaoxia/xiaoxia-saas"
TARGET_BRANCH="${1:-develop}"
# 必需的 CI 检查项(context 名称前缀匹配,避免 pipeline 名称变化导致匹配失败)
REQUIRED_CHECKS=(
"Validate Code Quality And Tests"
"Frontend Lint"
)
echo "=== Checking open PRs targeting $TARGET_BRANCH ==="
# 获取所有 open PR
PRS=$(curl -s -H "Authorization: token $TOKEN" \
"$GITEA_API/repos/$REPO/pulls?state=open&labels=0" | python3 -c "
"$GITEA_API/repos/$REPO/pulls?state=open&sort=updated&direction=desc" | python3 -c "
import json, sys
data = json.load(sys.stdin)
for pr in data:
if pr.get('base', {}).get('ref') == '$TARGET_BRANCH':
if pr.get('mergeable', False):
print(f\"{pr['number']}|{pr['title']}|{pr.get('mergeable', 'unknown')}\")
head_sha = pr.get('head', {}).get('sha', '')
print(f\"{pr['number']}|{pr['title']}|{head_sha}\")
")
if [ -z "$PRS" ]; then
echo "No mergeable PRs found for $TARGET_BRANCH"
echo "No open PRs found for $TARGET_BRANCH"
exit 0
fi
echo "$PRS" | while IFS='|' read -r number title mergeable; do
echo "Merging PR #$number: $title"
merge_count=0
skip_count=0
echo "$PRS" | while IFS='|' read -r number title head_sha; do
echo ""
echo "--- PR #$number: $title ---"
echo " Head SHA: $head_sha"
# 获取该 commit 的 combined CI 状态
STATUS_JSON=$(curl -s -H "Authorization: token $TOKEN" \
"$GITEA_API/repos/$REPO/commits/$head_sha/status")
# 检查每个必需的 CI 项是否通过
all_passed=true
failed_checks=""
for check_pattern in "${REQUIRED_CHECKS[@]}"; do
state=$(echo "$STATUS_JSON" | python3 -c "
import json, sys
d = json.load(sys.stdin)
pattern = '$check_pattern'
# 在 statuses 中找到匹配的最新状态
target = None
for s in d.get('statuses', []):
if pattern in s.get('context', ''):
target = s
break # status 接口返回的是每个 context 的最新状态,取第一个匹配即可
if target:
print(target.get('state', 'unknown'))
else:
print('not_found')
")
if [ "$state" = "success" ]; then
echo "$check_pattern: $state"
else
echo "$check_pattern: $state"
all_passed=false
failed_checks="$failed_checks $check_pattern($state)"
fi
done
if [ "$all_passed" != "true" ]; then
echo " ⏭️ Skipping - CI not passed:$failed_checks"
skip_count=$((skip_count + 1))
continue
fi
# CI 全部通过,执行合并
echo " 🚀 All CI checks passed, merging..."
RESULT=$(curl -s -X POST \
-H "Authorization: token $TOKEN" \
-H "Content-Type: application/json" \
"$GITEA_API/repos/$REPO/pulls/$number/merge" \
-d '{\"merge_method\": \"merge\"}')
if echo "$RESULT" | python3 -c "import json,sys; d=json.load(sys.stdin); sys.exit(0 if 'id' in d else 1)"; then
-d '{"Do": "merge"}')
if echo "$RESULT" | python3 -c "import json,sys; d=json.load(sys.stdin); sys.exit(0 if d.get('merged', False) or 'id' in d else 1)" 2>/dev/null; then
echo " ✅ PR #$number merged successfully"
merge_count=$((merge_count + 1))
else
echo " ❌ PR #$number failed: $RESULT"
echo " ❌ PR #$number merge failed"
# 提取错误信息
err_msg=$(echo "$RESULT" | python3 -c "import json,sys; d=json.load(sys.stdin); print(d.get('message', str(d)[:200]))" 2>/dev/null)
echo " Error: $err_msg"
fi
done
echo ""
echo "=== Done ==="
echo "Merged: $merge_count | Skipped: $skip_count"
+32 -22
View File
@@ -30,10 +30,13 @@
from __future__ import annotations
import argparse
import json
import os
import re
import subprocess
import sys
import urllib.error
import urllib.request
from pathlib import Path
from typing import List, Tuple
@@ -99,30 +102,37 @@ def extract_upgrade_content(content: str) -> str:
def get_new_migrations_via_diff(diff_target: str) -> List[Path]:
"""
通过 git diff 对比目标分支/commit,找出 alembic/versions/ 下新增的迁移文件。
只包含新增文件(A状态),不包含修改或删除的文件
通过 Gitea API 对比目标分支,找出 alembic/versions/ 下新增的迁移文件。
不依赖本地 git,避免 CI 环境下 git 操作不稳定的问题
"""
api_url = os.environ.get("GITHUB_API_URL", "")
repo = os.environ.get("GITHUB_REPOSITORY", "")
token = os.environ.get("GITHUB_TOKEN", "")
branch = diff_target.replace("origin/", "")
if not api_url or not repo or not token:
print("⚠️ CI 环境变量不完整,降级为检查所有迁移文件")
return sorted(ALEMBIC_VERSIONS_DIR.glob("*.py"))
try:
result = subprocess.run(
[
"git",
"diff",
"--name-only",
"--diff-filter=A",
diff_target,
"HEAD",
"--",
"alembic/versions/",
],
cwd=str(REPO_ROOT),
capture_output=True,
text=True,
check=True,
)
files = [line.strip() for line in result.stdout.strip().split("\n") if line.strip()]
return [REPO_ROOT / f for f in files]
except subprocess.CalledProcessError as e:
print(f"⚠️ git diff 失败({diff_target}):{e.stderr.strip()}")
url = f"{api_url}/repos/{repo}/contents/alembic/versions?ref={branch}"
req = urllib.request.Request(url, headers={"Authorization": f"token {token}"})
with urllib.request.urlopen(req, timeout=15) as resp:
data = json.loads(resp.read().decode())
remote_files = {item["name"] for item in data if item["name"].endswith(".py")}
local_files = {f.name for f in ALEMBIC_VERSIONS_DIR.glob("*.py")}
new_file_names = sorted(local_files - remote_files)
if new_file_names:
result = [ALEMBIC_VERSIONS_DIR / f for f in new_file_names]
print(f" API 对比 {branch} 分支,发现 {len(result)} 个新增迁移)")
return result
else:
print(f" API 对比 {branch} 分支,无新增迁移)")
return []
except Exception as e:
print(f"⚠️ API 获取迁移列表失败:{e}")
print(" 降级为检查所有迁移文件")
return sorted(ALEMBIC_VERSIONS_DIR.glob("*.py"))
+32 -32
View File
@@ -54,38 +54,38 @@ echo ""
echo "Image pushed: ${IMAGE_TAG}"
echo "Local cache updated"
echo ""
echo "=== Step 2: Sync registry cache (best effort, retries 3x) ==="
CACHE_TO_REGISTRY="type=registry,ref=${CACHE_REF},mode=max,compression=zstd"
MAX_RETRIES=3
SUCCESS=0
for attempt in $(seq 1 $MAX_RETRIES); do
echo "Registry cache sync attempt $attempt/$MAX_RETRIES"
if docker buildx build \
$BUILD_ARGS \
--cache-from "${CACHE_FROM_LOCAL}" \
--cache-to "${CACHE_TO_REGISTRY}" \
-f "${DOCKERFILE}" \
-t "${IMAGE_TAG}" \
--push \
.; then
echo "Registry cache synced (attempt $attempt)"
SUCCESS=1
break
else
echo "Registry cache sync failed (attempt $attempt)"
if [ $attempt -lt $MAX_RETRIES ]; then
WAIT=$((attempt * 5))
echo "Retrying in ${WAIT}s..."
sleep $WAIT
fi
fi
done
if [ $SUCCESS -eq 0 ]; then
echo "WARNING: Registry cache sync failed after $MAX_RETRIES attempts (non-fatal, local cache still works)"
fi
# DISABLED: registry cache too slow echo ""
# DISABLED: registry cache too slow echo "=== Step 2: Sync registry cache (best effort, retries 3x) ==="
# DISABLED: registry cache too slow CACHE_TO_REGISTRY="type=registry,ref=${CACHE_REF},mode=max,compression=zstd"
# DISABLED: registry cache too slow
# DISABLED: registry cache too slow MAX_RETRIES=3
# DISABLED: registry cache too slow SUCCESS=0
# DISABLED: registry cache too slow for attempt in $(seq 1 $MAX_RETRIES); do
# DISABLED: registry cache too slow echo "Registry cache sync attempt $attempt/$MAX_RETRIES"
# DISABLED: registry cache too slow if docker buildx build \
# DISABLED: registry cache too slow $BUILD_ARGS \
# DISABLED: registry cache too slow --cache-from "${CACHE_FROM_LOCAL}" \
# DISABLED: registry cache too slow --cache-to "${CACHE_TO_REGISTRY}" \
# DISABLED: registry cache too slow -f "${DOCKERFILE}" \
# DISABLED: registry cache too slow -t "${IMAGE_TAG}" \
# DISABLED: registry cache too slow --push \
# DISABLED: registry cache too slow .; then
# DISABLED: registry cache too slow echo "Registry cache synced (attempt $attempt)"
# DISABLED: registry cache too slow SUCCESS=1
# DISABLED: registry cache too slow break
# DISABLED: registry cache too slow else
# DISABLED: registry cache too slow echo "Registry cache sync failed (attempt $attempt)"
# DISABLED: registry cache too slow if [ $attempt -lt $MAX_RETRIES ]; then
# DISABLED: registry cache too slow WAIT=$((attempt * 5))
# DISABLED: registry cache too slow echo "Retrying in ${WAIT}s..."
# DISABLED: registry cache too slow sleep $WAIT
# DISABLED: registry cache too slow fi
# DISABLED: registry cache too slow fi
# DISABLED: registry cache too slow done
# DISABLED: registry cache too slow
# DISABLED: registry cache too slow if [ $SUCCESS -eq 0 ]; then
# DISABLED: registry cache too slow echo "WARNING: Registry cache sync failed after $MAX_RETRIES attempts (non-fatal, local cache still works)"
# DISABLED: registry cache too slow fi
echo ""
echo "Build completed: ${IMAGE_TAG}"
+48
View File
@@ -0,0 +1,48 @@
#!/bin/bash
# mypy憓鮋𡁏𧋦 - CI銝剛
# : SCAN_MODE, CHANGED_PY_FILES
set +e
echo "=== Installing mypy ==="
python3 -m pip install -q mypy
mypy --version
echo ""
echo "=== Running mypy type check (advisory mode) ==="
echo "𡃏郎璅∪嚗䔶裊餅鱏CI"
echo ""
MYPY_COMMON_ARGS="--ignore-missing-imports --no-site-packages --no-strict-optional --explicit-package-bases --exclude tests/|test_|migrations/|alembic/ --no-error-summary --incremental --cache-dir .mypy_cache"
EXIT_CODE=0
if [ "$SCAN_MODE" = "incremental" ] && [ -n "$CHANGED_PY_FILES" ]; then
echo "=== Incremental mypy scan (PR mode) ==="
echo "Changed files: $(echo $CHANGED_PY_FILES | wc -w) files"
MYPY_FILES=""
for f in $CHANGED_PY_FILES; do
case "$f" in
apps/*|packages/*)
MYPY_FILES="$MYPY_FILES $f"
;;
esac
done
if [ -n "$MYPY_FILES" ]; then
echo "Checking: $MYPY_FILES"
mypy $MYPY_FILES $MYPY_COMMON_ARGS 2>&1 | head -80 || EXIT_CODE=$?
else
echo "No mypy-checkable files changed, skipping"
fi
else
echo "=== Full mypy scan ==="
mypy apps/api/app packages $MYPY_COMMON_ARGS 2>&1 | head -60 || EXIT_CODE=$?
fi
echo ""
if [ "$EXIT_CODE" != "0" ]; then
echo "mypy 𤑳緵蝐餃霅行芋撘𧶏銝俛獈"
echo "撱箄悅𡒊賒鞉郊靽桀"
else
echo "mypy 蝐餃仿"
fi
exit 0
+4 -4
View File
@@ -7,7 +7,7 @@
# 环境变量:
# IMAGE_TAG - 镜像版本 tag(如 commit SHA 或分支名)
# REGISTRY_TOKEN - Registry 访问令牌
# REGISTRY - Registry 地址(默认 git.xiaoxiajianji.com/xiaoxia/xiaoxia-saas
# REGISTRY - Registry 地址(默认 xiaoxia-registry.cn-hangzhou.cr.aliyuncs.com/xiaoxiakeji
# REGISTRY_USER - Registry 用户名(默认 xiaoxia
# ENV_FILE - 环境变量文件路径
# GENERATED_DIR - 生成文件目录
@@ -16,9 +16,9 @@
set -eu
IMAGE_TAG="${IMAGE_TAG:-}"
REGISTRY="${REGISTRY:-git.xiaoxiajianji.com/xiaoxia/xiaoxia-saas}"
REGISTRY_USER="${REGISTRY_USER:-xiaoxia}"
REGISTRY_TOKEN="${REGISTRY_TOKEN:-}"
REGISTRY="${REGISTRY:-xiaoxia-registry.cn-hangzhou.cr.aliyuncs.com/xiaoxiakeji}"
REGISTRY_USER="${ACR_USERNAME:-${REGISTRY_USER:-nick0415343655}}"
REGISTRY_TOKEN="${ACR_PASSWORD:-${REGISTRY_TOKEN:-}}"
ENV_FILE="${ENV_FILE:-/var/lib/xiaoxia-saas-staging/.env}"
GENERATED_DIR="${GENERATED_DIR:-/var/lib/xiaoxia-saas-staging/generated}"