Repository navigation
Description
Summary
The Cloudflare wrangler CLI version is hardcoded as bunx [email protected] in three workflow run: lines:
.github/workflows/deploy.yml, jobdeploy, stepDeploy to Cloudflare Workers-bunx [email protected] deploy.github/workflows/preview.yml, jobpreview, stepUpload preview version-bunx [email protected] versions upload --preview-alias "$ALIAS".github/workflows/preview.yml, jobteardown, stepPoint alias at a tombstone version-bunx [email protected] versions upload --assets .tombstone --preview-alias "$ALIAS"
Current version: 4.123.0. Target version: 4.163.0 (latest stable, not a prerelease, published 2026-11-16 - if a newer 4.x patch is out when this is picked up, use that). Release notes: https://github.com/cloudflare/workers-sdk/releases/tag/wrangler%404.163.0
Why it is a win: wrangler is not in package.json, so the bun Dependabot ecosystem never sees it, and a version inside a shell run: line is invisible to the github-actions ecosystem too. The pin is now 40 minor releases behind and will keep falling behind, and every bump means editing the same literal in three places across two files. Making wrangler a devDependencies entry gives one definition that Dependabot's existing weekly bun group bumps on its own.
The bump stays inside the 4.x major, and the only commands used are deploy and versions upload with --preview-alias and --assets. The release notes for the 40 intermediate releases were not read for this audit, so the deprecation check below is left to the implementer.
Principle applied - clean-code: duplication (the same constant defined in several places).
Acceptance Criteria
- Before:
wrangleris absent frompackage.json. After: it is adevDependenciesentry at^4.163.0, resolved inbun.lock, so the existing Dependabotbungroup keeps it current. - Before:
deploy.ymlrunsbunx [email protected] deploy. After: it runs the installed binary with no version literal (bunx wrangler deploy). - Before:
preview.ymljobpreviewrunsbunx [email protected] versions upload .... After: it runs the installed binary with no version literal. - Before:
preview.ymljobteardownrunsbunx [email protected] versions upload --assets .tombstone ...without an install step. After: it has anInstall dependenciesstep (bun install --frozen-lockfile) and runs the installed binary with no version literal. - No
wrangler@<version>literal remains anywhere under.github/workflows/. - Deprecated usages to migrate: check the
wranglerchangelog between 4.123.0 and the target for deprecation notices ondeploy,versions upload,--preview-aliasand--assets, and on thewrangler.jsoncandpreview-router/wrangler.jsonckeys. Migrate any that apply. None were identified in this audit. - A pull request deploys a preview and its close tears it down with the new version (the
Deploy previewandDestroy previewjobs are green). - Existing tests still pass (
bun test,bun run format:check,bun run lint:md,bun run build).
Activity
edenreich commentedon Nov 16, 2026
@infer can you work on this? use /ponytail:ponytail
inference-gateway-maintainer commentedon Nov 16, 2026
Model:
ollama_cloud/glm-5.3-flash· Action:v0.59.9· CLI:v0.262.0· Gateway:v0.67.1· View JobTodos
Pull Request
#1244
✅ Infer Result: Success
Done. PR: #1244 (ready for review)
What changed
package.json:wrangler@^4.163.0added todevDependencies;bun.lockresolves it to[email protected], so the existing weekly Dependabotbungroup now owns future bumps..github/workflows/deploy.yml:Deploy to Cloudflare Workersnow runsbunx wrangler deploy(install step already existed)..github/workflows/preview.yml: jobpreviewrunsbunx wrangler versions upload --preview-alias "$ALIAS"; jobteardowngained its missingInstall dependenciesstep (bun install --frozen-lockfile) and runsbunx wrangler versions upload --assets .tombstone --preview-alias "$ALIAS".wrangler@<version>literal remains anywhere under.github/workflows/.Verification
deploy,versions upload,--preview-alias,--assets, or the keys used inwrangler.jsonc/preview-router/wrangler.jsonc. No migration needed.bun test(12 pass),bun run format:check,bun run lint:md,bun run build- all pass.Deploy previewran the newbun install+bunx wrangler versions upload --preview-aliaspath successfully (42s), plusBuild,Lint,Docs drift,CodeQL.gh project view).Destroy previewruns when the PR closes, so it verifies at merge time rather than in this run.Skipped the deep read of 40 individual release notes in favor of a deprecation-line scan of the whole changelog range, and did not hand-verify the preview URL rendering after deploy. Risk: only that
Destroy previewstill runs at merge time; everything it needs (wrangler binary from the install step) is identical to the greenDeploy previewrun.Model:
ollama_cloud/glm-5.3-flash· Action:v0.59.9· CLI:v0.262.0· Gateway:v0.67.1· Exit Code:0· Duration: 6m 51sTokens: 2,329,718 in · 33,165 out · 2,362,883 total (45 requests)
Tool calls: 69 total · 100% success rate
Traces
Stats
Triggered by edenreich · Infer Action · OSS
inference-gateway-releaser commentedon Nov 17, 2026
🎉 This issue has been resolved in version 0.9.27 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀