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
@@ -260,6 +260,8 @@ def test_exact_topology_counts_modes_unknowns_and_old_objects():
resource = "calliope-backend/src/calliope/comfyui/source_reviews.json"
old = json.loads(subprocess.check_output(["git", "show", "7e76510:" + resource], cwd=REPO))
now = json.loads((REPO / resource).read_bytes())
watermark = next(p for p in now if p.endswith("/图像4种添加水印节点.json"))
now[watermark].pop("fixed_version_document")
birefnet = next(p for p in now if p.endswith("/birefnet_图像移除背景.json"))
now[birefnet].pop("fixed_version_document")
latent = next(p for p in now if p.endswith("/加载本地latent解码.json"))
@@ -277,7 +279,7 @@ def test_exact_topology_counts_modes_unknowns_and_old_objects():
reverse = next(p for p in now if p.endswith("/视频倒放.json"))
now[reverse].pop("fixed_version_document")
assert now[PATH].pop("fixed_version_document") == BLOCK
assert now == old and len(DEFINITIONS) == 24
assert now == old and len(DEFINITIONS) == 25
old_blocks = [
r["fixed_version_document"] for r in old.values() if "fixed_version_document" in r
]
@@ -288,6 +290,8 @@ def test_exact_topology_counts_modes_unknowns_and_old_objects():
assert d["status"] == dict(imported=True, doc_done=False, exec_verified=False)
assert d["dependencies"]["check_state"] == "unchecked"
for p in DEFINITIONS:
if p == watermark:
continue
if p.endswith("/birefnet_图像移除背景.json"):
continue
if p.endswith(("/截取视频每一帧.json", "/加载本地latent解码.json")):