docs: document deno upgrade pr (2.8)#3087
Merged
Merged
Conversation
Adds a section to upgrade.md describing the new \`deno upgrade pr\` subcommand which installs the binary built by CI for a specific denoland/deno PR. Covers the basic usage, the \`--output\` and \`--dry-run\` interactions, the artifact-naming scheme, and the gh CLI prerequisite. Refs denoland/deno#33252
fibibot
reviewed
May 17, 2026
Contributor
fibibot
left a comment
There was a problem hiding this comment.
The new deno upgrade pr <number> section matches denoland/deno#33252: the examples use the accepted pr subcommand shape, --output and --dry-run are parsed before pr, and the gh/artifact description matches the implementation. No checks are reported on this head, so holding approval until CI is green.
- nit:
last_modified: 2026-03-05should be bumped for this content addition. - nit:
Numeric prefix is also acceptedis a little off; this example is accepting a#prefix.
fibibot
requested changes
May 17, 2026
Contributor
fibibot
left a comment
There was a problem hiding this comment.
Thanks for documenting this. The command behavior matches denoland/deno#33252 and the current cli/tools/upgrade.rs implementation, but I think this needs one docs-policy fix before merge:
runtime/reference/cli/upgrade.mdhaslast_modified: 2026-03-05unchanged while this PR adds a substantive new section. Repo policy asks substantive content changes to bumplast_modified, so please update it.- While touching it, please also change the comment above
deno upgrade pr '#12345'from "Numeric prefix is also accepted" to something like "A # prefix is also accepted". The parser strips#; it is not a numeric prefix.\n\nI did not find a factual issue with thedeno upgrade prbehavior itself.
d8dd14e to
559ad2b
Compare
bartlomieju
approved these changes
May 20, 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.
Summary
Documents the new
deno upgrade pr <number>subcommand shipping in Deno 2.8 (denoland/deno#33252). It downloads the binary built by CI for a given denoland/deno PR via theghCLI and installs it, optionally to a path with--output.runtime/reference/cli/upgrade.md.ghCLI prerequisite,#-prefix tolerance, the--output/--dry-runinteractions, and the{profile}-{os}-{arch}-denoartifact-naming scheme.Test plan
deno task serve— section renders.