已生成资源/资产的持久化与画布完成操作不具备原子性,也不具备请求幂等性。 #134
Reference in New Issue
Block a user
Delete Branch "%!s()"
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?
范围:
complete_editor_canvas_generation_with_items。现有防护:
resourceId已存在,完成操作会抑制重复放置。缺失防护:
taskId仅为元数据且属于确定性图层 ID 的一部分,并非唯一持久化键,也未用于查找或复用已生成的资源/资产。所需架构决策:
所需测试:
plan: 默认采用“全部 provider 生成作业化”,包括开发用 inline 模式。 ...
Q: ??? inline 仅同步领取并等待同一 job , this is fucking crazy ,,,, in what cases does inline was called ???
A: You’re right. Turning inline into “enqueue, claim, and wait” was an unjustified expansion and defeats the purpose of that diagnostic path. I’m checking every actual branch now so I can state precisely where inline is used and revise the plan around the real scope.
• Confirmed: inline here is only the explicit GENARRATIVE_EXTERNAL_GENERATION_MODE=inline diagnostic mode. It directly executes eight provider-backed handlers inside the HTTP request—image generation/edit, icon/UI extraction, character animation, video, sound effect,
and background music. It creates no job and has no lease. Production/default configs are queue; background removal and External v1 already always queue.
Perfect pixel and manual atlas splitting are also synchronous, but they do not consult this mode flag; I incorrectly conflated those with configured provider inline. The revised plan will preserve direct inline execution and will not enqueue/claim/wait.
已经由
6c53eda71c修复