Skip to content

ci: pin Wrangler 4.157.0 in docs deploy workflow - #11

Merged
musa-kal merged 1 commit into
mainfrom
ci/pin-wrangler
Nov 13, 2026
Merged

musa-kal merged 1 commit into
mainfrom
ci/pin-wrangler

Conversation

@musa-kal

Copy link
Copy Markdown
Member

Intent

Fix the docs deploy workflow. The first GitHub-triggered deploy failed because cloudflare/wrangler-action@v3 installs Wrangler 3.90, which errors with "Missing entry-point" on an assets-only Worker. Pin wranglerVersion to 4.157.0 (the version the app repo uses). Workflow-only change; nothing in the guide changes.

What Changed

  • .github/workflows/deploy.yml: the cloudflare/wrangler-action step now sets wranglerVersion: '4.157.0'. The action's default Wrangler 3.90 fails with "Missing entry-point" when deploying an assets-only Worker.
  • Added a comment next to the pin explaining it. Guide content is unchanged.

🤖 Generated with Claude Code

Risk Assessment

✅ Low: The change adds one line to the workflow, pinning wranglerVersion '4.157.0' on cloudflare/wrangler-action@v3 (a supported input). It touches only the workflow, as the intent requires, and is compatible with the existing Node 22 setup and the assets-only wrangler.jsonc.

Testing

  • ⏭️ Test - skipped

Pipeline

Updates from git push no-mistakes

✅ **Intent** - passed

✅ No issues found.

✅ **Rebase** - passed

✅ No issues found.

✅ **Review** - passed

✅ No issues found.

⏭️ **Test** - skipped

Step was skipped.

✅ **Document** - passed

✅ No issues found.

✅ **Lint** - passed

✅ No issues found.

✅ **Push** - passed

✅ No issues found.

The wrangler action installs 3.90 when the repo has no wrangler of its own, and 3.90 stops at
"Missing entry-point" on a Worker that only serves static assets.

Co-authored-by: Ferrin <177692050+Ferrin-Y@users.noreply.github.com>
Co-authored-by: noorelmosrati <182049385+noorelmosrati@users.noreply.github.com>
@musa-kal
musa-kal merged commit b917786 into main Nov 13, 2026
2 checks passed
@musa-kal
musa-kal deleted the ci/pin-wrangler branch November 13, 2026 23:10
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