Audit node registration coverage

This commit is contained in:
2026-06-27 21:04:00 +02:00
parent 1f9544233e
commit ec6cc7265c
3 changed files with 99 additions and 1 deletions
@@ -625,6 +625,10 @@ Already isolated:
- node input tooltip inventory, node-specific tooltip overrides, dynamic input
fallback tooltip rules, and tooltip injection live in `node_tooltips.py`;
`__init__.py` only applies the installer to the assembled node registry.
- node registration drift is checked by `tools/prompt_map_audit.py`: concrete
`SxCP...` node classes in node modules must be present in their module class
mappings and matching display-name mappings before they can silently
disappear from ComfyUI.
- profile-save and accumulator server payload handling lives in
`server_routes.py`; `__init__.py` only wires those pure handlers to ComfyUI
JSON responses, and `tools/prompt_smoke.py` covers the handlers without
+4 -1
View File
@@ -920,12 +920,15 @@ The script does not import ComfyUI. It parses the repo and prints:
- node documentation validation so every registered ComfyUI display name appears
in this route map or the README before the node can silently drift out of
user-facing docs.
- node registration validation so every concrete `SxCP...` node class in a
node module is present in that module's class mapping, has a matching display
mapping, and uses the same mapping key as the class name.
Use its output to spot doc drift after adding a new node or pool. If a new node
or pool appears there but not in this map, update the relevant route table. The
script exits nonzero when JSON pool references, item template axes, category
identities, critical route docs, critical route smoke registrations, or
registered node display names do not resolve.
registered node classes/display names do not resolve.
## Behavioral Smoke Helper