fix(comfyui): keep the pre-supervisor pre-flight out of -WhatIf's way #895
No reviewers
Labels
No labels
burndown-2026-06
burndown-2026-08
autonomy
async-consult
autonomy
epic
autonomy
headless
autonomy
live-collab
coherence-core
priority
P0
priority
P1
priority
P2
priority
P3
priority
P4
qa-fixture
role/advocate
role/director
role/exec
role/frontend
role/gamedev
role/human
role/platform
role/qa
role/science
role/sysadmin
state
ambient
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
coilyco-flight-deck/infrastructure!895
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/comfyui-preflight-whatif"
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?
Follow-up to #894. Both defects came out of the first live
-WhatIfpreview on kai-tower-3026, which #894 could not run because its own pre-flight aborted it.1. The pre-flight aborted a pure preview
#894's legacy pre-flight called
Stop-LoopbackListeneroutside anyShouldProcessguard.Stop-Processhonours-WhatIfthrough$WhatIfPreferencescope inheritance, verified directly on this host, so nothing was ever killed. But that is exactly why the port never freed, soWait-LoopbackPortFreetimed out and the pre-flight threw. A read-only preview aborted instead of previewing, which is the failure #882 already fixed once elsewhere.Under
-WhatIfit now reports the wall and lets the rest of the preview run.2. CRLF sources produced CR CR LF
$launcherand$supervisorwere converted to CRLF without normalising first. A checkout carrying CRLF hands the here-string CRLF already, so converting again yieldsCR CR LF. That never matches the installed file, so every run rewroteserve.cmdand reported changed, and it would have writtenserve.ps1malformed.Reproduced from the real source on this host: the generated launcher contained
0D 0D 0A, while the installedserve.cmdhas clean0D 0A..gitattributesmandateseol=lf, so a correct checkout would not hit this, but the converger should not depend on the line endings of its own source.Worth noting separately: this checkout has CRLF working files despite
* text=auto eol=lf, withcore.autocrlf=trueset globally. That is host config drift, not something this PR fixes.Verification, live on kai-tower-3026
Ran the real converge with
-WhatIfagainst the live host, before and after.Before:
After:
launcher: convergedis gone, soserve.cmdnow matches byte for byte and the converger is idempotent for it again.Both preview runs left the host untouched: listener still pid 39132,
/system_statsstill 200, andserve.ps1still absent.