Conversation
GodBlf
requested review from
Pangjiping,
hittyt,
jwx0925 and
ninan-nn
as code owners
September 30, 2026 13:57
This was referenced Sep 30, 2026
This branch has not been deployed
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.
Summary
Adds
sandbox.FilesWithIdentity(uid, gid)so Go callers can bind file operations to an explicit Linux UID/GID.Includes an identity-bound filesystem interface and client, regression tests, and Go documentation.
Bound clients preserve connection and endpoint-routing settings. Unsupported identity routes surface as errors without falling back to the default filesystem routes. Identity selection belongs in the trusted backend; this feature enforces Linux filesystem permissions and does not introduce a tenant isolation boundary.
Related to #1843. Follows core #2070, merged on September 30, 2026. This PR is independent of the other SDK follow-ups.
Testing
Local results for commit
2685c1832958d3d4d012eb384756d5f7be8d22d9on merged-main base04dd996ca2b72470d73ecfae24ca267addceb100.Not run
Unit tests
Separate live-sandbox integration run on this rebased head
e2e / manual verification on this rebased head
Linux Go 1.25.9: go test -count=1 ./... passed for all packages.
pnpm docs:build passed on this rebased branch.
Real-sandbox client verification was not run for this language; coverage is from the unit/build checks above.
Breaking Changes
Checklist