test(distribution): source guard accepts the plan-based populate call

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
Jason Hoku
2026-11-04 03:29:07 -08:00
co-authored by Claude Fable 5.1
parent 87096b0e4d
commit f9724aeaa8
+1 -1
View File
@@ -176,7 +176,7 @@ def test_post_phase_source():
s = _src("_run_distributed_generation")
assert '"meta": item_meta' not in s
assert "_run_distributed_upscales(" in s and "_build_distributed_upscale_queue(" in s
assert s.index("_pre_run_ids =") < s.index("manager.populate_jobs(")
assert s.index("_pre_run_ids =") < min(i for i in (s.find("manager.populate_jobs("), s.find("_populate_distributed_manager(")) if i >= 0)
assert "run_deferred_upscales(" not in s