fix: 生成时报错「没有可渲染的就绪片段」— mark_clips_ready 仅标记有素材的片段 (#1270) #1276
Reference in New Issue
Block a user
Delete Branch "fix/issue-1270-no-renderable-clips"
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?
问题
用户走完智能剪辑全流程后点生成,报错「没有可渲染的就绪片段」。
根因
mark_clips_ready()标记所有 PENDING 片段为 READY,不管是否已分配素材can_generate()不检查片段是否有素材render_adapter过滤status==READY and asset_id→ 空列表 → 报错修复
asset_id非空的 pending 片段为 readyCloses #1270
🚀 预览环境已部署
代码审查结果 - PR #1276
⚠️ 问题(0个需要修改)
💡 建议(0个可选)
✅ 格式检查通过 | ✅ 逻辑审查通过 | ✅ 性能良好
🤖 由 AI 代码审查机器人自动生成 | 2026-08-07 12:36:07 | 模型:
CI全绿,自动审批通过。
CI全绿,自动审批通过。
🗑️ 预览环境已清理
PR #1276 已关闭或合并,对应的预览环境已被清理。