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
@@ -171,6 +171,8 @@ def test_only_two_reviews_change_and_all_old_blocks_preserved():
resource = "calliope-backend/src/calliope/comfyui/source_reviews.json"
old = json.loads(subprocess.check_output(["git", "show", "27e6d56:" + 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"))
@@ -197,7 +199,7 @@ def test_only_two_reviews_change_and_all_old_blocks_preserved():
# Gemma addition is independently protected against 9dac1b4 in its own suite.
gemma = next(p for p in now if p.endswith("gemma4_提示词反推(图像视频音频).json"))
now[gemma].pop("fixed_version_document")
assert len(DEFINITIONS) == 24
assert len(DEFINITIONS) == 25
assert (
sum(
len(r["fixed_version_document"]["fields"])