Skip to content

[Bug]: openclaw doctor reports "Could not determine the installed Chrome version" despite Chrome 148 installed at expected path #87312

Closed

Description

@gaodaabao

Bug type

Regression (worked before, now fails)

Beta release blocker

No

Summary

Running openclaw doctor shows the following warning in the Browser section:
| - Chrome MCP existing-session is configured for profile(s): user. |
| - Chrome path: C:\Program Files\Google\Chrome\Application\chrome.exe |
| - Could not determine the installed Chrome version. Chrome MCP requires Google |
| Chrome 144+ on this host. |
However, Chrome IS installed at the expected path and the version is well above the minimum requirement (Chrome 148.0.7778.179). The installed binary contains the correct ProductVersion in its metadata. This appears to be a false positive — the doctor check is failing to read the version from the installed binary.

Steps to reproduce

Steps to reproduce the behavior:
Install Chrome 148.x at C:\Program Files\Google\Chrome\Application\chrome.exe (standard location)
Run openclaw doctor
See the "Could not determine the installed Chrome version" warning
However, the browser tool actually works correctly — it connects and runs fine. So the doctor check is the only thing broken.

Expected behavior

openclaw doctor should correctly detect Chrome 144+ and show no warning.

Actual behavior

The Chrome binary has the correct ProductVersion in its file metadata (Get-Item ... | VersionInfo.ProductVersion returns 148.0.7778.179)

The actual browser tool works fine — this is purely a doctor check issue

Likely root cause: the version detection code in doctor reads from the Windows registry or uses a different API than the actual browser connection code, and fails when registry entries are incomplete/redirected

OpenClaw version

2026.5.26 (10ad3aa)

Operating system

Windows 11

Install method

No response

Model

qianfan/deepseek-v4-flash

Provider / routing chain

openclaw qianfan/deepseek-v4-flash

Additional provider/model setup details

No response

Logs, screenshots, and evidence

Chrome Version: 148.0.7778.179
Browser Location: C:\Program Files\Google\Chrome\Application\chrome.exe

Impact and severity

No response

Additional information

No response

Activity

  1. clawsweeper commented on May 27, 2026

    @clawsweeper
    Contributor

    Codex review: keeping this open for maintainer follow-up; there is still a little grit to resolve. Reviewed June 21, 2026, 1:49 AM ET / 05:49 UTC.

    Summary
    Keep open: current main and latest release still lack a Windows ProductVersion or install-layout version reader, and the two linked closing pull requests are open candidate fixes rather than merged implementation.

    Reproducibility: yes. at source level, but not live in this review: current main warns when readBrowserVersion returns null, and Windows still has no metadata or build-directory fallback before the generic --version probe.

    Root-cause cluster
    Relationship: canonical
    Canonical: #87312
    Summary: This issue is the canonical Windows Browser doctor false-version report; two open pull requests are candidate fixes but neither has merged.

    Members:

    Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

    Next step
    No separate repair lane should be queued because two open closing pull requests already target this bug; maintainers should choose, repair, or close those candidate branches first.

    Review details

    Best possible solution:

    Land one canonical Browser-plugin fix that reads Windows Chrome metadata or install-layout versions before launching Chrome, preserves the generic fallback, adds focused regression coverage, and includes redacted Windows doctor proof.

    Do we have a high-confidence way to reproduce the issue?

    Yes at source level, but not live in this review: current main warns when readBrowserVersion returns null, and Windows still has no metadata or build-directory fallback before the generic --version probe.

    Is this the best way to solve the issue?

    Yes on direction: the narrow maintainable fix belongs in the Browser plugin host-inspection version reader with the existing fallback preserved. This issue should stay open until one linked closing pull request lands or maintainers choose a replacement fix.

    AGENTS.md: found and applied where relevant.

    Remaining risk / open question:

    • No live Windows proof was run in this read-only review; source inspection matches the reported false warning, but closure should wait for a merged fix with redacted Windows doctor output or equivalent proof.
    • Two open closing pull requests target the same bug with different approaches, so maintainers still need to choose, repair, or close one canonical candidate branch.

    Codex review notes: model internal, reasoning high; reviewed against 4b2298e8cbcb.

    Label changes

    Label justifications:

    • P2: This is a normal-priority Windows Browser doctor false positive with limited blast radius because the browser tool itself reportedly still works.
    • impact:other: The issue affects setup and diagnostic reliability for Browser/Chrome MCP readiness, which is meaningful maintainer-visible impact outside the more specific owned labels.
    Evidence reviewed

    What I checked:

    Likely related people:

    • steipete: Git history shows Peter Steinberger added the bundled browser executable module and later moved browser runtime/doctor seams behind plugin metadata, central to this path. (role: browser plugin ownership contributor; confidence: high; commits: 8eeb7f082975, 471d056e2f0d; files: extensions/browser/src/browser/chrome.executables.ts, extensions/browser/src/doctor-browser.ts)
    • vincentkoc: Current blame and release-era history carry the affected Browser doctor/version-reader lines on main, and earlier Chrome MCP doctor migration work is part of the same readiness surface. (role: recent area contributor; confidence: medium; commits: 4b2298e8cbcb, c645ec4555c0, 08962b681258; files: extensions/browser/src/browser/chrome.executables.ts, extensions/browser/src/doctor-browser.ts, docs/gateway/doctor.md)
    • joshavant: Josh Avant consolidated the browser host-inspection facade that exposes readBrowserVersion, so compatibility of this helper extends beyond the immediate doctor caller. (role: adjacent SDK facade owner; confidence: medium; commits: 33ad806a14ef; files: src/plugin-sdk/browser-host-inspection.ts, extensions/browser/browser-host-inspection.ts)
    • Anmol Ahuja: History shows adjacent work on Windows executable path selection in the same browser executable module. (role: adjacent Windows executable discovery contributor; confidence: low; commits: c40884d306e8; files: extensions/browser/src/browser/chrome.executables.ts)
    How this review workflow works
    • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
    • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
    • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
    • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
    • Maintainers can also comment @clawsweeper review to request a fresh review only.
    • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
    • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
    • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.
  2. WarrenJones commented on May 27, 2026

    @WarrenJones
  3. Jefsky commented on May 27, 2026

    @Jefsky
    Contributor

    I submitted a fix for this in PR #87344. The issue is that readBrowserVersion on Windows tried to launch chrome.exe --version to determine the version, which can fail due to process startup issues or conflicts with the running browser.

    The fix adds a Windows-specific code path that reads the version from the PE file metadata using PowerShell, which is instant and doesn't require launching Chrome at all.

  4. added
    P2Normal backlog priority with limited blast radius.
    impact:otherThis issue has meaningful maintainer-visible impact outside the owned taxonomy.
    issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.
    clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.
    clawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.
    clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.
    on Jun 15, 2026
  5. locked as resolved and limited conversation to collaborators on Aug 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Normal backlog priority with limited blast radius.bugSomething isn't workingclawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.impact:otherThis issue has meaningful maintainer-visible impact outside the owned taxonomy.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions