fix: launch desktop chrome with xvfb-safe flags #64

Merged
hongming merged 1 commits from fix/xvfb-chrome-flags into main 2026-05-25 11:20:18 +00:00
Owner

Fixes the Xvfb Chrome blank-content issue seen in display-enabled workspaces.

Changes:

  • launch desktop Chrome with GPU disabled under Xvfb
  • suppress first-run/default-browser UI prompts
  • keep non-root ubuntu execution and Chrome sandbox intact; no --no-sandbox
  • bump runtime patch version to 0.3.1

Verification:

  • live workspace probe on i-079e3ac34923eec92 launched Chrome with these flags and captured a nonblank 1920x1080 desktop screenshot sample
  • PYTHONPATH=$PWD pytest tests/test_desktop_tools.py -q -> 6 passed
  • PYTHONPATH=$PWD pytest -q -> 364 passed
Fixes the Xvfb Chrome blank-content issue seen in display-enabled workspaces. Changes: - launch desktop Chrome with GPU disabled under Xvfb - suppress first-run/default-browser UI prompts - keep non-root `ubuntu` execution and Chrome sandbox intact; no `--no-sandbox` - bump runtime patch version to 0.3.1 Verification: - live workspace probe on `i-079e3ac34923eec92` launched Chrome with these flags and captured a nonblank 1920x1080 desktop screenshot sample - `PYTHONPATH=$PWD pytest tests/test_desktop_tools.py -q` -> 6 passed - `PYTHONPATH=$PWD pytest -q` -> 364 passed
hongming added 1 commit 2026-05-25 11:16:26 +00:00
fix: launch desktop chrome with xvfb-safe flags
Secret scan / Scan diff for credential-shaped strings (pull_request) Successful in 16s
ci / lint (pull_request) Successful in 39s
ci / smoke-install (pull_request) Successful in 1m8s
ci / unit-tests (pull_request) Successful in 1m13s
ci / build (pull_request) Successful in 1m14s
78ab62a9c5
infra-runtime-be approved these changes 2026-05-25 11:19:57 +00:00
infra-runtime-be left a comment
Member

Reviewed five-axis pass: correctness/readability/architecture/security/performance OK for focused Xvfb Chrome launch flags; tests and CI green.

Reviewed five-axis pass: correctness/readability/architecture/security/performance OK for focused Xvfb Chrome launch flags; tests and CI green.
dev-lead approved these changes 2026-05-25 11:19:57 +00:00
dev-lead left a comment
Member

Reviewed five-axis pass: correctness/readability/architecture/security/performance OK for focused Xvfb Chrome launch flags; tests and CI green.

Reviewed five-axis pass: correctness/readability/architecture/security/performance OK for focused Xvfb Chrome launch flags; tests and CI green.
hongming merged commit 30524e9015 into main 2026-05-25 11:20:18 +00:00
Sign in to join this conversation.
3 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: molecule-ai/molecule-ai-workspace-runtime#64