HEL-892: document frame extraction with exact mixed node versions

Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
leefer
2026-10-30 19:55:54 +08:00
co-authored by multica-agent
parent 9db8857228
commit 19a7e42bb8
73 changed files with 26271 additions and 13 deletions
@@ -162,9 +162,11 @@ def test_actual_paths_counts_old_objects_and_media_conditions():
resource = "calliope-backend/src/calliope/comfyui/source_reviews.json"
old = json.loads(subprocess.check_output(["git", "show", "d1ba226:" + resource], cwd=REPO))
now = json.loads((REPO / resource).read_bytes())
later = next(p for p in now if p.endswith("/截取视频每一帧.json"))
now[later].pop("fixed_version_document")
b = now[PATHS[0]].pop("fixed_version_document")
d = doc(0)
assert now == old and len(DEFINITIONS) == 21
assert now == old and len(DEFINITIONS) == 22
assert d["fixed_version"]["matched"] and len(b["fields"]) == 42
assert b["comments"] == [] and b["counts"]["history_objects"] == 3
assert b["counts"]["scalar_saved_positions"] == 39