Skip to content

docs(deps): correct the stale rationale on the /mcp workers-types ignore - #170

Merged
jdevalk merged 1 commit into
mainfrom
docs/dependabot-mcp-ignore-note
Aug 8, 2026
Merged

docs(deps): correct the stale rationale on the /mcp workers-types ignore#170
jdevalk merged 1 commit into
mainfrom
docs/dependabot-mcp-ignore-note

Conversation

@jdevalk

@jdevalk jdevalk commented Aug 8, 2026

Copy link
Copy Markdown
Owner

Follow-up to #167. Comments only — the parsed Dependabot rules are unchanged.

What was wrong

The note on the /mcp ignore read:

wrangler's peer range only accepts workers-types v4; a v5 bump breaks npm ci in the Deploy MCP workflow. Re-allow once wrangler's peerDependencies accept v5.

Both halves have expired:

$ npm view wrangler peerDependencies
{ '@cloudflare/workers-types': '^5.20260801.1' }

Locally, wrangler@4.118.0 peers ^5.20260730.1, and /mcp is on 5.20260804.1#152 and #168 both landed v5 bumps this week.

Why the rule still has to stay

Read literally, the note said the hold was finished and the rule could be deleted. It cannot. It is what stops a workers-types major landing ahead of whatever major wrangler currently peers — the identical ERESOLVE failure, one major later. (No v6 exists yet; published majors are 0–5.)

The actual defect was framing a standing guard as a temporary hold pinned to specific version numbers, which guaranteed it would rot as soon as the ecosystem moved — and it did, silently, while still looking authoritative.

The rewrite

  • Describes the mechanism instead of a version.
  • Says explicitly that it is standing, not pending removal.
  • Notes that wrangler moves the range itself, and that the major here should be bumped by hand in the same PR as the wrangler bump.
  • Dates the version-specific observation and gives npm view wrangler peerDependencies so the next reader verifies instead of trusting.

Verified

Parsed the YAML before and after: both files yield

[{"dependency-name":"@cloudflare/workers-types","update-types":["version-update:semver-major"]}]

Diffing the change with comment lines stripped leaves nothing, so behaviour is identical. format:check passes.

🤖 Generated with Claude Code

The note claimed "wrangler's peer range only accepts workers-types v4;
a v5 bump breaks `npm ci`", and told the reader to re-allow the update
once wrangler accepted v5. Both parts have expired: wrangler 4.118.0
peers @cloudflare/workers-types "^5.20260730.1", and /mcp has been on
5.x for a while — #152 and #168 both landed v5 bumps.

Taken at face value the note said this hold was finished and the rule
could be deleted. It cannot. The rule is what stops a workers-types
major landing ahead of wrangler's peer range, which is the same
ERESOLVE failure one major later. What was wrong was framing a
standing guard as a temporary hold pinned to specific versions, so it
rotted the moment the ecosystem moved.

Rewritten to describe the mechanism rather than a version, to say
explicitly that it is standing, to note that wrangler moves the range
itself and the major here should be bumped alongside it, and to date
the version-specific observation and give the command that re-checks
it (`npm view wrangler peerDependencies`) so the next reader verifies
rather than trusts.

Comments only — the parsed rules are unchanged, verified by diffing the
YAML. No behaviour change.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying specification-website with  Cloudflare Pages  Cloudflare Pages

Latest commit: 6dc2b63
Status: ✅  Deploy successful!
Preview URL: https://ae42da2f.specification-website.pages.dev
Branch Preview URL: https://docs-dependabot-mcp-ignore-n.specification-website.pages.dev

View logs

@jdevalk
jdevalk merged commit eb8129b into main Aug 8, 2026
8 checks passed
@jdevalk
jdevalk deleted the docs/dependabot-mcp-ignore-note branch August 8, 2026 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant