clarify historical Worker code retrieval on Versions & deployments pa… - #32270
Closed
dpiteira95 wants to merge 2 commits into
Closed
clarify historical Worker code retrieval on Versions & deployments pa…#32270dpiteira95 wants to merge 2 commits into
dpiteira95 wants to merge 2 commits into
Conversation
…ge.mdx Users frequently need to audit or retrieve the code from a previous Worker deployment, for example during a security investigation. The current Versions & deployments page implies that the dashboard andWrangler provide full visibility into historical deployments, but neither exposes the actual code of a previous deployment. This change: - Clarifies that Wrangler's `deployments list` and `versions list` commands return metadata only . - Clarifies that the dashboard Deployments tab shows deployment history and IDs, but not the code of previous deployments. - Adds a "Retrieve code from a previous deployment" subsection with the Cloudflare API call that can be used to fetch a specific deployment's bundled code. This helps customers understand the correct workflow and avoids the assumption that historical code can be retrieved through Wrangler or the dashboard alone.
dpiteira95
requested review from
a team,
GregBrimble,
MattieTK,
WalshyDev,
irvinebroque,
korinne and
vy-ton
as code owners
July 23, 2026 10:17
Contributor
Review
👉 Fix in your agent 👈Fix the following review findings in PR #32270 (https://github.com/cloudflare/cloudflare-docs/pull/32270).
Before making changes, review each finding and present a brief summary table:
- For each finding, state whether you agree, disagree, or need clarification
- If you disagree (e.g. the fix requires disproportionate effort for minimal benefit,
or the finding is factually incorrect), explain why
- If you need clarification before deciding, ask those questions
- Then share your plan for which issues to tackle and in what order
After triaging, follow this order:
1. Post a comment on this PR for any findings you are skipping, with the finding ID and your reasoning.
2. Then commit the fixes for the legitimate findings.
The comment must come before the commit — the bot reads PR comments when a new
push triggers a review, so skip comments posted after the push will be missed.
---
## Code Review
### Warnings (1)
#### CR-5578f52166cb · Incorrect factual claim
- **File:** `src/content/docs/workers/versions-and-deployments/index.mdx` line 44
- **Issue:** The added sentence says Wrangler "allows you to view the 100 most recent versions and deployments," but the page it links to (`/workers/wrangler/commands/workers/#versions-list`) documents `versions list` as "Retrieve details for the 10 most recent versions." The "100 most recent" figure elsewhere in the docs (rollbacks.mdx) refers to the rollback/promotion limit, not to what `wrangler versions list` / `wrangler deployments list` display, so the claim is inaccurate and contradicts the linked reference.
- **Fix:** Reword to match the linked command docs, e.g. "Wrangler allows you to view the 10 most recent versions and deployments via `wrangler versions list` and `wrangler deployments list`." If a higher limit is intended, state it per command and update the linked `versions list` description to match.
Code ReviewThis code review is in beta and may not always be helpful — use your judgment. Warnings (1)
ConventionsNo convention issues found. Style Guide ReviewNo style-guide issues found. CommandsOnly codeowners can run commands. Post a comment with the command to trigger it.
|
Contributor
|
Hey there, we've marked this pull request as stale because there's no recent activity on it. This label helps us identify PRs that might need updates (or to be closed out by our team if no longer relevant). |
irvinebroque
approved these changes
Sep 5, 2026
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.
…ge.mdx
Users frequently need to audit or retrieve the code from a previous Worker deployment, for example during a security investigation. The current Versions & deployments page implies that the dashboard andWrangler provide full visibility into historical deployments, but neither exposes the actual code of a previous deployment.
This change:
deployments listandversions listcommands return metadata only .This helps customers understand the correct workflow and avoids the assumption that historical code can be retrieved through Wrangler or the dashboard alone.