feat(aztec-up): auto-update before install with staleness check#21866
Merged
nchamo merged 1 commit intomerge-train/fairiesfrom Mar 26, 2026
Merged
feat(aztec-up): auto-update before install with staleness check#21866nchamo merged 1 commit intomerge-train/fairiesfrom
nchamo merged 1 commit intomerge-train/fairiesfrom
Conversation
nchamo
commented
Mar 20, 2026
Contributor
Author
IMPORTANT!When we do decide to merge this change, we should prepare to release a new version of the root version ASAP. At the time of writing, the root version is quite old so auto-updating would send users to an old version |
AztecBot
pushed a commit
that referenced
this pull request
Mar 26, 2026
Collaborator
|
✅ Successfully backported to backport-to-v4-next-staging #22075. |
AztecBot
added a commit
that referenced
this pull request
Mar 27, 2026
BEGIN_COMMIT_OVERRIDE fix(aztec-up): always reinstall noirup and foundryup bootstrappers (#21826) fix(aztec-up): show installed version after install (#21822) feat(aztec-up): default install version to latest instead of nightly (backport #21883) (#22076) feat(aztec-up): auto-update before install with staleness check (#21866) cherry-pick: feat(aztec-up): add versioned aliases for multi-major version support (#21817) feat(aztec-up): add versioned aliases for multi-major version support (backport #21817) (#22080) feat(aztec-up): decouple infra assets from toolchain VERSION (backport #22078) (#22079) feat: backport hardcode version into install scripts at release time (#22082) fix(aztec-up): pass VERSION to per-version installer and fix release sed (#22083) END_COMMIT_OVERRIDE
github-merge-queue Bot
pushed a commit
that referenced
this pull request
Mar 27, 2026
BEGIN_COMMIT_OVERRIDE feat(aztec-up): default install version to latest instead of nightly (#21883) fix(aztec-up): always reinstall noirup and foundryup bootstrappers (#21826) fix(aztec-up): show installed version after install (#21822) feat(aztec-up): decouple infra assets from toolchain VERSION (#22078) feat(aztec-up): add versioned aliases for multi-major version support (#21817) feat(aztec-up): auto-update before install with staleness check (#21866) fix(aztec-up): pass VERSION to per-version installer and fix release sed (#22083) feat: asserts that aztec dep version matches cli (#21245) END_COMMIT_OVERRIDE
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.
Why we are doing this
aztec-uphas a self-update command, but we currently don't have any versioning system. We are now introducing an automatic update workflow, similar torustupandbrew.Now, when a user runs
aztec-up install <version>, we will automatically download the latest version ofaztec-upand install it for future use. Similarly to Homebrew, we:AZTEC_NO_AUTO_UPDATEenv varWhat the user sees
During
aztec-up install <version>:aztec-upwas updated: "prints aztec-up has been updated. Changes take effect on next run". and the install proceeds normallyAZTEC_NO_AUTO_UPDATEis set: the check is skipped entirelyFixes F-444
IMPORTANT!
When we do decide to merge this change, we should prepare to release a new version of the root version ASAP. At the time of writing, the root version is quite old so auto-updating would send users to an old version