Skip to content

Let the browser check run on a build machine - #1

Merged
tannevaled merged 1 commit into
mainfrom
browser-sandbox
Aug 25, 2026
Merged

Let the browser check run on a build machine#1
tannevaled merged 1 commit into
mainfrom
browser-sandbox

Conversation

@tannevaled

Copy link
Copy Markdown
Contributor

A runner has no user namespaces to put Chrome's renderer in, so Chrome refuses to start rather than start unsandboxed:

FATAL:zygote_host_impl_linux.cc:128] No usable sandbox!

The check turns the sandbox off when CHROME_NO_SANDBOX says to, which the workflow sets. The only page this browser ever loads is the one the check serves itself, from this machine, over a socket it opened a moment earlier.

A runner has no user namespaces to put Chrome's renderer in, so Chrome refuses
to start at all rather than start unsandboxed. The check now turns the sandbox
off when CHROME_NO_SANDBOX says to, which the workflow sets: the only page this
browser ever loads is the one the check serves itself, from this machine, over
a socket it opened a moment earlier.
@tannevaled
tannevaled merged commit 8ccdb54 into main Aug 25, 2026
2 checks passed
@tannevaled
tannevaled deleted the browser-sandbox branch August 25, 2026 14:59
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