Skip to content

Give Common AI sandboxes their own docs section and a shorter overview - #77828

Merged
kaxil merged 1 commit into
apache:mainfrom
astronomer:sandbox-docs-standalone
Dec 1, 2026
Merged

kaxil merged 1 commit into
apache:mainfrom
astronomer:sandbox-docs-standalone

Conversation

@kaxil

@kaxil kaxil commented Nov 30, 2026 •

Copy link
Copy Markdown
Member

Follow-up to #76853. The Sandboxes overview was 635 lines that tried to be a getting-started guide, a backend catalogue, an isolation essay, a Kubernetes comparison and a security reference at once, and nothing outside the sandbox section linked to the backend pages, which sat two levels down under Toolsets in the sidebar.

Sandboxes is now its own entry in the Guides sidebar, next to Toolsets, so its pages (configuration, backends, each backend, isolation and security) show in the navigation. The Toolsets index still lists SandboxToolset in its table and links here.

The overview (sandbox/index.rst, 635 to 330 lines) now covers what a reader needs to start: what the toolset is and when to use something else, the quick start (Modal setup first, since the first example needs it), how the four tools work, a new backend table with where each sandbox runs, the credential that provisions it and what it is suited to, linking each backend page, and a shorter "When to choose it" list. The per-backend caveats that list used to carry (Modal runs as root, Boat allows sudo, sbx needs KVM, and so on) were already on each backend's page, so the list now links there instead of repeating them.

The rest moved rather than disappeared:

Content Now on
Security boundary, the controls table, what the sandbox was verified to contain sandbox/security.rst, first section
Choosing the boundary, and why not KubernetesPodOperator / KubernetesExecutor sandbox/security.rst
What enforces the boundary (per-backend isolation and what happens when the worker dies) sandbox/backends/index.rst, each row linking its backend page; the code-mode row is dropped there because the boundary table on the security page already covers code mode
How code mode and the sandbox combine the overview's "How it works"

Moved sections keep their wording, apart from three trimmed phrases: the "Four boundaries exist" lead-in, the code-mode paragraph's opening, and a tail clause after the sbx example. Every label (sandbox-placement, sandbox-boundaries, sandbox-security, sandbox-substrates, sandbox-limitations, and the rest) moves with its section, so existing :ref: links from other pages still resolve. The feature map and supported-services rows now link the backend pages directly, and the Modal and sbx pages link their vendor docs again (those links were only on the old overview).

Sandboxes overview with its own sidebar section

Choose a backend table

Sandboxes move out of the Toolsets sidebar into their own Guides entry, so the
backend pages show in the navigation. The overview drops from 635 to 330 lines: it
keeps the quick start, how the four tools work and the limits, and gains a backend
table that links each backend page. The boundary comparison, the Kubernetes
comparison and the security section move to a new "Isolation and security" page,
with the security section first. The per-backend isolation table moves to the
backends index, where each row links its backend page. Labels move with their
sections, so existing references resolve.

The feature map and supported-services rows now link the backend pages, and the
Modal and sbx pages link their vendor docs again.
@kaxil
kaxil merged commit 915972a into apache:main Dec 1, 2026
62 checks passed
@kaxil
kaxil deleted the sandbox-docs-standalone branch December 1, 2026 08:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants