feat: validate foreach control regions

This commit is contained in:
lda
2026-09-04 07:46:29 +07:00 Verified
parent f23e760b5f
commit b073407441
6 changed files with 123 additions and 14 deletions
+5 -3
View File
@@ -505,14 +505,16 @@ def test_adapter_lowers_foreach_policy_through_builder() -> None:
"collect_to": "state.item_errors",
},
}
}
},
"echo": {"use": "demo.echo"},
},
"routes": {
"each_item": {
"loop": "__end__",
"loop": "echo",
"done": "__end__",
"completed_with_errors": "__end__",
}
},
"echo": {"ok": "each_item"},
},
}
)