You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On CodexHost 0.22.0, a new Mac SSH project draft on Windows Desktop offered only Codex. The remote Host reported Claude Code, DeepSeek, Grok and Pi ready. The Windows controller repeatedly timed out during Runtime.queryObjects, so it could not install the RPC steering binding that enables external Harness selection.
Change
Give Runtime.queryObjects a 60-second default deadline. This covers both native RPC discovery paths that scan the renderer heap. Ordinary commands keep their 10-second default. Explicit deadlines retain precedence.
Verification
The new regression failed on the base revision with CDP command 'Runtime.queryObjects' timed out. With the fix, a reply delayed by 19.5 seconds succeeds and a stalled query expires at 60 seconds.
All 32 tests across the CDP client, renderer RPC steering and native RPC test files passed.
On the affected Windows Desktop, granting the existing installer a longer deadline let discovery finish in 19.477 seconds. The same Mac draft then enabled external Harnesses and accepted a Claude Code selection.
Separately, the CDP client from this patch completed the same live renderer heap query in 20.332 seconds using its default settings. The Desktop deployment stayed on 0.22.0 throughout verification.
Rollback
Reverting the commit restores the previous default deadline. A stuck renderer heap query can now hold up discovery for up to one minute before the existing retry backoff applies.
This change lets slow renderer heap queries complete during discovery by raising that one command's default timeout to 60 seconds. Other commands keep their 10-second default, and tests cover both the success case and the timeout case. A stuck query can now delay discovery for up to a minute. No merge-blocking risk remains.
Reviewing files that changed from the base of the PR and between 528f9db and 5c965b8.
Files selected for processing: 2
packages/desktop-control/src/cdp-client.ts
packages/desktop-control/test/cdp-client.test.ts
Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review.
Merged, thanks @mouzhi! Regression test reproduced the 10s timeout on main and passed with the 60s default for Runtime.queryObjects (16/16 passing, ordinary commands still at 10s).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
On CodexHost 0.22.0, a new Mac SSH project draft on Windows Desktop offered only Codex. The remote Host reported Claude Code, DeepSeek, Grok and Pi ready. The Windows controller repeatedly timed out during
Runtime.queryObjects, so it could not install the RPC steering binding that enables external Harness selection.Change
Give
Runtime.queryObjectsa 60-second default deadline. This covers both native RPC discovery paths that scan the renderer heap. Ordinary commands keep their 10-second default. Explicit deadlines retain precedence.Verification
CDP command 'Runtime.queryObjects' timed out. With the fix, a reply delayed by 19.5 seconds succeeds and a stalled query expires at 60 seconds.Rollback
Reverting the commit restores the previous default deadline. A stuck renderer heap query can now hold up discovery for up to one minute before the existing retry backoff applies.