From 9f61016d3782fbb334ec8c9beae352ab0dab76d1 Mon Sep 17 00:00:00 2001 From: Devin Foley Date: Fri, 4 Dec 2026 17:48:58 -0800 Subject: [PATCH] chore(deps): keep @cloudflare/sandbox on 0.x in Dependabot (#23818) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Thinking Path > - Paperclip is the open source app people use to manage AI agents for work > - Sandbox providers include a Cloudflare bridge template that operators deploy as a Worker > - Dependabot opened #19565 to bump `@cloudflare/sandbox` from 0.7.21 to 1.0.3 > - Version 1.0 removes the `Sandbox` Durable Object class and `getSandbox()`. The bridge template uses both, so typecheck fails with TS2305 > - A port to 1.0 also needs a new `wrangler.jsonc` (public-beta scheduling policy, new container name), a new container image, and a deploy that operators cannot roll back > - This pull request tells Dependabot to skip major `@cloudflare/sandbox` updates. We will do the 1.0 migration later as a planned change with operator docs > - The benefit is that Dependabot stops opening a pull request that cannot pass CI, and minor/patch 0.x updates continue ## Linked Issues or Issue Description Refs #19565 **What happened?** Dependabot pull request #19565 bumps `@cloudflare/sandbox` to 1.0.3. The `Typecheck + Release Registry` job fails because 1.0 does not export `Sandbox` or `getSandbox`. **Expected behavior** Dependabot does not propose a major `@cloudflare/sandbox` update that needs a manual, one-way migration. **Steps to reproduce** Check out #19565 and typecheck `packages/plugins/sandbox-providers/cloudflare/bridge-template/tsconfig.test.json`. ## What Changed - Add an `ignore` rule for `@cloudflare/sandbox` `version-update:semver-major` to the `/scripts/typecheck-sandbox-providers` entry in `.github/dependabot.yml`, with a comment that gives the reason. ## Verification - Parsed `.github/dependabot.yml` with the `yaml` package. The `/scripts/typecheck-sandbox-providers` entry now has two ignore rules: `@types/node` and `@cloudflare/sandbox`, both semver-major. - No source, test, or lockfile changes. ## Risks - Low risk. This is a config-only change. Dependabot continues to propose 0.x updates for `@cloudflare/sandbox`. Someone must remove the rule when the team plans the 1.0 migration. ## Model Used - Claude Opus 5.5 (`claude-opus-5-5`), via Claude Code with tool use. ## Checklist - [x] I have included a thinking path that traces from project context to this change - [x] I have specified the model used (with version and capability details) - [x] I have checked ROADMAP.md and confirmed this PR does not duplicate planned core work - [x] I have searched GitHub for duplicate or related PRs and linked them above - [x] I have either (a) linked existing issues with `Fixes: #` / `Closes #` / `Refs #` OR (b) described the issue in-PR following the relevant issue template - [x] I have not referenced internal/instance-local Paperclip issues or links (only public GitHub `#NNN` / `github.com/paperclipai/paperclip` URLs) - [x] My branch name describes the change (e.g. `docs/...`, `fix/...`) and contains no internal Paperclip ticket id or instance-derived details - [x] I have run tests locally and they pass - [ ] I have added or updated tests where applicable - [x] I have updated relevant documentation to reflect my changes - [x] I have considered and documented any risks above - [ ] All Paperclip CI gates are green - [ ] Greptile is 5/5 with no open P2s, recommendations, or follow-ups - [x] I will address all Greptile and reviewer comments before requesting merge 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: devinfoley <139239+devinfoley@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 --- .github/dependabot.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 7bd904c5316..5ec021ff473 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -67,6 +67,14 @@ updates: - dependency-name: "@types/node" update-types: - "version-update:semver-major" + # @cloudflare/sandbox 1.0 removes the Sandbox Durable Object class and + # getSandbox(), which the Cloudflare bridge template is built on. Moving to + # 1.0 also needs a new wrangler config, a new container image, and a deploy + # that operators cannot roll back. Stay on 0.x until that migration is + # planned with operator docs; do it by hand, not through Dependabot. + - dependency-name: "@cloudflare/sandbox" + update-types: + - "version-update:semver-major" # Daytona is the only provider with its own lockfile. The release build and the # Daytona end-to-end job install it frozen, so the shared workspace above leaves