What versions & operating system are you using?
wrangler: 4.96.0
System:
OS: macOS 26.5
CPU: (8) arm64 Apple M1 Pro
Memory: 149.52 MB / 16.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 26.1.0
npm: 11.13.0
pnpm: 11.3.0
bun: 1.3.14
Deno: 2.0.5
Please provide a link to a minimal reproduction
not applicable
Describe the Bug
wrangler versions list is documented as returning the 10 most recent Worker versions, but it returns far more when a Worker has more than 10 deployable versions.
Repro:
- Use a Worker with more than 10 deployable versions.
- Run
npx wrangler versions list.
Expected:
Only the 10 most recent versions are returned.
Actual:
More than 10 versions are returned.
Likely cause:
packages/wrangler/src/versions/list.ts calls fetchDeployableVersions(...), which requests:
/accounts/:account/workers/scripts/:worker/versions?deployable=true
The API spec says deployable=true ignores pagination (not sure why?), so Wrangler needs to enforce the 10-version limit client-side, or the docs/help text should stop promising 10 results.
Please provide any relevant error logs
No response
What versions & operating system are you using?
wrangler: 4.96.0
Please provide a link to a minimal reproduction
not applicable
Describe the Bug
wrangler versions listis documented as returning the 10 most recent Worker versions, but it returns far more when a Worker has more than 10 deployable versions.Repro:
npx wrangler versions list.Expected:
Only the 10 most recent versions are returned.
Actual:
More than 10 versions are returned.
Likely cause:
packages/wrangler/src/versions/list.tscallsfetchDeployableVersions(...), which requests:/accounts/:account/workers/scripts/:worker/versions?deployable=trueThe API spec says
deployable=trueignores pagination (not sure why?), so Wrangler needs to enforce the 10-version limit client-side, or the docs/help text should stop promising 10 results.Please provide any relevant error logs
No response