mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-05-31 19:37:24 +08:00
Switch the wire shape from nested ``metadata: {workflow_id: ...}`` to
spreading the envelope's keys directly onto each event payload. The
contract on the websocket is now identical to the prior workflow-id-on-
events work — consumers read ``event.workflow_id`` directly — but the
core executor still has no concept of workflow scope; the envelope is
captured at submission and decorated at the server transport layer.
Server-emitted fields always win on collision (``{**envelope, **d}``):
a misbehaving client cannot shadow ``prompt_id``, ``node``, etc. by
stamping the same key in their submission envelope.
|
||
|---|---|---|
| .. | ||
| __init__.py | ||
| custom_node_manager_test.py | ||
| frontend_manager_test.py | ||
| model_manager_test.py | ||
| node_replace_manager_test.py | ||
| test_migrations.py | ||
| test_prompt_metadata.py | ||
| user_manager_system_user_test.py | ||