Repository navigation
Extend sandboxing to package processing - #24038
Merged
Merged
Conversation
Contributor
|
One or more custom setup steps configured for this repository failed during this Copilot code review run: Setup steps run before each review. If the review above is missing context, or no review was posted at all, the failing step above may be the cause. See the workflow run for failure details, fix your setup steps configuration, and re-request a review. Note You can configure setup steps for Copilot code review separately from Copilot cloud agent with a |
MikeMcQuaid
force-pushed
the
sandbox-package-processing
branch
6 times, most recently
from
September 20, 2026 15:02
fd95e6f to
81c534e
Compare
p-linnane
reviewed
Sep 20, 2026
p-linnane
reviewed
Sep 20, 2026
p-linnane
reviewed
Sep 20, 2026
p-linnane
reviewed
Sep 20, 2026
p-linnane
reviewed
Sep 20, 2026
MikeMcQuaid
force-pushed
the
sandbox-package-processing
branch
from
September 21, 2026 02:31
81c534e to
e596339
Compare
p-linnane
reviewed
Sep 21, 2026
p-linnane
reviewed
Sep 21, 2026
p-linnane
reviewed
Sep 21, 2026
andrew
previously requested changes
Sep 21, 2026
andrew
left a comment
Member
There was a problem hiding this comment.
A couple of smaller things in addition to the open comments.
MikeMcQuaid
force-pushed
the
sandbox-package-processing
branch
from
September 21, 2026 15:50
e596339 to
6f1cbb8
Compare
p-linnane
approved these changes
Sep 21, 2026
- Limit downloaded package operations to intended output paths and share sandbox setup with build, test and installation workers. - Pass sandbox inheritance through a read-only descriptor so environment flags and ordinary file permissions cannot establish confinement. - Retain write-protection checks when permissions allow a useful probe and reuse inherited Homebrew sandboxes quietly. - Share VCS sandbox setup and fetch-only credential checks while keeping transport-specific permissions in each download strategy. - Follow trusted global Git includes and custom credential stores without allowing repository-local configuration to grant home access. - Resolve relative Git credentials from the clone or fetch directory and preserve the caller's `HOME` for CVS without requiring `USER` or a passwd entry when `HOME` is set. - Mount disk images read-only in the parent and sandbox extraction at each stage, without trusting archive-created symlinks for new grants. - Load disk-image filtering helpers in workers and capture setup warnings without assuming standard error is a file. - Forward Ctrl-C to captured process groups to interrupt helpers that have closed their output pipes. - Preserve sandbox workers' private temporary directories in tests and keep formula fixtures independent of implicit host dependencies. - Allow padded prefixes inside the repository while protecting its code. - Use the public `Keg` interface for sandboxed install linkage repairs. - Preserve required download authentication, validate trust boundaries and warn when package processing proceeds without a sandbox. - Redact proxy credentials from diagnostics and serialised errors while preserving the environment passed to package metadata inspection. - Check expected bottle warnings and reject unexpected stderr output. - Explain sandboxing principles and vendor installer trust in the guide.
MikeMcQuaid
force-pushed
the
sandbox-package-processing
branch
from
September 21, 2026 17:05
6f1cbb8 to
c9bfdc3
Compare
4 tasks done
8 tasks done
8 tasks done
6 tasks done
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.
Keginterface for sandboxed install linkage repairs.brew benchmarkresults.brewcommands to reproduce the bug?brew lgtm(style, typechecking and tests) locally?Codex with GPT 6 Astra at Extra High effort, with local review and testing.