Skip to content

browser: Honor filtered Puppeteer launch arguments - #16

Merged
yapishu merged 1 commit into
tlon/multi-sessionfrom
codex/chromium-shared-memory
Oct 16, 2026
Merged

yapishu merged 1 commit into
tlon/multi-sessionfrom
codex/chromium-shared-memory

Conversation

@yapishu

@yapishu yapishu commented Oct 14, 2026

Copy link
Copy Markdown
Collaborator

FILTER_CHROME_ARGS=--disable-dev-shm-usage removes Steel’s copy of the flag, but Puppeteer appends the same flag from its defaults. Chromium therefore continues using /tmp even when the deployment supplies a larger /dev/shm. Apply the configured filter to Puppeteer’s default arguments as well as Steel’s arguments.

Validation: a real-Chrome regression fails before the fix and passes afterward, inspecting the running process arguments while preserving unrelated defaults. All 18 launch/mobile/validation tests, the API build, and changed-file formatting checks pass.

The companion mass-modules template mounts a bounded 2 GiB memory-backed volume at /dev/shm, selects Chromium’s binary directly to avoid Debian’s wrapper adding its own shared-memory fallback, and sets FILTER_CHROME_ARGS. Deploy the rebuilt browser image with that template.

@yapishu
yapishu merged commit ac30820 into tlon/multi-session Oct 16, 2026
2 checks passed
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