Skip to content

fix(desktop-commander): declare a cf dev-server for the versions flow (#13404) - #13443

Merged
dezren39 merged 1 commit into
mainfrom
fix/dc-worker-dev-server-13404
Nov 23, 2026
Merged

dezren39 merged 1 commit into
mainfrom
fix/dc-worker-dev-server-13404

Conversation

@dezren39

@dezren39 dezren39 commented Nov 23, 2026 •

Copy link
Copy Markdown
Member

Fix for the first publish run of the desktop-commander worker (run 45209356283, failed at "Validate Worker build without credentials").

Root cause: the cf CLI refuses workers versions create — including --dry-run — unless the project manifest declares exactly one dev-server (wrangler or @cloudflare/vite-plugin). That declaration is why the atlas worker carries wrangler; #13427 dropped it to dodge an npm peer conflict, which traded the install error for this cf error.

Fix: restore wrangler 4.152.0 as a devDependency and bump @cloudflare/workers-types to ^5.20261019.1, the range wrangler 4.152.0 declares as its peer — resolving the original ERESOLVE at its source.

Verified on the laptop: npm install resolves clean, tests 4/4, tsc --noEmit clean, and node upload-version.mjs --dry-run prints "desktop-commander version is valid; nothing uploaded".

Part of #13404.


Proof this PR
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

The cf CLI refuses `workers versions create` (including --dry-run)
unless the project manifest declares a dev-server — that is why the
atlas worker carries wrangler. The first publish run failed at the
credential-free validation step for exactly this reason. Restore
wrangler 4.152.0 as a devDependency and take @cloudflare/workers-types
^5.20261019.1, the range wrangler 4.152.0 declares as its peer (the
v4 pin is what made npm refuse the install in the first place).

Verified locally: npm install resolves, tests 4/4, typecheck clean,
and `node upload-version.mjs --dry-run` now prints the valid message
instead of the dev-server error.
@coderabbitai

coderabbitai Bot commented Nov 23, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 4 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: f61d0297-4eb8-4e77-84c6-7c096f4f43c1
Commits

Reviewing files that changed from the base of the PR and between d24c19c and 7af8a15.

Files ignored due to path filters: 1

  • pkgs/desktop-commander/worker/package-lock.json is excluded by !**/package-lock.json
Files selected for processing: 1

  • pkgs/desktop-commander/worker/package.json
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-23T16:13:17.529964Z 7af8a15 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

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