fix(config): unblock inbound-worker deploy by aligning wrangler with workers-types v5 - #118
Merged
Merged
Conversation
…dencies The "Deploy inbound email worker" job's wrangler-action steps still passed wranglerVersion "3", while the worker is now built and typed against wrangler 4 (^4.115.0) and @cloudflare/workers-types v5. Deploying with wrangler 3 a worker developed on wrangler 4 is a version drift that risks config/runtime mismatches. Align both steps to "4". The earlier npm ci ERESOLVE failure (workers-types v5 vs wrangler 4.103's v4 peer) is already resolved on main by the #110 wrangler ^4.115.0 bump, so this change is workflow-only. Verified in workers/inbound-email against current deps: npm ci, npm test (6/6), tsc --noEmit, and `wrangler deploy --dry-run` (4.115.0) all pass. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TboCmBUmkhg7nTnXfSVDxi
alekslinde
force-pushed
the
fix/worker-deploy-wrangler-types-peer
branch
from
August 2, 2026 22:41
449a9c0 to
081f51d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The "Deploy inbound email worker" job failed at
npm ciwith an ERESOLVEpeer conflict: @cloudflare/workers-types was bumped to v5 (#95) but wrangler
was left at ^4.103.0, whose peerOptional pins workers-types to ^4. npm's
strict peer resolution rejected the v4/v5 mismatch, so the install — and thus
the whole deploy — failed before it began.
completing the pair from the closed chore(deps-dev): bump wrangler from 4.103.0 to 4.113.0 in /workers/inbound-email in the worker-minor-patch group #93. npm resolves wrangler@4.118.0 +
workers-types@5.20260801.1 with no conflicts.
to "4" so the worker is deployed with the same major it's built and typed
against; validated with
wrangler deploy --dry-rununder 4.118.0.Verified locally:
npm ci,npm test(6/6), andtsc --noEmitall pass inworkers/inbound-email.