Skip to content

fix(computer-use): target current availability bundle#1027

Closed
malintha-induwara wants to merge 3 commits into
ilysenko:mainfrom
malintha-induwara:fix/computer-use-availability
Closed

fix(computer-use): target current availability bundle#1027
malintha-induwara wants to merge 3 commits into
ilysenko:mainfrom
malintha-induwara:fix/computer-use-availability

Conversation

@malintha-induwara

@malintha-induwara malintha-induwara commented Jul 16, 2026

Copy link
Copy Markdown

Summary

  • Route the opt-in Linux Computer Use UI patch to the current Electron 42 availability bundle.
  • Keep settings and availability bundle drift independently observable.
  • Remove the obsolete install-flow patch implementation.
  • Add regression coverage for the latest upstream DMG layout.

Validation

  • git diff --check
  • node --test scripts/patch-linux-window-ui.test.js
  • 397 tests passed, 0 failed

Checklist

  • This pull request is ready for review and is no longer a draft.
  • I followed CONTRIBUTING.md, kept the change focused, edited source files rather than generated output, and removed unrelated changes.
  • This targets only the latest CODEX.DMG layout and removes the obsolete fallback implementation and tests.
  • I added relevant regression coverage and confirmed the full patcher suite passes.
  • I reviewed the final diff with coding agents, addressed the findings, and reran validation.

Route the opt-in Computer Use UI patch to the current Electron 42 shared renderer bundle while keeping settings patch drift independent.

Remove the obsolete install-flow patch helper and add regression coverage for the current upstream bundle layout.
Copilot AI review requested due to automatic review settings July 16, 2026 14:05

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Linux Computer Use UI patch routing to align with the current upstream Electron 42 webview bundle layout, removing the now-obsolete install-flow patch implementation and strengthening regression coverage so settings-bundle drift and install-flow drift remain independently detectable.

Changes:

  • Removed the dedicated Computer Use install-flow patch implementation/export and consolidated on the renderer availability patch.
  • Updated the Computer Use UI patch descriptors to target the current install-flow bundle naming pattern while keeping the settings bundle separately tracked.
  • Added/updated tests to validate current bundle matching and exercise the latest upstream DMG asset layout behavior.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
scripts/patches/impl/computer-use.js Removes the obsolete install-flow patch function/export; renderer availability patch continues to handle the required-features object form used by current bundles.
scripts/patches/core/all-linux/webview/computer-use-ui/patch.js Retargets the install-flow descriptor to the current Electron 42 bundle pattern and applies the renderer availability patch for both settings + install-flow bundles.
scripts/patch-linux-window-ui.test.js Updates descriptor matching tests and refreshes extracted-app regression fixtures to the latest upstream bundle name/layout.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +8706 to +8710
const { value: result, warnings } = captureWarns(() =>
patchAssetFiles(
tempRoot,
installFlowDescriptor.pattern,
installFlowDescriptor.apply,
Comment on lines +29 to 33
/^app-initial~artifact-tab-content\.electron~app-main~pull-request-route~pull-request-code-rev~.*\.js$/,
missingDescription: "current Computer Use install flow bundle",
skipDescription: "Linux Computer Use install flow patch",
apply: applyLinuxComputerUseInstallFlowPatch,
apply: applyLinuxComputerUseRendererAvailabilityPatch,
}),
@malintha-induwara
malintha-induwara marked this pull request as draft July 16, 2026 14:13
@malintha-induwara
malintha-induwara marked this pull request as ready for review July 16, 2026 14:15
@malintha-induwara

Copy link
Copy Markdown
Author

Closing as superseded by #1028, which merged the current Computer Use UI availability fix for the latest upstream DMG layout. Rebasing this branch would preserve older required-features bundle behavior that is no longer current.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants