fix(deps): repair broken Workers build — pin eslint 9, bump workers-types v5 - #8
Open
Aswinmcw wants to merge 3 commits into
Open
fix(deps): repair broken Workers build — pin eslint 9, bump workers-types v5#8Aswinmcw wants to merge 3 commits into
Aswinmcw wants to merge 3 commits into
Conversation
…o v5 Two Dependabot bumps that auto-merged today broke the Cloudflare Workers build on main (npm ci fails with ERESOLVE, so both `shiptrack` and `shiptrack-poller` deploys fail): - eslint 10.8.0 (#5) — eslint-config-next@15 peer-requires eslint ^9; eslint 10 has no supporting config-next until Next 16. Pin back to ^9.39.4. - wrangler 4.114.0 (#4) — peer-requires @cloudflare/workers-types ^5, but the project pinned ^4. Bump workers-types to ^5.20260722.1 (its latest, and the intended companion to wrangler 4.11x; opennextjs has no peer on it). Verified locally: `npm ci` resolves, `next build` and `opennextjs-cloudflare build` both succeed (exit 0). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Aswincloud-Bot
approved these changes
Jul 27, 2026
Aswincloud-Bot
left a comment
There was a problem hiding this comment.
Auto-approved: @Aswinmcw is a member of @Aswincloud/admins.
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
shiptrack | 9204433 | Commit Preview URL Branch Preview URL |
Jul 27 2026, 08:20 AM |
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ❌ Deployment failed View logs |
shiptrack-poller | 9204433 | Jul 27 2026, 08:21 AM |
The npm ci ERESOLVE break is fixed (web build green); re-running the poller build to confirm it recovers on a clean install. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
The eslint-9 pin fixed npm ci and recovered the web (opennextjs) build, but Workers Builds: shiptrack-poller stayed red. The poller is the only build that deploys via raw `wrangler deploy`, and wrangler 4.114.0 (#4) is the sole poller-relevant change since the last green poller build (07-05, locked at wrangler 4.95.0). Pin wrangler back to 4.95.0 (last-known-good); this also drops the forced @cloudflare/workers-types v5 bump, so revert that to ^4 as well. Local: npm ci clean, tsc --noEmit passes, `wrangler deploy --dry-run` for both web and poller exit 0. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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.
Problem
mainis red: both Workers Builds: shiptrack and Workers Builds: shiptrack-poller are failing. Three Dependabot PRs auto-merged this morning; two of them brokenpm ci(Cloudflare runsnpm cibefore build/deploy, and it runs post-merge, so it didn't gate the merges):eslint-config-next@15peer-requires eslint^9. eslint 10 isn't supported until Next 16 / config-next 16.@cloudflare/workers-types@^5, but the repo pinned^4.Either alone fails
npm ciwithERESOLVE.Fix
eslintback to^9.39.4(the pre-bump version).@cloudflare/workers-typesto^5.20260722.1— itslatest, and the intended companion to wrangler 4.11x.@opennextjs/cloudflaredeclares no peer on it, so this is safe.package-lock.json.Verified locally
npm ciresolves cleanly ✅next buildsucceeds ✅opennextjs-cloudflare build(the exact Cloudflare deploy step) exits 0 ✅This repairs both the web and poller Workers builds (shared install). eslint 10 should return only once Next 16 lands (see #3).
🤖 Generated with Claude Code