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
{{ message }}
Repository navigation
fix(computer): initialize Windows control proxies - #36383
The agent can identify native Windows text fields, buttons and combo boxes instead of seeing generic panes.
What Changed
The existing compiled bridge initializes Microsoft's default UI Automation proxies before PowerShell makes automation calls. It adds no custom providers or extra compilation.
Why
The framework's default proxy loader walks caller types. A typed, non-inlined bridge avoids the PowerShell dynamic-call failure seen during proxy registration.
Automated tests added/updated, or explained why not below
Local check:changed --maxWorkers=2 passed all 11 checks. A new CI probe requires native edit, button and combo box metadata, including SetValue and Invoke patterns, from a fresh provider process.
Electron retained its passing click, type and replace trials. Native edit-message routing and focused-target typing remain separate failures; this change repairs discovery.
AI Disclosure
Review
Independent reviews cover initialization order, assembly references and the fresh-process regression probe.
Agent skill upstream boundary
Not applicable, or this change copies or mechanically translates no upstream skill-installer source, tests, fixtures, registry entries, path tables, comments, or documentation.
Notes
No request, response or saved-state changes. Linux, macOS, remote-version compatibility, mobile routing and folder workspaces retain their existing paths.
Checklist
This PR is small and focused
I explained what changed and why (ELI5, the user-facing before/after, the mechanism, and why over the alternatives)
Before/after screenshots or videos attached for UI changes, or N/A with reason
Self-reviewed for correctness, security, and performance
Cross-platform, SSH/remote, and path/shortcut impact considered (or N/A)
pnpm lint, pnpm typecheck, pnpm test, and pnpm build pass (or CI will cover; local preferred)
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 5 remain after this review.
Walkthrough
The Windows runtime now compiles OrcaDesktopWin32 with explicit system and UI Automation references and initializes UI Automation after compilation. The Windows benchmark job runs a discovery probe for the fixture target and uploads its output. The probe checks the environment, runs a candidate-engine trial, validates UI matches and patterns, and writes source and snapshot evidence.
Priority: Normal
Merge Risk: Minimal · up to 778a5
The Windows discovery initialization and fixture probe are in place. No merge-blocking issue was identified.
Pre-merge checks: 4 · 1
Failed checks: 1 warning
Check name
Status
Explanation
Resolution
Docstring Coverage
Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Write docstrings for the functions missing them to satisfy the coverage threshold.
Passed checks: 4 passed
Check name
Status
Explanation
Title check
The title clearly summarizes the main change: initializing Windows control proxies.
Description check
The description explains the change, reason, testing, and scope. The linked issue section is blank, and the visual-proof section does not include before-and-after images or video, although it links to…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Description check
Explanation
The description explains the change, reason, testing, and scope. The linked issue section is blank, and the visual-proof section does not include before-and-after images or video, although it links to a Windows comparison. These gaps do not make the otherwise complete description largely incomplete.
Full details: Docstring Coverage
Explanation
Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 1 functions across 1 files. (2 skipped: 2 unsupported.)
Resolution
Write docstrings for the functions missing them to satisfy the coverage threshold.
Finishing Touches: 💡 1
📝 Generate docstrings: 💡
Commit to this branch
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
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.
ELI5
The agent can identify native Windows text fields, buttons and combo boxes instead of seeing generic panes.
What Changed
The existing compiled bridge initializes Microsoft's default UI Automation proxies before PowerShell makes automation calls. It adds no custom providers or extra compilation.
Why
The framework's default proxy loader walks caller types. A typed, non-inlined bridge avoids the PowerShell dynamic-call failure seen during proxy registration.
Linked Issue
Visual Proof
No Orca UI change. Isolated Windows comparison retains native snapshots and fixture readbacks.
Testing
Local
check:changed --maxWorkers=2passed all 11 checks. A new CI probe requires native edit, button and combo box metadata, including SetValue and Invoke patterns, from a fresh provider process.Electron retained its passing click, type and replace trials. Native edit-message routing and focused-target typing remain separate failures; this change repairs discovery.
AI Disclosure
Review
Independent reviews cover initialization order, assembly references and the fresh-process regression probe.
Agent skill upstream boundary
Notes
No request, response or saved-state changes. Linux, macOS, remote-version compatibility, mobile routing and folder workspaces retain their existing paths.
Checklist
N/Awith reasonpnpm lint,pnpm typecheck,pnpm test, andpnpm buildpass (or CI will cover; local preferred)