docs(tests): clarify entry migration and renderer contract coverage

This commit is contained in:
2026-11-12 17:41:32 +08:00
parent b768c2d6bf
commit ea3df9877d
4 changed files with 7 additions and 0 deletions
+1
View File
@@ -35,6 +35,7 @@ test('explicit migration requirement or missing deployment keeps legacy reads; p
});
// legacy 入口保留验证过的 root/source 版本向量及 profile/snapshot,不发 migrate;404 未部署则不提供虚构迁移材料。
// 固定响应只检验入口如何选择模式、保留材料和安排请求,不执行模型迁移或旧画布写入。
test('legacy entry retains verified migration root and the full source vector without offering migration for an unavailable API',async()=>{
const child=id(4),f=fixture({status:409,body:{error:'canonical_migration_required',root_id:board.id,document_format_version:1,source_versions:{[board.id]:3,[child]:7}}});
const result=await loadCanvasEntry(f.options);