Docs: run/build.mdx describes a sandboxing warning removed in 2017 and a flag deleted in 9.0.0
Maintainers usually reply within 2 days
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 88/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- build-system
- Domain
- build-system, documentation
Research direction
Start with docs/run/build.mdx and compare the corresponding 9.0.0 and 9.1.0 versioned pages; read docs/run/sandboxing.mdx for the current fallback description. Remove or update the obsolete warning and flag paragraph so the documentation matches current Bazel behavior and points readers to the existing sandboxing guidance.
Written by the indexing model from the issue text.
Description
docs/run/build.mdx, at 7a5be08 and on bazel.build on 2026-09-24, says: "Bazel will print a warning if your system does not support sandboxing to alert you to the fact that builds are not guaranteed to be hermetic and might affect the host system in unknown ways. To disable this warning you can pass the --ignore_unsupported_sandboxing flag to Bazel."
The warning was removed in 0c613be in April 2017. The flag lived on as a no-op until e887cfbfd641 removed it from master in November 2025, "Delete a no-op flag (--ignore_unsupported_sandboxing) and documentation referencing it", cherry-picked to 9.0.0 as #27747. build.mdx was not part of that change. The paragraph is also in the 9.0.0 and 9.1.0 versioned docs.
Bazel 9.2.0 rejects the flag before building anything:
ERROR: --ignore_unsupported_sandboxing :: Unrecognized option: --ignore_unsupported_sandboxing
On Linux (Debian 13, kernel 6.12), with user namespaces unavailable to Bazel because I ran it inside bwrap --unshare-user --disable-userns, 9.2.0 fell back to processwrapper-sandbox and printed no warning in the console. The process summary named processwrapper-sandbox instead of linux-sandbox, and the server's java.log had one warning-level line. The fallback itself is tracked in #13995. This is only about the paragraph. I didn't run macOS.
sandboxing.mdx already describes the fallback and how to get an error instead, so build.mdx could point there.
- Dominant language
- Java
- Stars
- 26.2k
- Forks
- 4.7k
- Avg merge
- 3d 11h
- Merged PRs (30d)
- 125
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from bazelbuild/bazel
-
team-Rules-Java type: bug untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
bazelbuild/bazel#33068 ·
Maintainers usually reply within 2 days
-
Remote repo contents cache rejects repos with a backslash in a file name on UnixPossibly taken A pull request linked to this issue is open or already merged. Openteam-Remote-Exec type: bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
bazelbuild/bazel#32601 · 3 comments · 1 assignee ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
bazelbuild/bazel#32132 ·
Maintainers usually reply within 2 days
-
team-Local-Exec type: documentation (cleanup)
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
bazelbuild/bazel#31318 ·
Maintainers usually reply within 2 days
-
Rename gen_mdx_reference_docs to gen_reference_docsPossibly taken @kapunahelewong claimed this 73 days ago. OpenP2 team-Documentation team-OSS type: documentation (cleanup)
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
bazelbuild/bazel#31211 · 2 comments ·
Maintainers usually reply within 2 days
All issues in bazelbuild/bazel
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Lincoln-cn/JAiRouter#1473 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
exercism/java-analyzer#379 ·
-
area: ui bug priority: low
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
tetsuji16/microProject#1893 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
liberation-data/fornax4j#325 ·
Maintainers usually reply within 1 day
-
[Bug]: FE and Kinesis extraction pipes render flow starting at the centre and scroll the source arm backwardsPossibly taken @chonkzillaofficial claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
BCCE-team/BuildCraft#85 ·