Skip to content

fix: support Chrome launch as root on Linux#11

Open
matthewijordan wants to merge 1 commit intocamhahu:mainfrom
matthewijordan:fix/linux-root-launch
Open

fix: support Chrome launch as root on Linux#11
matthewijordan wants to merge 1 commit intocamhahu:mainfrom
matthewijordan:fix/linux-root-launch

Conversation

@matthewijordan
Copy link
Copy Markdown
Contributor

Summary

  • auto-apply --no-sandbox when launching Chrome as root on Linux so headless sessions can start on VPS environments
  • surface Chromium launch stderr on startup failures so launch issues are diagnosable instead of returning a generic error
  • fix the local build script and add cross-platform regression coverage for launch-error reporting

Testing

  • bun run build
  • bun test packages/cli/test/browser.test.ts
  • ./dist/browser start --headless && ./dist/browser active && ./dist/browser stop

Auto-apply the required no-sandbox flag, surface Chromium startup errors, and keep the local build and regression tests runnable across supported platforms.
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