revert: PR #2666 ACP retry/reconnect logic#2792
Conversation
📋 Review SummaryThis PR reverts the retry/reconnect logic introduced in #2666, which caused timeout issues when the CLI relaunch wrapper spawns a grandchild process. The revert restores the simpler v0.13.2 behavior with a 1-second delay instead of the complex stdout readiness check. Overall, this is a well-scoped revert that addresses a real architectural mismatch between the readiness check and the process hierarchy. 🔍 General Feedback
🎯 Specific Feedback🟡 High
🟢 Medium
🔵 Low
✅ Highlights
|
Summary
The stdout readiness check introduced in #2666 doesn't work with the CLI relaunch wrapper. The CLI spawns a child process via
relaunchAppInChildProcess(), and the actual ACP stdout data comes from the grandchild process — the parent never writes to stdout, causing every connection attempt to time out after 10s.This restores the v0.13.2 behavior (simple 1s delay) which works reliably.
Test plan
SIGTERMerrors in the extension output channel