HEL-892: document four watermark branches with pinned static sources

Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
leefer
2026-10-30 21:08:43 +08:00
co-authored by multica-agent
parent 11938ca837
commit 459d7fd866
111 changed files with 47013 additions and 14 deletions
@@ -202,6 +202,8 @@ def test_exact_document_topology_and_preservation():
resource = "calliope-backend/src/calliope/comfyui/source_reviews.json"
previous = json.loads(subprocess.check_output(["git", "show", "fec5cca:" + resource], cwd=REPO))
current = json.loads((REPO / resource).read_bytes())
watermark = next(p for p in current if p.endswith("/图像4种添加水印节点.json"))
current[watermark].pop("fixed_version_document")
birefnet = next(p for p in current if p.endswith("/birefnet_图像移除背景.json"))
current[birefnet].pop("fixed_version_document")
latent = next(p for p in current if p.endswith("/加载本地latent解码.json"))
@@ -221,7 +223,7 @@ def test_exact_document_topology_and_preservation():
nlf = next(p for p in current if p.endswith("NLF_视频人物动作骨架获取.json"))
current[nlf].pop("fixed_version_document")
assert current[PATH].pop("fixed_version_document") == BLOCK
assert current == previous and len(DEFINITIONS) == 24
assert current == previous and len(DEFINITIONS) == 25
old = [r["fixed_version_document"] for r in previous.values() if "fixed_version_document" in r]
assert len(old) == 15 and sum(len(b["fields"]) for b in old) == 394
assert sum(len(b.get("comments", [])) for b in old) == 13 # one historical ASR flow note
@@ -229,6 +231,8 @@ def test_exact_document_topology_and_preservation():
assert d["dependencies"]["check_state"] == "unchecked"
assert not doc(path="untrusted.json").get("fixed_version")
for p in DEFINITIONS:
if p == watermark:
continue
if p.endswith("/birefnet_图像移除背景.json"):
continue
if p.endswith(("/截取视频每一帧.json", "/加载本地latent解码.json")):