Repository navigation
feat: support task sandbox access - #3545
Merged
Merged
Conversation
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
ananthsub
marked this pull request as ready for review
September 18, 2026 22:12
ananthsub
requested review from
adil-a,
bxyu-nvidia,
cmunley1,
ffrujeri,
marta-sd and
yaoyu-33
September 18, 2026 22:12
ananthsub
force-pushed
the
ananthsub/environment-server-sandbox-access
branch
from
September 18, 2026 22:23
fc4b240 to
77db194
Compare
ananthsub
force-pushed
the
ananthsub/environment-server-sandbox-access
branch
from
September 18, 2026 22:27
77db194 to
e33b215
Compare
ananthsub
force-pushed
the
ananthsub/environment-server-sandbox-access
branch
from
September 18, 2026 22:37
e33b215 to
9c8bfb7
Compare
marta-sd
previously approved these changes
Sep 21, 2026
ananthsub
force-pushed
the
ananthsub/environment-server-sandbox-access
branch
from
September 21, 2026 13:38
2ac71cf to
4de5793
Compare
ananthsub
force-pushed
the
ananthsub/environment-server-sandbox-access
branch
from
September 21, 2026 17:19
4de5793 to
d0bfc29
Compare
ananthsub
force-pushed
the
ananthsub/environment-server-sandbox-access
branch
from
September 22, 2026 13:13
d0bfc29 to
77bc5af
Compare
ananthsub
force-pushed
the
ananthsub/environment-server-sandbox-access
branch
from
September 22, 2026 13:18
77bc5af to
cfdf947
Compare
Signed-off-by: Ananth Subramaniam <[email protected]>
This branch was previously 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.
What does this PR do?
Defines
SandboxAccessin the sandbox subsystem and adds borrower disconnect support. Task/Resources Servers retain owner shutdown authority.Single-agent interaction flow
This diagram shows the built-in single-agent use case. Other Environment Server protocols may coordinate different participants and use different request, result, and lifecycle flows.
sequenceDiagram participant C as Rollout collector participant E as Environment Server participant R as Task / Resources Server participant A as Agent Server participant M as Model Server participant S as Task sandbox C->>E: POST /run E->>R: Seed task session R-->>E: Tool access and optional SandboxAccess E->>A: Seed agent session A->>S: Connect as borrower when supplied E->>A: Invoke /v1/responses A->>M: Model and capture requests A-->>E: Agent response E->>A: Close agent session E->>R: Verify response E->>R: Close task session E-->>C: Episode resultThe Environment Server coordinates ordering and the final result. Agent and Task/Resources Servers retain ownership of the state and resources they create.
This is part 5 of 13 in the Environment Server stack. Previous: #3543. Next: #3485.
Validation
uv run pytest tests/unit_tests/test_sandbox_access.py tests/unit_tests/test_docker_provider.py -qRollouts
See the final PR for end-to-end rollout evidence.
Compatibility and benchmark impact
Existing sandbox owner lifecycle remains unchanged.