Repository navigation
Let bubblewrap create user namespaces in WPT triage - #8680
Merged
Merged
Conversation
Since the update job moved to ubuntu-24.04, Claude Code refuses to start the triage agent: Ubuntu 24.04 enables kernel.apparmor_restrict_unprivileged_userns, so bubblewrap cannot set up the Bash sandbox, and failIfUnavailable stops the run. The step's continue-on-error hides this, and the scheduled run of 2026-11-15 opened a pull request containing only the bump. Install the AppArmor profile from Claude Code's sandboxing docs, which grants userns to /usr/bin/bwrap only. Lifting the restriction with the sysctl instead would grant it to every process on the runner, including those the agent runs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
littledivy
approved these changes
Nov 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Since the WPT updater's
updatejob moved toubuntu-24.04-16core(05a7669), Claude Code refuses to start the triage agent:Ubuntu 24.04 enables
kernel.apparmor_restrict_unprivileged_userns, so bubblewrap can't create the user namespaces the Bash sandbox needs. The triage step iscontinue-on-error, so the 2026-11-15 scheduled run still went green and opened a pull request containing only the bump.This installs the AppArmor profile from Claude Code's sandboxing docs, which grants
usernsto/usr/bin/bwraponly. The alternative, setting the sysctl to 0, would lift the restriction for every process on the runner, including those the agent runs.A manual run of the workflow from this branch verifies the fix; it opens its own pull request from a separate branch.
🤖 Generated with Claude Code