Skip to content

[cherry-pick][2.58.0][docs] add initial documentation for Ray sandboxing (#65503) - #65573

Merged
elliot-barn merged 1 commit into
releases/2.58.0from
elliot-barn/cp-65503-releases-2.58.0
Aug 18, 2026
Merged

elliot-barn merged 1 commit into
releases/2.58.0from
elliot-barn/cp-65503-releases-2.58.0

Conversation

@elliot-barn

Copy link
Copy Markdown
Collaborator

Cherry-pick of #65503 (merge commit d40da45, authored by @andrewsykim) onto releases/2.58.0.

One conflict, resolved by hand: the PR adds sandboxes.md to the Ray Core API toctree in doc/source/ray-core/api/index.md, but that file only exists on master (the index was converted from .rst to .md after the branch cut). Applied the same one-line addition to the branch's doc/source/ray-core/api/index.rst instead; everything else picked clean and the commit is otherwise identical to the original (docs pages + docstring updates in python/ray/experimental/sandbox/, which already exists on this branch).

Not a duplicate: no existing cherry-pick PR for #65503 targets this branch.

AI assistance (Claude Code) was used to prepare this cherry-pick; reviewed by the submitter.

🤖 Generated with Claude Code

Add initial documentation for Ray's experimental sandboxing library.

> Link related issues: "Fixes #1234", "Closes #1234", or "Related to

> Optional: Add implementation details, API changes, usage examples,
screenshots, etc.

---------

Signed-off-by: Andrew Sy Kim <[email protected]>
Signed-off-by: Andrew Sy Kim <[email protected]>
Co-authored-by: Douglas Strodtman <[email protected]>
(cherry picked from commit d40da45)
Signed-off-by: elliot-barn <[email protected]>
@elliot-barn
elliot-barn requested review from a team and andrewsykim as code owners August 18, 2026 23:20
@elliot-barn
elliot-barn merged commit d178226 into releases/2.58.0 Aug 18, 2026
3 of 5 checks passed
@elliot-barn
elliot-barn deleted the elliot-barn/cp-65503-releases-2.58.0 branch August 18, 2026 23:21

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces comprehensive documentation and public API annotations for the Ray Sandboxes feature (ray.experimental.sandbox). It adds user guides, architectural overviews, and API references for running untrusted code safely using gVisor kernel isolation. Additionally, it marks core sandbox classes, functions, and exceptions with the @publicapi(stability="alpha") decorator and significantly improves docstrings across the codebase. There are no review comments to address, and I have no feedback to provide.

elliot-barn added a commit that referenced this pull request Aug 20, 2026
…t images out of the box (#65570) (#65622)

## Description

Cherry-pick of #65570 (`7408258f64`) into `releases/2.58.0`.

Brings the Ray Sandbox Docker-image support onto the release branch,
complementing the sandbox documentation already cherry-picked in #65573
(#65503). All changes are confined to `python/ray/experimental/sandbox/`
plus its doc page and `doc/source/conf.py`.

## Verification

- Clean cherry-pick (`git cherry-pick -x -s 7408258`), no conflicts;
14 files changed matching the original commit.
- The original change passed full CI on master (merged 2026-08-20);
release-branch CI on this PR will validate on 2.58.0.

Not a duplicate: no existing cherry-pick PR for #65570 targets
`releases/2.58.0`.

AI assistance (Claude Code) was used to prepare this cherry-pick.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Signed-off-by: xyuzh <[email protected]>
Signed-off-by: elliot-barn <[email protected]>
Co-authored-by: Xinyu Zhang <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants