fix(gateway): suppress Windows console flicker and prevent Bonjour fatal crashes (#70238, #72344, #72339)#72332
Conversation
Greptile SummaryThis PR addresses Windows console flicker and fatal Bonjour/mDNS crash scenarios by adding The implementation is well-structured: Confidence Score: 5/5Safe to merge — no P0 or P1 issues found; changes are targeted, internally consistent, and well-guarded. All new code paths are correct: case-normalisation in No files require special attention. Reviews (4): Last reviewed commit: "Merge branch 'main' into fix/windows-gat..." | Re-trigger Greptile |
86dcdc9 to
c1fbe47
Compare
|
@greptile-review |
ef0e4d9 to
5e14317
Compare
|
Codex automated review: keeping this open. Keep PR #72332 open. Current main still does not contain the PR’s remaining Windows flicker and Bonjour dependency-hardening work: the TUI relaunch spawn lacks Best possible solution: Keep the PR open for maintainer review/refinement. Preserve the useful fixes for the TUI What I checked:
Remaining risk / open question:
Codex Review notes: model gpt-5.5, reasoning high; reviewed against ff6044f4411d. |
c460d38 to
cd2c95d
Compare
a59c678 to
09207c0
Compare
00282b6 to
72bab68
Compare
72bab68 to
c642452
Compare
- Google Meet integration: realtime voice sessions, participant plugin - DeepSeek V4 Flash + V4 Pro added to bundled catalog - Voice Call: realtime voice loops + webhook mode - Browser automation: coordinate clicks, longer action budgets - Memory-core: WAL journal mode default (~30% write performance) - Plugin SDK: workflow action/outbound/scheduler/retry seams (openclaw#72384/openclaw#72383) - Bug fixes: Bonjour crash loop (openclaw#72332), Google Meet cleanup (openclaw#72372) - Breaking: removed registerEmbeddedExtensionFactory compatibility path - Refs: github-sync-2026-04-27
|
Thanks @PratikRai0101. I rechecked this against current What is already fixed on
I’m closing this PR rather than merging it because the linked crash/window-flicker issues are already fixed on The newer DNS-label crash in #37705 is a different Bonjour issue and is being tracked separately in #72809. |
|
Closing as superseded by current main; details in the maintainer comment above. |
fix(gateway): suppress Windows console flicker and prevent Bonjour fatal crashes (#70238, #72344, #72339)
Summary
CIAO PROBING CANCELLEDrejections and hardprocess.exit(1)calls in the@homebridge/ciaodependency when mDNS conflicts (like Avahi) occur.windowsHide: trueto the TUI spawn and patched 6execcalls within@homebridge/ciao.advertiser.tswith error helpers to catch and suppressCANCELLEDerrors, logging them as debug instead of allowing them to crash the process.@homebridge/ciao@1.3.6to replaceprocess.exit(1)withconsole.warn()inCiaoService.jsandResponder.jsrecovery paths.EADDRINUSE. If a conflict (e.g., Avahi) is detected, the plugin now logs a warning and disables itself gracefully rather than crashing the core service.Change Type
Scope
Linked Issues
Root Cause
windowsHideflags on child process spawns in both internal code and dependencies.ciaowere leaking as unhandled promise rejections during watchdog restarts.@homebridge/ciaolibrary utilizedprocess.exit(1)for internal network interface update failures, which is inappropriate for a plugin-level dependency.User-visible / Behavior Changes
cmd.exewindows.Repro + Verification
Environment
Steps
avahi-daemonactive -> Verified: LogsmDNS conflict detected, gateway remains stable.CANCELLEDerrors caught, process stays alive.Evidence
bonjourextension tests pass.pnpm patch-commitfor@homebridge/ciao@1.3.6contains both visibility flags and exit-trap removals.Human Verification