fix(worker+api): P1 封面评分时序bug + direct/complete吞ingest占位bug #2092
Reference in New Issue
Block a user
Delete Branch "fix/cover-score-timing-and-direct-ingest"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
P1 Bug Fixes
Bug1:封面评分时序bug(智能选帧失效+白耗2.6s)
根因:score_frames 在 TemporaryDirectory 退出后执行,帧 jpg 被删,cv2.imread 全失败。
修复:
Bug2:/direct/complete 命中 prepare 占位 asset 直接返 duplicated 吞 ingest
根因:_find_duplicate_asset 按 client_upload_id/file_hash 命中 prepare 预建的 PROCESSING 占位后,直接返 duplicated=True、ingest_job_id="",跳过 _submit_ingest_job,素材永久 processing。
修复:
Tests
CI 全绿后请 Auto Merge → Watchtower 自动部署 staging。
🚀 预览环境已部署
🗑️ 预览环境已清理
PR #2092 已关闭或合并,对应的预览环境已被清理。