Skip to content

fix(browser): fail closed for Playwright chrome routing - #762

Merged
GraciousGazelles merged 7 commits into
mainfrom
repair/w12397-native-browser-chrome-failclosed-20260905
Sep 5, 2026
Merged

GraciousGazelles merged 7 commits into
mainfrom
repair/w12397-native-browser-chrome-failclosed-20260905

Conversation

@GraciousGazelles

Copy link
Copy Markdown
Collaborator

Summary

  • prevent the built-in Playwright provider from claiming backend: "chrome", including explicit Chrome or wildcard backend lists
  • preserve auto, browser, and chromium routing and explicit external command-provider Chrome routing
  • add redacted backend/provider/profile metadata and deterministic negative routing coverage
  • document that signed-in Chrome/extension/CDP integration belongs to an operator-configured external provider

Acceptance boundary

This PR is the Codex-side fail-explicitly repair for w12397. A positive visible signed-in Chrome/auth-transition smoke requires a genuine external extension/CDP provider and is not claimed by this PR. If that provider is unavailable, backend: "chrome" returns an actionable unavailable response and never falls back to a per-thread Playwright profile.

Validation

  • git diff --check passed locally.
  • Builds, tests, and CI are intentionally hosted-only for this coordination workstation and must run on the exact PR head.

PR #751 (child-session Browser propagation) is a separate preserved lineage and is not modified here.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 5, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
🔒 Security Review ✅ Completed 2026-09-05T07:35:07.473289Z df8b4ee PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@gemini-code-assist gemini-code-assist Bot 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.

Code Review

This pull request updates the browser computer-use implementation to prevent the built-in Playwright provider from claiming the chrome backend, reserving it for external command providers. It also adds browser metadata tracking (provider, backend, profile) to the response and updates the corresponding documentation and tests. The review feedback highlights several improvement opportunities, including preventing silent breakage when using wildcard configurations in Playwright backend normalization, removing dead wildcard checks in supports_backend, and simplifying redundant unwrap_or logic in the profile_label match arm.

@GraciousGazelles
GraciousGazelles added this pull request to the merge queue Sep 5, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Sep 5, 2026
@GraciousGazelles
GraciousGazelles added this pull request to the merge queue Sep 5, 2026
Merged via the queue into main with commit 549537b Sep 5, 2026
80 checks passed
@GraciousGazelles
GraciousGazelles deleted the repair/w12397-native-browser-chrome-failclosed-20260905 branch September 5, 2026 12:11
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.

1 participant