Skip to content

Commit c33607b

Browse files
committed
Workaround the sandbox is missing files bug
For some reason multiplex sandboxing seems to have issues with files going missing. It's been happening for a while, but intermittently. It got much worse recently. Not sure if this is a rule set bug or a Bazel bug. Regardless, disabling multiplex sandboxing fixes it.
1 parent 358db8b commit c33607b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.bazelrc_shared

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,10 @@ build --strategy=worker,sandboxed,local
2222

2323
build --worker_max_instances=4
2424
build --worker_sandboxing
25-
build --experimental_worker_multiplex_sandboxing
25+
# Disable multiplex sandboxing because there is a bug that causes files which
26+
# should be in the sandbox to not be. Not sure if this is a Bazel bug or a rule
27+
# set bug. Something we need to deal with either way.
28+
#build --experimental_worker_multiplex_sandboxing
2629
build --experimental_worker_cancellation
2730
build --verbose_failures
2831

0 commit comments

Comments
 (0)