Commit Graph

6 Commits

Author SHA1 Message Date
CI Bot a59c9db81d style: auto-format with black + isort + prettier [skip ci-format-check]
CI/CD Pipeline / Check if frontend-only change (pull_request) Successful in 45s
CI/CD Pipeline / Validate - Code Quality (pull_request) Has been cancelled
CI/CD Pipeline / Validate - Type Check (mypy) (pull_request) Has been cancelled
CI/CD Pipeline / Validate - Migration (alembic) (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 / PR Build API Image (pull_request) Has been cancelled
CI/CD Pipeline / PR Build Worker Image (pull_request) Has been cancelled
CI/CD Pipeline / Build Production API Image (pull_request) Has been cancelled
CI/CD Pipeline / Build Production Web Image (pull_request) Has been cancelled
CI/CD Pipeline / Build Production Worker Image (pull_request) Has been cancelled
CI/CD Pipeline / Deploy Production (pull_request) Has been cancelled
CI/CD Pipeline / Production Browser E2E (pull_request) Has been cancelled
CI/CD Pipeline / Canary Release to Production (pull_request) Has been cancelled
CI/CD Pipeline / CI Gate (pull_request) Has been cancelled
AI Code Review / AI Code Review (pull_request) Has been cancelled
PR Automation / Auto Approve on CI Green (pull_request) Has been cancelled
PR Automation / Auto Merge on CI Green + Approved (pull_request) Has been cancelled
Preview Deploy / Deploy Preview Environment (pull_request) Has been cancelled
CI/CD Pipeline / PR Build Web Image (pull_request) Failing after 811h25m1s
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 811h25m2s
CI/CD Pipeline / ACR Image Cleanup (pull_request) Failing after 811h25m44s
CI/CD Pipeline / Build Staging Worker Image (pull_request) Failing after 811h25m48s
CI/CD Pipeline / Staging API Integration Tests (pull_request) Failing after 811h25m45s
CI/CD Pipeline / Build Staging Web Image (pull_request) Failing after 811h25m48s
CI/CD Pipeline / Staging E2E Tests (pull_request) Failing after 811h25m45s
CI/CD Pipeline / Build Staging API Image (pull_request) Failing after 811h25m49s
CI/CD Pipeline / Frontend Unit Tests (pull_request) Failing after 811h58m32s
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (pull_request) Failing after 811h59m17s
2026-08-13 12:01:01 +00:00
CI Bot bbf3006d0c perf: pre-extract cover frames during render + FFmpeg fallback
CI/CD Pipeline / Check if frontend-only change (pull_request) Successful in 46s
Preview Deploy / Deploy Preview Environment (pull_request) Successful in 1m25s
CI/CD Pipeline / Validate - Migration (alembic) (pull_request) Successful in 1m26s
PR Automation / Auto Merge on CI Green + Approved (pull_request) Successful in 1m44s
CI/CD Pipeline / Validate - Type Check (mypy) (pull_request) Successful in 1m48s
AI Code Review / AI Code Review (pull_request) Failing after 2m43s
CI/CD Pipeline / PR Build API Image (pull_request) Successful in 2m14s
CI/CD Pipeline / PR Build Worker Image (pull_request) Successful in 2m15s
PR Automation / Auto Approve on CI Green (pull_request) Successful in 3m34s
CI/CD Pipeline / Validate - Code Quality (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 / Build Production API Image (pull_request) Has been cancelled
CI/CD Pipeline / Build Production Web Image (pull_request) Has been cancelled
CI/CD Pipeline / Build Production Worker Image (pull_request) Has been cancelled
CI/CD Pipeline / Deploy Production (pull_request) Has been cancelled
CI/CD Pipeline / Production Browser E2E (pull_request) Has been cancelled
CI/CD Pipeline / Canary Release to Production (pull_request) Has been cancelled
CI/CD Pipeline / CI Gate (pull_request) Has been cancelled
CI/CD Pipeline / PR Build Web Image (pull_request) Failing after 811h30m37s
CI/CD Pipeline / Staging API Integration Tests (pull_request) Failing after 811h31m23s
CI/CD Pipeline / Staging E2E Tests (pull_request) Failing after 811h31m23s
CI/CD Pipeline / Frontend Unit Tests (pull_request) Failing after 811h30m37s
CI/CD Pipeline / Build Staging Worker Image (pull_request) Failing after 811h31m25s
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 811h30m38s
CI/CD Pipeline / Build Staging Web Image (pull_request) Failing after 811h31m25s
CI/CD Pipeline / Build Staging API Image (pull_request) Failing after 811h31m25s
CI/CD Pipeline / ACR Image Cleanup (pull_request) Failing after 812h4m53s
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (pull_request) Failing after 812h4m55s
- Add extract_cover_candidates() and extract_and_upload_cover_frames()
  to thumbnail_generator.py: extract 3 frames at 25%/50%/75% of video
- Add cover_candidates field to RenderAdapterResult
- Call frame extraction after thumbnail gen in render_adapter._do_render()
- Write cover_candidates to plan.config in edit_plan_generation worker
- Check pre-stored frames in generation_cover.py before calling AI service
- Replace MediaKit remote API with FFmpeg HTTP range-request in
  _call_ai_cover_service (no full video download needed)
- Fix CoverTemplateResponse ValidationError when config is None
- Add unit tests for all new code paths
- Update existing tests to match new FFmpeg-based behavior
2026-08-13 19:54:46 +08:00
xiaoxia e2b3811277 fix: FFmpeg mjpeg 缩略图/封面生成添加 format=yuvj420p
CI/CD Pipeline / Check if frontend-only change (pull_request) Successful in 31s
CI/CD Pipeline / Validate - Migration (alembic) (pull_request) Successful in 39s
CI/CD Pipeline / Validate - Type Check (mypy) (pull_request) Successful in 1m9s
Preview Deploy / Deploy Preview Environment (pull_request) Successful in 1m31s
PR Automation / Auto Merge on CI Green + Approved (pull_request) Successful in 1m40s
AI Code Review / AI Code Review (pull_request) Successful in 1m57s
CI/CD Pipeline / PR Build API Image (pull_request) Successful in 2m3s
CI/CD Pipeline / PR Build Worker Image (pull_request) Successful in 2m3s
PR Automation / Auto Approve on CI Green (pull_request) Successful in 3m23s
CI/CD Pipeline / Unit Tests (pull_request) Successful in 3m6s
CI/CD Pipeline / Validate - Code Quality (pull_request) Successful in 3m51s
CI/CD Pipeline / Integration Tests (pull_request) Successful in 1m42s
CI/CD Pipeline / CI Gate (pull_request) Successful in 6s
Preview Cleanup / Cleanup Preview Environment (pull_request) Successful in 43s
ACR Cleanup / ACR Image Cleanup (pull_request_target) Successful in 1m2s
CI/CD Pipeline / Production Browser E2E (pull_request) Failing after 891h45m30s
CI/CD Pipeline / Canary Release to Production (pull_request) Failing after 891h45m30s
CI/CD Pipeline / Build Production API Image (pull_request) Failing after 891h45m31s
CI/CD Pipeline / Deploy Production (pull_request) Failing after 891h45m30s
CI/CD Pipeline / PR Build Web Image (pull_request) Failing after 891h48m50s
CI/CD Pipeline / Build Production Worker Image (pull_request) Failing after 891h45m31s
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 891h48m51s
CI/CD Pipeline / ACR Image Cleanup (pull_request) Failing after 891h49m20s
CI/CD Pipeline / Staging E2E Tests (pull_request) Failing after 891h49m21s
CI/CD Pipeline / Deploy Staging (Watchtower auto-deploy) (pull_request) Failing after 891h49m22s
CI/CD Pipeline / Build Staging Web Image (pull_request) Failing after 891h49m24s
CI/CD Pipeline / Build Staging API Image (pull_request) Failing after 891h49m24s
CI/CD Pipeline / Build Production Web Image (pull_request) Failing after 892h18m58s
CI/CD Pipeline / Frontend Unit Tests (pull_request) Failing after 892h22m17s
CI/CD Pipeline / Staging API Integration Tests (pull_request) Failing after 892h22m47s
CI/CD Pipeline / Build Staging Worker Image (pull_request) Failing after 892h22m51s
修复 FFmpeg 新版中 mjpeg 编码器拒绝非全范围 YUV 输入的问题:
- thumbnail_generator.py: scale filter 添加 format=yuvj420p
- processor.py: 添加 pix_fmt=yuvj420p
- cover_generator.py: 两处 vf filter 添加 format=yuvj420p
- cover_service.py: vf filter + simple fallback 添加 pix_fmt
- asset_analyzer.py: 添加 -pix_fmt yuvj420p

修复错误: Non full-range YUV is non-standard, set strict_std_compliance
to at most unofficial to use it.
2026-08-10 11:37:22 +08:00
xiaoxia ef62eb7603 fix(P0): 素材库视频上传时生成缩略图 (#588)
CI Build & Deploy Pipeline / Staging E2E Tests (push) Failing after 1m35s
CI/CD Pipeline / Unit Tests (push) Failing after 12m30s
CI/CD Pipeline / Frontend Lint (push) Failing after 13m38s
CI Build & Deploy Pipeline / Production Browser E2E (push) Failing after 1415h33m55s
CI Build & Deploy Pipeline / Build Production Worker Image (push) Failing after 1415h33m57s
CI Build & Deploy Pipeline / Build Production Web Image (push) Failing after 1415h33m57s
CI Build & Deploy Pipeline / Build Production API Image (push) Failing after 1415h33m57s
CI/CD Pipeline / Check if frontend-only change (push) Failing after 1415h34m40s
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 API Integration Tests (push) Has been skipped
CI Build & Deploy Pipeline / Deploy Production (push) Failing after 1416h6m3s
CI/CD Pipeline / Validate Code Quality And Tests (push) Has been skipped
CI/CD Pipeline / Integration Tests (push) Has been skipped
CI/CD Pipeline / Frontend Unit Tests (push) Has been skipped
Co-authored-by: xiaoxia <dev@xiaoxiajianji.com>
Co-committed-by: xiaoxia <dev@xiaoxiajianji.com>
2026-07-19 15:54:46 +08:00
xiaoxia 12e88dc05c fix(P0): 视频封面缩略图抽帧时间调整到15%处 (#586)
CI Build & Deploy Pipeline / Staging E2E Tests (push) Failing after 1m58s
CI Build & Deploy Pipeline / Production Browser E2E (push) Failing after 1418h13m44s
CI Build & Deploy Pipeline / Build Production Worker Image (push) Failing after 1418h13m46s
CI Build & Deploy Pipeline / Build Production Web Image (push) Failing after 1418h13m46s
CI Build & Deploy Pipeline / Build Production API Image (push) Failing after 1418h13m46s
CI/CD Pipeline / Check if frontend-only change (push) Failing after 1418h14m29s
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 API Integration Tests (push) Has been skipped
CI Build & Deploy Pipeline / Deploy Production (push) Failing after 1418h45m51s
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
Co-authored-by: xiaoxia <dev@xiaoxiajianji.com>
Co-committed-by: xiaoxia <dev@xiaoxiajianji.com>
2026-07-19 13:15:01 +08:00
xiaoxia eb4645314d feat: 成片中心后端升级(封面生成/复核/批量下载) (#287)
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 & Push 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 Runtime Images (push) Has been cancelled
CI/CD Pipeline / Deploy Production (push) Has been cancelled
CI/CD Pipeline / Production Browser E2E (push) Has been cancelled
feat: 成片中心后端升级(封面生成/复核/批量下载)
2026-07-14 09:49:11 +08:00