Files
PaperClipAI/.github/dependabot.yml
T
9f61016d37 chore(deps): keep @cloudflare/sandbox on 0.x in Dependabot (#23818)
## 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 <noreply@anthropic.com>
2026-12-04 17:48:58 -08:00

120 lines
5.4 KiB
YAML

version: 2
updates:
- package-ecosystem: npm
directory: "/"
schedule:
interval: weekly
day: monday
time: "06:00"
# Each dependency update gets its own pull request, including major
# version bumps. A grouped major PR cannot merge when one member has
# a blocked upgrade, so it hides the other ready majors. Separate PRs
# let each major land on its own. The limit holds the initial burst
# of pending majors plus the regular minor and patch updates.
open-pull-requests-limit: 20
labels:
- "dependencies"
# Dependabot's npm parser reads only dependencies, devDependencies, and
# optionalDependencies — never peerDependencies. It cannot see the
# optional OpenTelemetry peer dependencies in server/package.json, so it
# never bumps their declared versions. The same limit applies to the
# optional @sentry/node peer dependency in server/package.json: Dependabot
# cannot bump it either, for the same reason. @sentry/browser stays a
# normal devDependency of ui/package.json, so Dependabot does track that
# one.
ignore:
# @types/node describes the APIs available in the supported Node runtime.
# Runtime major upgrades are deliberate compatibility changes, so keep
# Dependabot on the current major until the runtime baseline moves too.
- dependency-name: "@types/node"
update-types:
- "version-update:semver-major"
# Sandbox providers (packages/plugins/sandbox-providers/*). pnpm-workspace.yaml
# keeps them out of the root workspace on purpose, so the "/" entry above never
# sees them. Each provider is a standalone published package with its own
# version ranges.
#
# Each lockfile has exactly one entry, so every pull request changes a
# manifest and the lockfile that installs it together, and CI can pass.
#
# scripts/typecheck-sandbox-providers is a small pnpm workspace that lists every
# provider without its own lockfile, and holds one lockfile for them. CI
# installs that lockfile frozen. Dependabot updates this workspace as one unit:
# one pull request per dependency changes every provider that uses the
# dependency, and the shared lockfile, together. So this entry needs no
# `groups`. One entry per provider would open a separate pull request for each
# provider for the same package, and each one would fail CI because the shared
# lockfile would stay old.
#
# Dependabot does not expand a workspace glob that starts with ../, so that
# workspace lists each provider by its full path. A test checks the list.
#
# Providers are published libraries, so Dependabot's default versioning
# strategy keeps a range when a new version fits it. It widens the range when a
# release falls outside it, for example zod 3 to zod 4.
- package-ecosystem: npm
directory: "/scripts/typecheck-sandbox-providers"
schedule:
interval: weekly
day: monday
time: "06:00"
open-pull-requests-limit: 10
labels:
- "dependencies"
ignore:
# Same reason as the "/" entry.
- 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
# Daytona out, and scripts/typecheck-test-programs.mjs installs Daytona from
# this lockfile (LOCKED_PROVIDERS). This entry is the only one that changes
# Daytona's package.json, and it changes this lockfile in the same pull request.
- package-ecosystem: npm
directory: "/packages/plugins/sandbox-providers/daytona"
schedule:
interval: weekly
day: monday
time: "06:00"
open-pull-requests-limit: 5
labels:
- "dependencies"
ignore:
# Same reason as the "/" entry.
- dependency-name: "@types/node"
update-types:
- "version-update:semver-major"
# No entry for packages/paperclip-runner/scripts/pi-distribution or
# kimi-distribution. Every direct dependency there is a pinned provider
# release, and the pins feed each provider's ACPX commandDigest. The Runner
# checks compare the Pi lockfile with PI_DISTRIBUTION_PINS, and the Kimi build
# compares the SHA-256 of its package-lock.json with a pin. So a Dependabot
# change to either lockfile fails CI (for example #18998), and a real upgrade
# also starts saved sessions fresh. Change these by hand (see
# rules/acpx-profile-identity.mdc). pi-acp@0.0.33 needs zod ^3.25.0 as a
# direct dependency, so the Pi zod pin (3.25.76) cannot move to zod 4 until
# pi-acp allows it. GitHub security alerts still cover both lockfiles.
- package-ecosystem: github-actions
directory: "/"
schedule:
interval: weekly
day: monday
time: "06:00"
open-pull-requests-limit: 5
ignore:
# This first-party workflow follows CODEOWNERS-protected master.
- dependency-name: "paperclipai/paperclip/.github/workflows/pr-trusted.yml"