fix(cli): skip background port scans in VS Code#10786
Conversation
Code Review SummaryStatus: 3 Issues Found | Recommendation: Address before merge Overview
Issue Details (click to expand)WARNING
SUGGESTION
Other Observations (not in diff)Incremental review (new commits): The two guards added in this update — New tests: Three new Overall design: The approach — spawning a detached shell script with a lease file, writing port lists to a temp file, and reading them from the Bun backend — is sound. The shell script's No memory leaks: Fork hygiene: All changed files are under Files Reviewed (4 files)
Fix these issues in Kilo Cloud Reviewed by claude-sonnet-4.6 · 395,086 tokens Review guidance: REVIEW.md from base branch |
9a8c446 to
7dd8aab
Compare
VS Code and Agent Manager can start tracked background processes through the shared
kilo servebackend, but they do not surface inferred listening ports. Each tracked process still scheduled recurring inferred-port scans, which launchedpsandlsoffrom the long-lived Bun runtime without providing any extension functionality.Restrict inferred-port discovery and its recurring polling timer to CLI clients. The background-process tool remains available in VS Code, explicit
ready.portTCP probes still work for agent-driven readiness checks, and CLI TUI sessions retain automatic inferred-port discovery for the/processUI.