ComfyUI/tests-unit/execution_test
Jedrzej Kosinski 188065c011 DynamicOutputs: fix block_execution sizing, harden validation, trim comments
Address code-review feedback:

* Fix pre-existing bug surfaced by this work: a V3 node returning a bare
  ExecutionBlocker (normalized to NodeOutput(block_execution=msg) with no
  positional/named result) was silently dropped in get_output_from_returns.
  block_execution now takes precedence and shapes the blocker tuple to the
  active output count first.
* Reject malformed linked-input source node ids (non-string) up front in
  validate_inputs as 'bad_linked_input' instead of letting them fall into
  the type resolver.
* Schema.validate(): reject duplicate DynamicOutputs group ids.
* Drop a couple of over-defensive / restating comments.

New tests: blocker sizing through both the NodeOutput and bare-blocker paths
for dynamic nodes, and duplicate-group-id schema rejection.

Amp-Thread-ID: https://ampcode.com/threads/T-019e8568-f382-743d-a97f-0de3ff29d501
Co-authored-by: Amp <amp@ampcode.com>
2026-06-01 20:48:08 -07:00
..
preview_method_override_test.py feat(preview): add per-queue live preview method override (#11261) 2025-12-15 15:57:39 -08:00
test_cache_provider.py Revert "Revert "feat: Add CacheProvider API for external distributed caching"" (#12915) 2026-03-12 21:17:50 -07:00
test_dynamic_outputs_resolver.py DynamicOutputs: fix block_execution sizing, harden validation, trim comments 2026-06-01 20:48:08 -07:00
test_type_resolver.py DynamicSlot: typed option dispatch driven by TypeResolver 2026-06-01 17:56:32 -07:00
validate_node_input_test.py Reland union type (#5900) 2024-12-04 15:12:10 -05:00