Skip to content

Fix browser executablePath config ignored in gateway mode#32

Open
lucaslorentz wants to merge 1 commit into
suitedaces:mainfrom
lucaslorentz:fix/browser-config-gateway
Open

Fix browser executablePath config ignored in gateway mode#32
lucaslorentz wants to merge 1 commit into
suitedaces:mainfrom
lucaslorentz:fix/browser-config-gateway

Conversation

@lucaslorentz

Copy link
Copy Markdown

When running via the Electron app (gateway mode), browser.executablePath from ~/.dorabot/config.json is ignored because setBrowserConfig() is never called in gateway/server.ts. It's only called in mcp-stdio-server.ts.

This means users who configure a custom browser (e.g. Chromium instead of Chrome) always get the first system browser found by findChromium(), which defaults to Google Chrome.

Use case: On macOS, running Chrome for both the user and dorabot causes profile conflicts (only one Chrome.app process can run at a time). Setting executablePath to Chromium solves this, but the config was silently ignored in gateway mode.

Fix: Add the missing setBrowserConfig(config.browser || {}) call in startGateway(), matching the existing pattern used for setScheduler().

@vercel

vercel Bot commented Mar 31, 2026

Copy link
Copy Markdown

@lucaslorentz is attempting to deploy a commit to the DevApe Team on Vercel.

A member of the Team first needs to authorize it.

setBrowserConfig() was only called in mcp-stdio-server.ts but not in
gateway/server.ts, so browser.executablePath from config was silently
ignored when running via the Electron app.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@lucaslorentz
lucaslorentz force-pushed the fix/browser-config-gateway branch 3 times, most recently from 5d38d36 to 7e0ba04 Compare April 1, 2026 18:03
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