Skip to content

feat(deno): add a no_delta option to pass --no-delta to deno upgrade - #2440

Merged
GideonBear merged 2 commits into
topgrade-rs:mainfrom
qodelicious:deno-no-delta-option
Oct 19, 2026
Merged

GideonBear merged 2 commits into
topgrade-rs:mainfrom
qodelicious:deno-no-delta-option

Conversation

@qodelicious

Copy link
Copy Markdown
Contributor

What does this PR do?

Closes #2083. Adds a no_delta option to the [deno] section of the config. When it is true, Topgrade runs deno upgrade --no-delta, so Deno downloads the full binary instead of a delta patch (the delta download can run out of memory on small machines, as described in the issue). It defaults to false, so nothing changes unless it is set, and it combines with the existing version option. The option is documented in config.example.toml.

Tested with a stand-in deno binary in ~/.deno/bin: with no_delta = true the step runs deno upgrade --no-delta; with version = "2.8.2" as well it runs deno upgrade 2.8.2 --no-delta; without the option the command is unchanged. cargo fmt, cargo clippy and cargo test pass.

Standards checklist

  • I have read CONTRIBUTING.md
  • Optional: The PR title is a descriptive commit message (this will appear in release notes, leave unchecked if you want a maintainer to improve it)
  • Optional: I have tested the code myself, with the relevant tools installed. If yes, add Topgrade's output of the relevant steps.
  • If this PR introduces new user-facing messages, they are translated

AI involvement

No AI involvement.

Comment thread config.example.toml Outdated
@GideonBear
GideonBear force-pushed the deno-no-delta-option branch from b1329ba to 2fee62e Compare October 19, 2026 06:13

@GideonBear GideonBear left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@GideonBear
GideonBear merged commit 429611d into topgrade-rs:main Oct 19, 2026
20 checks passed
This was referenced Oct 19, 2026
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.

Add --no-delta flag on deno upgrade

2 participants