生成视频由七牛直接抓取并校验可用性 #89

Merged
WuYongJie merged 1 commits from codex/98k-model-expansion-20261116 into main 2026-11-16 11:13:23 +08:00
Collaborator

Summary

生成视频保存到七牛时,生产机下载后再上传可能因传输缓慢而失败。七牛存储现在直接抓取上游文件,服务端通过永久地址读取视频元数据,确认存在视频流和有效时长后返回结果;其他存储保留原有保存方式。

Scope

  • UI / product behavior
  • API / backend logic
  • Settings / admin configuration
  • Performance / caching
  • Logging / security
  • Documentation / CI / repository hygiene

Required Verification

  • pnpm check:branch
  • pnpm check:quality
  • pnpm build
  • AUTH_TRUST_HOST=true PORT=3001 pnpm dev
  • SMOKE_BASE_URL=http://127.0.0.1:3001 pnpm smoke:routes

使用已经生成的 Grok Imagine 与 Seedance 2.5 测试视频,实际完成七牛抓取和 ffprobe 视频流、时长校验,没有重新生成。TypeScript 检查通过。合并后的独立 main 构建与路由烟测用于发布验收。仓库全量质量检查的历史 lint 和缺少 Chromium 情况见 #88;本变更未新增页面。

Release Readiness

  • No real secrets, OAuth codes, cookies, Authorization headers, signed URLs, or .env.local values are included.
  • No tracked local artifacts such as .DS_Store, swap files, .claude/, migration backups, or tsconfig.tsbuildinfo.
  • No new public UI links point to /classic or /chat/[id].
  • /api/chat remains treated as an internal Canvas/Agent generation API unless this PR explicitly migrates callers.
  • No new high-risk logging was added.

Screenshots / Evidence

两个独立测试文件均通过永久存储及视频格式验证。随 #88 的新增模型一并发布,等待运行中生成任务结束后更新应用。

## Summary 生成视频保存到七牛时,生产机下载后再上传可能因传输缓慢而失败。七牛存储现在直接抓取上游文件,服务端通过永久地址读取视频元数据,确认存在视频流和有效时长后返回结果;其他存储保留原有保存方式。 ## Scope - [ ] UI / product behavior - [x] API / backend logic - [ ] Settings / admin configuration - [x] Performance / caching - [ ] Logging / security - [ ] Documentation / CI / repository hygiene ## Required Verification - [ ] `pnpm check:branch` - [ ] `pnpm check:quality` - [ ] `pnpm build` - [ ] `AUTH_TRUST_HOST=true PORT=3001 pnpm dev` - [ ] `SMOKE_BASE_URL=http://127.0.0.1:3001 pnpm smoke:routes` 使用已经生成的 Grok Imagine 与 Seedance 2.5 测试视频,实际完成七牛抓取和 ffprobe 视频流、时长校验,没有重新生成。TypeScript 检查通过。合并后的独立 main 构建与路由烟测用于发布验收。仓库全量质量检查的历史 lint 和缺少 Chromium 情况见 #88;本变更未新增页面。 ## Release Readiness - [x] No real secrets, OAuth codes, cookies, Authorization headers, signed URLs, or `.env.local` values are included. - [x] No tracked local artifacts such as `.DS_Store`, swap files, `.claude/`, migration backups, or `tsconfig.tsbuildinfo`. - [x] No new public UI links point to `/classic` or `/chat/[id]`. - [x] `/api/chat` remains treated as an internal Canvas/Agent generation API unless this PR explicitly migrates callers. - [x] No new high-risk logging was added. ## Screenshots / Evidence 两个独立测试文件均通过永久存储及视频格式验证。随 #88 的新增模型一并发布,等待运行中生成任务结束后更新应用。
WuYongJie added 1 commit 2026-11-16 11:13:19 +08:00
WuYongJie merged commit dff2e22ffd into main 2026-11-16 11:13:23 +08:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: lunanting/ai-chatbot#89
No description provided.