[Sandbox] Document v1.0 migration
Summary
We're shipping a preview branch of Sandbox SDK 1.0 which contains a number of breaking changes. This PR follows on from the prior announcement PR (https://github.com/cloudflare/cloudflare-docs/pull/31338) with more concrete guidance on next steps.
This PR should be considered WIP until all the changes documented in the migration guide have landed on the preview branch.
Documentation checklist
- [x] Is there a changelog entry (guidelines)? If you don't add one for something awesome and new (however small) — how will our customers find out? Changelogs are automatically posted to RSS feeds, the Discord, and X.
- [x] The change adheres to the documentation style guide.
- [x] If a larger change - such as adding a new page- an issue has been opened in relation to any incorrect or out of date information that this PR fixes.
- [x] Files which have changed name or location have been allocated redirects.
Review
⏸️ Automatic reviews for this PR are paused.
This PR has already received 2 automatic reviews. To run another review, a codeowner can comment /review or /full-review. To permanently lift the limit for this PR, a codeowner can comment /ignore-review-limit.
Tip: Keep PRs in draft mode until they are ready for review — the bot skips draft PRs automatically.
⚠️ 6 warnings, 💡 1 suggestion found in commit fc93fbd.
Code Review
This code review is in beta and may not always be helpful — use your judgment.
Warnings (4)
| File | Issue |
|---|---|
public/sandbox/guides/migrating-to-1-0/SKILL.md line 1 |
Skill file in public directory — The file is named SKILL.md and contains agent skill content (YAML frontmatter with name/description and skill instructions), but it is placed under public/. Agent skills belong in .agents/skills/; public/ serves static assets and is not scanned for skills. Fix: Move the skill to .agents/skills/sandbox/migrating-to-1-0/SKILL.md if it is intended for agents, or convert it to a docs page at src/content/docs/sandbox/guides/migrating-to-1-0.mdx if it is intended for users. |
public/sandbox/guides/migrating-to-1-0/SKILL.md line 1 |
Agent skill file in wrong directory — SKILL.md files for agent skills must live under .agents/skills/ per AGENTS.md. This file is placed in public/sandbox/guides/migrating-to-1-0/, which serves it as a public static asset and places it outside the canonical skill discovery path. Fix: Move the skill to .agents/skills/sandbox-migrating-to-1-0/SKILL.md (or another subdirectory under .agents/skills/). |
sandbox/configuration/sandbox-options.mdx line 16 |
Contradictory documentation for removed option — The added note says enableDefaultSession is removed in @cloudflare/sandbox@next and top-level operations are sessionless by default, but the rest of the page still documents enableDefaultSession as a current option with Default: true, examples, and stateful-default behavior. Fix: Either remove or deprecate the enableDefaultSession section, or clarify that it only applies to SDK versions before 1.0 and that the page's top note describes the 1.0 preview behavior. |
sandbox/configuration/transport.mdx line 17 |
Inconsistent transport availability guidance — The added note states HTTP and WebSocket transports are removed in @cloudflare/sandbox@next, but the rest of the page still describes HTTP as the current default transport and includes a 'Switch from RPC to HTTP' migration section. This creates contradictory guidance for a reader deciding which transport to use. Fix: Clarify which SDK versions each section applies to, or remove/update the HTTP and WebSocket configuration instructions if they are no longer available in the @next/1.0 release. |
Style Guide Review
Warnings (2)
| File | Issue |
|---|---|
changelog/sandbox/2026-07-01-announcing-sandbox-sdk-1-0-preview.mdx line 2 |
Headings: avoid -ing verb form — Frontmatter title begins with Announcing Fix: Use the imperative form, for example Announce the Sandbox SDK 1.0 preview. |
changelog/sandbox/2026-07-01-announcing-sandbox-sdk-1-0-preview.mdx line 24 |
Internal links must not include file extensions — Link uses /sandbox/guides/migrating-to-1-0/SKILL.md Fix: Remove the .md extension and add a trailing slash: /sandbox/guides/migrating-to-1-0/SKILL/. |
Suggestions (1)
| File | Issue |
|---|---|
sandbox/guides/execute-commands.mdx line 16 |
Active voice — Line uses passive voice: "...are consolidated into a single exec() API." Fix: Rewrite in active voice, for example: "In @cloudflare/sandbox@next, exec() combines exec(), execStream(), and startProcess() into a single API." |
Commands
Only codeowners can run commands. Post a comment with the command to trigger it.
| Command | Description |
|---|---|
/review |
Runs a review now. Incremental if a prior review exists, full if not. |
/full-review |
Re-reviews the entire PR diff from scratch, ignoring incremental history. Useful after a rebase, when you want a fresh review, or if the bot gets out of sync and reports issues that no longer exist. |
/ignore-review-limit |
Permanently lifts the 2-review automatic limit for this PR. Future pushes will trigger reviews as normal. |
This PR changes current filenames or deletes current files. Make sure you have redirects set up to cover the following paths:
- [ ]
/sandbox/guides/2026-deprecation/
This pull request requires reviews from CODEOWNERS as it changes files that match the following patterns:
| Pattern | Owners |
|---|---|
/public/__redirects |
@cloudflare/content-engineering, @cloudflare/product-owners |
* |
@cloudflare/product-owners |
/src/content/changelog/ |
@cloudflare/pm-changelogs, @cloudflare/product-owners |
/src/content/docs/sandbox/ |
@whoiskatrin, @ghostwriternr, @scuffi, @aron-cf, @thomasgauvin, @cloudflare/product-owners, @cloudflare/ai-agents |
I've completed the review for PR #31694 and posted it directly on the pull request.
What I found
Summary of changes:
- Replaces the 2026 deprecation guide with a new Sandbox SDK 1.0 migration guide (
migrating-to-1-0.mdx) - Adds a changelog entry for the 1.0 preview
- Adds a navigation stub (
sandbox/migrating-to-1-0.mdx) linking to the guide - Adds an updated agent skill (
SKILL.md) for v1.0 migration - Adds
:::notecallouts to 10 existing docs referencing the upcoming changes - Sets up a redirect for the removed deprecation page
Inline comments flagged (3 issues):
public/__redirects— The redirect source/sandbox/guides/2026-deprecation/SKILL.mdends in.md, which violates the repo's redirect validation rules. Source URLs must end in/(or*,.xml,.json,.html). This will fail CI.src/content/docs/sandbox/migrating-to-1-0.mdx(line 7) —sidebar: order: 2conflicts withget-started.mdxin the samesandbox/directory.src/content/docs/sandbox/migrating-to-1-0.mdx(line 2) — The navigation page title ("Migrate to v1.0") is inconsistent with the guide's title ("Migrate to Sandbox SDK 1.0").
Other flags:
- The PR body says it's WIP, but the PR is open (not draft). I recommended converting it to a draft PR if it's not ready for merge.
- Labels are already appropriate (
product:sandbox,product:changelog,size/l).
Validation:
pnpm run check— passedpnpm run format:core:check— passedpnpm run lint— passed
The review is live at: https://github.com/cloudflare/cloudflare-docs/pull/31694#pullrequestreview-4570780521
github run
CI run failed: build logs
Broken Links
Found 2 broken link(s) across 1 file(s).
| File | Link | Position | Error |
|---|---|---|---|
content/changelog/sandbox/2026-06-09-deprecating-sandbox-sdk-features.mdx |
/sandbox/guides/2026-deprecation/ |
41:48 |
invalid link |
content/changelog/sandbox/2026-06-09-deprecating-sandbox-sdk-features.mdx |
/sandbox/guides/2026-deprecation/SKILL.md |
41:138 |
invalid link |
Preview URL: https://da3ed9b5.preview.developers.cloudflare.com Preview Branch URL: https://sandbox-next.preview.developers.cloudflare.com
Files with changes (up to 15)
Hey there, we've marked this pull request as stale because there's no recent activity on it. This label helps us identify PRs that might need updates (or to be closed out by our team if no longer relevant).