develop
3 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
9814fcdc22 |
feat(worker): 参考爆款视频风格分析模块 video_analyzer(#2051)
PR Automation / Auto Approve on CI Green (pull_request) Successful in 3m7s
PR Automation / Auto Merge on CI Green + Approved (pull_request) Successful in 12m46s
CI/CD Pipeline / Dedup Check - skip PR tests when covered by push pipeline (pull_request) Successful in 3s
CI/CD Pipeline / Check if frontend-only change (pull_request) Successful in 2s
CI/CD Pipeline / Check push changed paths (pull_request) Has been skipped
AI Code Review / AI Code Review (pull_request) Successful in 53s
Preview Deploy / Deploy Preview Environment (pull_request) Successful in 2m26s
CI/CD Pipeline / PR Build Web Image (pull_request) Successful in 30s
CI/CD Pipeline / Build Staging API Image (pull_request) Has been skipped
CI/CD Pipeline / Build Staging Web Image (pull_request) Has been skipped
CI/CD Pipeline / Build Staging Worker Image (pull_request) Has been skipped
CI/CD Pipeline / PR Build API Image (pull_request) Successful in 43s
CI/CD Pipeline / Frontend Unit Tests (pull_request) Successful in 1m25s
CI/CD Pipeline / Frontend Lint (pull_request) Successful in 1m32s
CI/CD Pipeline / PR Build Worker Image (pull_request) Successful in 1m5s
CI/CD Pipeline / Integration Tests (pull_request) Successful in 5m14s
CI/CD Pipeline / Validate - Style (pull_request) Successful in 6m57s
CI/CD Pipeline / Retag skipped Staging API Image (pull_request) Has been skipped
CI/CD Pipeline / Retag skipped Staging Web Image (pull_request) Has been skipped
CI/CD Pipeline / Retag skipped Staging Worker Image (pull_request) Has been skipped
CI/CD Pipeline / Validate - Python (mypy + alembic) (pull_request) Successful in 8m3s
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (pull_request) Has been skipped
CI/CD Pipeline / Staging E2E Tests (pull_request) Has been skipped
CI/CD Pipeline / Staging API Integration Tests (pull_request) Has been skipped
CI/CD Pipeline / ACR Image Cleanup (pull_request) Has been skipped
CI/CD Pipeline / Validate - Security (pull_request) Successful in 13m36s
CI/CD Pipeline / Unit Tests (pull_request) Successful in 23m20s
CI/CD Pipeline / Build Production Web Image (pull_request) Has been skipped
CI/CD Pipeline / Build Production Worker Image (pull_request) Has been skipped
CI/CD Pipeline / Build Production API Image (pull_request) Has been skipped
CI/CD Pipeline / CI Gate (pull_request) Successful in 0s
CI/CD Pipeline / Deploy Production (pull_request) Has been skipped
CI/CD Pipeline / Canary Release to Production (pull_request) Has been skipped
CI/CD Pipeline / Production Browser E2E (pull_request) Has been skipped
ACR Cleanup / ACR Image Cleanup (pull_request_target) Has been cancelled
Preview Cleanup / Cleanup Preview Environment (pull_request) Successful in 31s
- 新建 apps/worker/viral_video/video_analyzer.py:6 步管线 ① FFmpeg 抽关键帧(每 2s + 场景切换帧) ② PySceneDetect ContentDetector 镜头分割 ③ OpenCV Farneback 光流(径向分量法避免平移误判为zoom) ④ librosa BPM 分析 → pace 档位 ⑤ OSS 上传关键帧 + 豆包 VLM 色调/构图/光线分析 ⑥ 豆包 LLM 整合成 style_guide JSON - style_guide schema:pace/camera_movements/transitions/color_palette/ lighting/mood/ken_burns_params(per-shot)/transition_map/ video_filter_eq_params - 映射函数:运镜→ken_burns / 转场→xfade / 色调→eq+colorchannelmixer / BPM→BGM,并提供 build_render_params_for_clip 按 clip_index 聚合 - 全链路降级(ffmpeg/opencv/librosa/VLM/LLM 任一失败均 best-effort 填充) - 资源约束:≤60s ≤100MB 超时≤60s try/finally 清理临时帧 - 新增 3 个 worker 依赖:scenedetect / librosa / soundfile - 48 个单元测试覆盖映射/光流/BPM/降级/清理 - bandit B404/B603 加 nosec,B310 用 httpx 替换 urllib |
||
|
|
baf6a4143c |
ci: 依赖版本全锁定,消除第三方库版本漂移导致的CI不稳定 (#692)
CI/CD Pipeline / Production Browser E2E (push) Failing after 1358h17m52s
CI/CD Pipeline / Deploy Production (push) Failing after 1358h17m54s
CI/CD Pipeline / Build Production Worker Image (push) Failing after 1358h18m6s
CI/CD Pipeline / Build Production API Image (push) Failing after 1358h18m8s
CI/CD Pipeline / Check if frontend-only change (push) Failing after 1358h18m48s
CI/CD Pipeline / PR Build Worker Image (push) Failing after 1358h21m26s
CI/CD Pipeline / PR Build API Image (push) Failing after 1358h21m30s
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 / Frontend Unit Tests (push) Has been skipped
CI/CD Pipeline / PR Build Web Image (push) Failing after 1358h53m40s
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 / Deploy Staging (Watchtower auto-deploy) (push) Has been skipped
CI/CD Pipeline / Staging E2E Tests (push) Has been skipped
CI/CD Pipeline / Staging API Integration Tests (push) Has been skipped
CI/CD Pipeline / Build Production Web Image (push) Failing after 1358h50m20s
CI/CD Pipeline / ACR Image Cleanup (push) Has been skipped
Co-authored-by: xiaoxia <dev@xiaoxiajianji.com> Co-committed-by: xiaoxia <dev@xiaoxiajianji.com> |
||
|
|
bf6ae9c430 |
refactor: API/Worker 依赖拆分 - 移除 API 镜像中的重依赖
Deploy / Staging E2E Tests (push) Failing after 93h39m59s
Deploy / Deploy Staging (push) Failing after 94h0m21s
CI/CD Pipeline / Frontend Lint (push) Failing after 94h0m28s
CI/CD Pipeline / Validate Code Quality And Tests (push) Failing after 94h0m28s
Deploy / Production Browser E2E (push) Failing after 1752h19m53s
Deploy / Deploy Production (push) Failing after 1752h19m55s
Deploy / Build Production Runtime Images (push) Failing after 1752h19m57s
- 新建 requirements-worker.txt,包含 numpy/scipy/opencv/Pillow/ffmpeg-python - requirements-base.txt 移除视频处理大包,仅保留公共基础依赖 - worker.Dockerfile 新增 requirements-worker.txt 安装层 - API Dockerfile 无需修改,自动不再包含重包 - 验证:API/packages 代码无 numpy/scipy/cv2 导入 - 全量测试 994 passed, 0 failed Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> |