d73175b101
fix: kubectl 装到 /usr/bin 避开 /usr/local/bin 的 bind mount
Build and Deploy / build-and-deploy (push) Successful in 1m16s
2026-04-04 20:28:05 +08:00
f37c38d38b
fix: kubectl 安装前先删旧目录避免 mv 覆盖目录报错
Build and Deploy / build-and-deploy (push) Has been cancelled
2026-04-04 20:25:52 +08:00
4cf9a0a4bb
perf: 轮询调度间隔从30秒改为10秒
Build and Deploy / build-and-deploy (push) Has been cancelled
2026-04-04 20:21:25 +08:00
127ed9659d
Merge remote-tracking branch 'origin/dev' into dev
Build and Deploy / build-and-deploy (push) Has been cancelled
2026-04-04 20:16:15 +08:00
ded5c4c44f
fix bug
2026-04-04 20:13:23 +08:00
seaislee1209
ba33c35dd8
add test
Build and Deploy / build-and-deploy (push) Successful in 4m13s
2026-04-04 19:38:36 +08:00
6353d2ec4f
feat: rename /assets route to /user-assets
Build and Deploy / build-and-deploy (push) Has been cancelled
2026-04-04 19:29:31 +08:00
seaislee1209
f1a7ad8a2f
fix: nginx /assets 路由 403 修复 — 静态缓存改为正则匹配文件扩展名
...
Build and Deploy / build-and-deploy (push) Successful in 4m32s
/assets/ location 会拦截 SPA 路由 /assets(资产页),导致刷新 403。
改为正则匹配 /assets/*.{js,css,png,...},只缓存实际静态文件,
不影响 SPA fallback 到 index.html。
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 19:16:38 +08:00
seaislee1209
9a6d95a69d
fix: v0.18.0 商业级加固 — 并发安全、流式上传、错误反馈、类型修复
...
Build and Deploy / build-and-deploy (push) Successful in 3m13s
- TOS 流式上传 upload_from_file_path(避免大文件 OOM)
- 视频生成完成后下载一次复用(TOS 上传 + 首帧提取)
- 并发安全:group thumbnail 用 select_for_update 原子更新
- 跨团队校验:_resolve_asset_group_all 加 group__team 过滤
- 异常信息脱敏:文件上传失败不再泄露内部异常
- SSRF 防护:download_to_temp 校验 URL scheme
- poll lock 终态释放:cache.delete 在 record.save 后调用
- duration=null 语义区分:ffprobe 失败存 None 非 0
- 前端 duration 未知 toast 警告:素材时长未确定时提示用户
- 搜索 API 失败 toast:素材搜索失败时反馈用户
- 视频保存降级标记:临时 URL 降级时设 error_message
- TypeScript 类型修复:AssetItem/AssetSearchResult.duration 改为 number|null
- rebuildMentionSpans 补完 assetId/assetType/assetName/duration 属性
- paste DOMPurify 白名单补完新 data attributes
- resolved_url NameError 修复:非素材库视频/音频引用用 url
- process_asset_media group 删除保护
- download_to_temp 改为 public API
- 清理前端死代码
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 18:49:08 +08:00
61bcb9576f
add git guide
Build and Deploy / build-and-deploy (push) Successful in 3m55s
2026-04-04 18:26:05 +08:00
seaislee1209
2e72c82116
Merge branch 'dev' of https://gitea.airlabs.art/zyc/video-shuoshan into dev
Build and Deploy / build-and-deploy (push) Successful in 4m39s
2026-04-04 17:36:39 +08:00
seaislee1209
da9a1413c3
v0.18.0 素材库多类型支持 + @ 引用改为单素材
...
对齐火山 API 文档(Asset URI 小写、HEIC/HEIF、DeleteAsset)
素材库支持视频/音频上传(按类型分三区显示、前端校验、拖拽上传)
@ 引用从素材组改为单个素材(搜索返回具体素材、即时数量/时长检查)
ffmpeg 视频封面帧提取 + 音频时长读取(Celery 异步)
生产级安全修复(跨团队校验、异常信息脱敏、下载大小限制)
2026-04-04 17:36:35 +08:00
95bdb0a6e8
fix: USE_TZ=False 统一使用北京时间,修复 recover_stuck_tasks 时区比较错误
...
Build and Deploy / build-and-deploy (push) Successful in 3m3s
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 17:10:55 +08:00
1e76052c64
fix: 用 printf 写 kubeconfig 防止多行内容被 echo 截断
...
Build and Deploy / build-and-deploy (push) Successful in 24s
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 16:17:34 +08:00
622491c3d0
chore: 触发构建验证 runner host 网络修复
...
Build and Deploy / build-and-deploy (push) Has been cancelled
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 16:07:44 +08:00
a8ffd6417a
feat: add Docker cleanup step to CI pipeline
...
Build and Deploy / build-and-deploy (push) Has been cancelled
Automatically prune unused containers, images and build cache after
each CI run to prevent disk space exhaustion on the runner.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 15:46:52 +08:00
43fe1b8909
fix: 将 kubectl secret 创建也纳入重试循环,修复重试未生效的问题
...
Build and Deploy / build-and-deploy (push) Successful in 6s
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 15:15:01 +08:00
2365824313
fix: CI 全链路添加 3 次重试(build/push/kubectl/deploy)防止网络抖动
...
Build and Deploy / build-and-deploy (push) Failing after 5m43s
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 14:37:28 +08:00
1ff985d64f
fix: Deploy to K3s 添加 3 次重试,防止内网抖动导致构建失败
...
Build and Deploy / build-and-deploy (push) Successful in 6s
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 14:35:31 +08:00
05097d58f9
perf: gunicorn 启用 gevent 异步模式,并发从 2 提升到 400
...
Build and Deploy / build-and-deploy (push) Successful in 13s
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 14:33:58 +08:00
ca6f2a0346
fix: 添加 Redis 分布式锁防止 poll_video_task 重复派发
...
Build and Deploy / build-and-deploy (push) Failing after 6m17s
recover_stuck_tasks 在 API 超时 >3 分钟时可能重复派发同一任务,
导致重复扣费风险。通过 cache.add 实现互斥锁保护。
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 14:21:38 +08:00
55c26fb1f5
Merge branch 'dev' of https://gitea.airlabs.art/zyc/video-shuoshan into dev
Build and Deploy / build-and-deploy (push) Successful in 6s
2026-04-04 14:12:09 +08:00
49e06fd3c4
fix 镜像原
2026-04-04 14:11:39 +08:00
seaislee1209
9bca1bc20f
feat: v0.17.0 对齐火山 API 文档 + 素材库多类型支持 + 删除功能
...
Build and Deploy / build-and-deploy (push) Successful in 27s
- Asset URI 大小写修复(Asset:// → asset://)
- HEIC/HEIF 图片格式支持
- 素材删除功能(DeleteAsset API + 前端 hover 删除按钮)
- 素材库支持视频/音频上传(asset_type 字段 + 后端类型检测)
- 素材组详情页按类型分三区(肖像/视频/音频)+ 红字提示
- @ 引用全发(组内所有 active 素材按类型发送)
- 前端素材库上传校验(validateAssetFile 全套校验)
- Failed 素材 hover 显示错误原因
- 正在生成的视频可点重新编辑
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 14:07:38 +08:00
befd7c8d49
add sql prod
Build and Deploy / build-and-deploy (push) Has been cancelled
2026-04-04 14:04:53 +08:00
f85a3d69d0
fix: kubectl 自动安装兜底 + 阿里云镜像源
...
Build and Deploy / build-and-deploy (push) Failing after 5m5s
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 13:54:49 +08:00
ffbd7cf016
add prod 镜像仓
Build and Deploy / build-and-deploy (push) Successful in 12s
2026-04-04 13:52:43 +08:00
6c9fddf5fe
更新测试文档
Build and Deploy / build-and-deploy (push) Failing after 9m20s
2026-04-04 13:36:23 +08:00
seaislee1209
ee7cdec9e3
add docs
Build and Deploy / build-and-deploy (push) Successful in 5s
2026-04-04 13:27:13 +08:00
70725894bd
pull test
Build and Deploy / build-and-deploy (push) Successful in 12s
2026-04-04 13:21:57 +08:00
aff37ee4a8
chore: verify DaoCloud mirror build
Build and Deploy / build-and-deploy (push) Successful in 5s
2026-04-04 13:15:40 +08:00
a7a9fdf4fe
fix: use DaoCloud mirror for base images to avoid Docker Hub timeout
Build and Deploy / build-and-deploy (push) Successful in 25s
2026-04-04 13:14:20 +08:00
ec5622534f
chore: verify docker cache hit
Build and Deploy / build-and-deploy (push) Failing after 19s
2026-04-04 13:11:48 +08:00
4175474149
chore: rebuild after clearing docker cache
Build and Deploy / build-and-deploy (push) Successful in 3m23s
2026-04-04 13:06:44 +08:00
8c31e7e36a
chore: trigger rebuild with updated docker mirrors
Build and Deploy / build-and-deploy (push) Successful in 5s
2026-04-04 13:05:50 +08:00
d01301433c
chore: rebuild after docker mirror fix
Build and Deploy / build-and-deploy (push) Successful in 20s
2026-04-04 13:04:08 +08:00
27655910a4
chore: rebuild after runner config fix (docker.sock mount)
Build and Deploy / build-and-deploy (push) Failing after 0s
2026-04-04 13:02:24 +08:00
c885051ab3
fix: nginx config serving assets as text/html instead of correct MIME type
Build and Deploy / build-and-deploy (push) Failing after 20s
2026-04-04 12:58:28 +08:00
5fa0af4acd
chore: trigger rebuild for dev deployment
Build and Deploy / build-and-deploy (push) Successful in 5s
2026-04-04 12:56:30 +08:00
06587edc10
Merge remote-tracking branch 'origin/temptudou' into dev
Build and Deploy / build-and-deploy (push) Successful in 1m0s
2026-04-04 12:50:54 +08:00
1a2bd982af
add test
Build and Deploy / build-and-deploy (push) Failing after 19s
2026-04-04 12:46:26 +08:00
seaislee1209
e885d92745
add .
2026-04-04 12:45:29 +08:00
1c4b491e10
fix: correct MySQL private domain name (remove extra hyphen)
...
Build and Deploy / build-and-deploy (push) Successful in 5s
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 11:34:40 +08:00
36ff1b5aca
fix build dev
Build and Deploy / build-and-deploy (push) Successful in 2m17s
2026-04-04 11:18:17 +08:00
43228d255e
fix celery
2026-04-04 10:15:23 +08:00
seaislee1209
34e56ddf86
feat: v0.16.0 即时上传 + 音频视频前端校验 + 资产页修复 + Toast UI
...
- 即时上传:拖入文件后立刻上传 TOS,spinner/红色重试/禁用提交
- 音频校验:格式(MP3/WAV) + 时长[2,15.4]s + 总时长≤15.4s
- 视频校验:格式(MP4/MOV) + 时长[2,15.4]s + 总时长≤15.4s
- 后端 blob: URL 兜底拦截 + 音频错误文案优化
- 资产页:nginx 403 修复 + 倒序排列 + 加载更多按钮
- Toast:glass-card 毛玻璃风格 + 橙色感叹号图标
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-01 11:12:06 +08:00
seaislee1209
a4c36e4fee
fix: v0.15.1 生成记录软删除 + 双重结算修复
...
Build and Deploy / build-and-deploy (push) Successful in 4m50s
1. 软删除:GenerationRecord 新增 is_deleted 字段,DELETE 接口改为标记不真删,
用户生成列表/资产页/任务详情过滤已删除记录,消费记录和管理后台不过滤
2. 双重结算修复:前端轮询(video_task_detail_view)不再调火山API和结算,
只读数据库状态,结算完全交给 Celery
3. _settle_payment 加防重入检查(frozen_amount==0 直接 return)
4. 部署需跑 migration 0016_add_is_deleted_to_generationrecord
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-31 20:05:08 +08:00
seaislee1209
b50ad147cd
feat: v0.15.0 Seedance 2.0 Fast 模型上线 + 四档计费
...
Build and Deploy / build-and-deploy (push) Successful in 3m0s
- Fast 模型:取消隐藏 Toolbar 选项,用户可选 AirDrama / AirDrama Fast
- 四档计费:按模型+有无视频参考选单价(2.0: 46/28, Fast: 37/22 元/百万tokens)
- QuotaConfig 新增 base_token_price_fast / base_token_price_fast_video 字段
- 系统设置页 4 个价格输入框(Seedance 2.0 + Fast 各两个)
- 前端预估动态选价:根据当前选的模型和有无视频参考实时计算
- 推理接入点:Fast EP ep-m-20260329211530-68999
- 消费记录表格+CSV+详情弹窗加"模型"列
- 轮询间隔改为全程固定 5 秒
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-30 20:33:02 +08:00
seaislee1209
7a358ea9ef
fix: v0.14.3 GenerationRecord 加 updated_at + 轮询改固定5秒
...
Build and Deploy / build-and-deploy (push) Successful in 2m25s
- GenerationRecord 加 updated_at 字段(之前只在 QuotaConfig 上,Celery 查 GenerationRecord 报 FieldError)
- 后端轮询间隔从渐进式(5s→15s→30s)改为全程固定 5 秒(RPM 12000 足够,400 并发仅用 40%)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-29 18:33:29 +08:00
seaislee1209
1b707282ae
fix: Docker 构建加 --no-cache 禁用缓存(修复 Celery 镜像代码过期)
...
Build and Deploy / build-and-deploy (push) Successful in 2m37s
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-29 17:21:25 +08:00