Repository navigation
Description
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
Metadata
Metadata
Assignees
Labels
Type
Fields
Priority
Activity
clawsweeper commentedon May 27, 2026
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
readBrowserVersionreturns null, and Windows still has no metadata or build-directory fallback before the generic--versionprobe.Root-cause cluster
Relationship:
canonicalCanonical: #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:
fixed_by_candidate: fix(browser): read Chrome version from PE metadata on Windows #87344 - The PR uses closing syntax for this issue and adds a Windows PE ProductVersion-based version reader, but it remains open and unmerged.fixed_by_candidate: fix(browser): read Windows Chrome version from build dir in doctor #87937 - The PR uses closing syntax for this issue and adds Windows build-directory plus PowerShell version detection, but it remains open, conflicting, and unmerged.adjacent_distinct: Doctor: Chrome version detection is flaky on macOS due to Gatekeeper cold-cache latency (2s timeout too tight) #85418 - This closed issue used the same warning text, but it was a macOS Gatekeeper cold-cache timeout problem rather than the Windows metadata failure.adjacent_distinct: fix(browser): avoid cold mac chrome version timeouts #85460 - This merged PR fixed the macOS timeout path with Info.plist-first detection, but it did not add Windows ProductVersion or build-directory detection.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
readBrowserVersionreturns null, and Windows still has no metadata or build-directory fallback before the generic--versionprobe.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:
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:
AGENTS.md:1, 4b2298e8cbcb)readBrowserVersiononly special-cases macOS bundle metadata, then runs the executable with--version; there is no Windows PE ProductVersion, PowerShell, WMIC, or build-directory fallback on current main. (extensions/browser/src/browser/chrome.executables.ts:747, 4b2298e8cbcb)readVersion(chrome.path), parses the result, and emits the reported unknown-version warning when the version is missing or unparsable. (extensions/browser/src/doctor-browser.ts:324, 4b2298e8cbcb)extensions/browser/src/browser/chrome.version.test.ts:32, 4b2298e8cbcb)readBrowserVersionimplementation with macOS metadata followed by generic--version, so the Windows issue is not shipped fixed. (extensions/browser/src/browser/chrome.executables.ts:747, c645ec4555c0)Likely related people:
extensions/browser/src/browser/chrome.executables.ts,extensions/browser/src/doctor-browser.ts)extensions/browser/src/browser/chrome.executables.ts,extensions/browser/src/doctor-browser.ts,docs/gateway/doctor.md)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)extensions/browser/src/browser/chrome.executables.ts)How this review workflow works
@clawsweeper re-reviewcomments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.@clawsweeper re-reviewor@clawsweeper re-runon an open PR or issue to request a fresh review only.@clawsweeper reviewto request a fresh review only.@clawsweeper autofix,@clawsweeper automerge,@clawsweeper fix ci, or@clawsweeper address review.@clawsweeper explainto ask for more context, or@clawsweeper stopto stop active automation.WarrenJones commentedon May 27, 2026
Jefsky commentedon May 27, 2026
I submitted a fix for this in PR #87344. The issue is that
readBrowserVersionon 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.