Skip to content

Fix writable sandbox path#22443

Closed
fmeum wants to merge 1 commit intobazelbuild:masterfrom
fmeum:fix-sandbox-writable
Closed

Fix writable sandbox path#22443
fmeum wants to merge 1 commit intobazelbuild:masterfrom
fmeum:fix-sandbox-writable

Conversation

@fmeum
Copy link
Copy Markdown
Collaborator

@fmeum fmeum commented May 18, 2024

The reverts in 3fddc7f accidentally replaced sandboxExecRoot with execRoot in the function that computes writable directories for sandbox spawn runners.

This issue was observed in MobileNativeFoundation/rules_xcodeproj#3029.

The reverts in 3fddc7f accidentally replaced `sandboxExecRoot` with `execRoot` in the function that computes writable directories for sandbox spawn runners.
@fmeum fmeum requested a review from oquenchil May 18, 2024 10:22
@github-actions github-actions Bot added team-Local-Exec Issues and PRs for the Execution (Local) team awaiting-review PR is awaiting review from an assigned reviewer labels May 18, 2024
@fmeum
Copy link
Copy Markdown
Collaborator Author

fmeum commented May 18, 2024

CC @brentleyjones @thiagohmcruz

@oquenchil I tried to write an integration test for this, but I can't reproduce the failure in our integration test setup.

I can reproduce it locally on macOS with bazel --output_base=bazel-output-base build //:gen and

genrule(
    name = "gen",
    outs = ["out"],
    cmd = "touch $@",
)

@fmeum
Copy link
Copy Markdown
Collaborator Author

fmeum commented May 18, 2024

@bazel-io fork 7.2.0

@oquenchil oquenchil added awaiting-PR-merge PR has been approved by a reviewer and is ready to be merge internally and removed awaiting-review PR is awaiting review from an assigned reviewer labels May 20, 2024
@github-actions github-actions Bot removed the awaiting-PR-merge PR has been approved by a reviewer and is ready to be merge internally label May 20, 2024
bazel-io pushed a commit to bazel-io/bazel that referenced this pull request May 20, 2024
The reverts in 3fddc7f accidentally replaced `sandboxExecRoot` with `execRoot` in the function that computes writable directories for sandbox spawn runners.

This issue was observed in MobileNativeFoundation/rules_xcodeproj#3029.

Closes bazelbuild#22443.

PiperOrigin-RevId: 635383877
Change-Id: I3d74bf78cf97ecd267ba90b68cf1b715850aba27
github-merge-queue Bot pushed a commit that referenced this pull request May 20, 2024
The reverts in 3fddc7f accidentally
replaced `sandboxExecRoot` with `execRoot` in the function that computes
writable directories for sandbox spawn runners.

This issue was observed in
MobileNativeFoundation/rules_xcodeproj#3029.

Closes #22443.

PiperOrigin-RevId: 635383877
Change-Id: I3d74bf78cf97ecd267ba90b68cf1b715850aba27

Commit
b0ed4ca

Co-authored-by: Fabian Meumertzheim <fabian@meumertzhe.im>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

team-Local-Exec Issues and PRs for the Execution (Local) team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants