Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions tests/comfy_cli/output/test_error_code_registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,10 +229,12 @@ def _collect_codes() -> tuple[dict[str, list[Path]], dict[str, list[Path]]]:

#: Warning-only codes registered before warnings were kept out of the error
#: registry. They stay registered because registered codes are append-only;
#: no code joins this list. A new warning keeps its code in ``warnings[]``
#: and is not registered.
#: the ``workflow save``/``delete`` sidebar warnings joined because they were
#: registered just before the rule landed. No other code joins this list. A
#: new warning keeps its code in ``warnings[]`` and is not registered.
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Resolved
LEGACY_WARNING_REGISTRATIONS = frozenset(
{
"api_format_saved_as_record",
"description_ignored",
"dynamic_group_unsupported",
"installed_versions_unavailable",
Expand All @@ -244,9 +246,12 @@ def _collect_codes() -> tuple[dict[str, list[Path]], dict[str, list[Path]]]:
"registry_no_dependency_metadata",
"registry_partial_dependency_metadata",
"select_no_match",
"sidebar_file_kept",
"ui_only_link_dropped",
"ui_only_node_skipped",
"workflow_content_not_json",
"workflow_record_unknown",
"workspace_unknown",
}
)

Expand Down
Loading