mirror of
https://github.com/Comfy-Org/comfy-qa-tools.git
synced 2026-11-04 23:47:20 +00:00
[PR #16] [MERGED] fix: go hid the real failure and then tried SSH against a stopped box #17
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/comfy-qa-tools#17
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Comfy-Org/comfy-qa-tools/pull/16
Author: @aliranjah
Created: 8/25/2026
Status: ✅ Merged
Merged: 8/25/2026
Merged by: @aliranjah
Base:
main← Head:fix/go-swallowed-failure📝 Commits (1)
3da2327fix:gohid the real failure and then tried SSH against a stopped box📊 Changes
3 files changed (+121 additions, -3 deletions)
View changed files
📝
comfy_qa/host.py(+18 -2)📝
comfy_qa/lifecycle.py(+44 -1)📝
tests/test_lifecycle.py(+59 -0)📄 Description
A live run produced this:
Note what is missing between those two lines:
is runningandtunnel open. Thebox never came up — and
gocaught everyLifecycleErroralike, threw the reasonaway, and carried on to SSH a machine that was not running. The error shown was
real and told you nothing about the actual problem.
Fixes
LifecycleErrorcarries a kind.gocontinues past exactly one failure —ComfyUI not being installed yet, which is what the next steps exist to fix — and
reports everything else instead of swallowing it.
connecting too early fails with
failed to connect to backend, which reads likea permissions problem and is not.
wait_for_sshpolls until the box accepts acommand, says why it is waiting, and gives up with the manual way in.
Learned from the live box while fixing this
enable-windows-sshis set and the default firewallrules already cover IAP's range.
C:\ComfyUI, so the install path was neverthe problem here. It stays for boxes that need it.
Verified
208 tests, 4 new.
🤖 Generated with Claude Code
https://claude.ai/code/session_015X8c3zczxydWiPfhnxfYNx
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.