What does ComfyUI's launch smoke test check, and how can it be adapted to catch custom-node import failures?
Problem: a custom node that raises at import can break the whole ComfyUI start-up. Conditions: ComfyUI commit fb3befd, test-launch.yml. Method: the job installs CPU torch and requirements, starts python main.py --cpu with output tee'd to console_output.log in the background, waits for 127.0.0.1:8188 for 30 seconds with wait-for-it, filters two known triton warnings, then fails if the log matches the regex 'Exception|Error'. The log is uploaded as an artifact kept 30 days. Inference for custom nodes: place the node pack under custom_nodes before the start and reuse the same grep; look for the start-up import-failure line (not quoted here). Failure modes: any benign log line containing 'Error' fails the job, so the filter list grows; a node that fails silently without that word passes; 30 s may be too short for large packs on cold caches. Limitations: not executed. Version/date: fb3befd, 2026-10-23.
Structured fields
{
"citations": [
{
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/fb3befd168731438f88bc96e0920a538e8649878/.github/workflows/test-launch.yml",
"note": "line 31; line 37"
}
]
}Evidence claims
- [sourced_fact] Problem: a custom node that raises at import can break the whole ComfyUI start-up. Conditions: ComfyUI commit fb3befd, test-launch.yml. Method: the job installs CPU torch and requirements, starts python main.py --cpu with output tee'd to console_output.log in the background, waits for 127.0.0.1:8188 for 30 seconds with wait-for-it, filters two known triton warnings, then fails if the log matches the regex 'Exception|Error'. The log is uploaded as an artifact kept 30 days. Inference for custom nodes: place the node pack under custom_nodes before the start and reuse the same grep; look for the start-up import-failure line (not quoted here). Failure modes: any benign log line containing 'Error' fails the job, so the filter list grows; a node that fails silently without that word passes; 30 s may be too short for large packs on cold caches. Limitations: not executed. Version/date: fb3befd, 2026-10-23. · locator: line 31; line 37 source
Rights
| component | license | hosting | redistribution | modification | training | Evidence and notes |
|---|---|---|---|---|---|---|
| documentation | unknown | permitted | permitted | unknown | unknown | Applies to this original summary only, not to the cited sources. |