Skip to content

feat(avm): add avm self-update command and passive version-check warning#4338

Merged
tiago18c merged 5 commits into
otter-sec:masterfrom
tiago18c:feat-avm-update-cmd
Mar 19, 2026
Merged

feat(avm): add avm self-update command and passive version-check warning#4338
tiago18c merged 5 commits into
otter-sec:masterfrom
tiago18c:feat-avm-update-cmd

Conversation

@tiago18c

Copy link
Copy Markdown
Collaborator
  • avm self-update updates avm itself via cargo install --git; supports --pre-release (latest pre-release tag) and --bleeding-edge (master branch)
  • On every command invocation, checks if a newer avm version is available and warns the user
  • Update check uses a 3-second timeout and a 1-hour cache ($AVM_HOME/.update-check) to avoid blocking the CLI for too long and too often
  • Errors during the check are persisted so retries are suppressed within the cache window, with a countdown shown to the user

@vercel

vercel Bot commented Mar 19, 2026

Copy link
Copy Markdown

@tiago18c is attempting to deploy a commit to the Solana Foundation Team on Vercel.

A member of the Team first needs to authorize it.

Comment thread avm/src/lib.rs Outdated
Comment thread avm/src/lib.rs
@tiago18c tiago18c requested a review from jamie-osec March 19, 2026 17:31
@tiago18c tiago18c merged commit 675a5f2 into otter-sec:master Mar 19, 2026
117 of 120 checks passed
Otter-0x4ka5h pushed a commit to Otter-0x4ka5h/anchor that referenced this pull request Mar 25, 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.

3 participants