mason-org / mason-org/mason.nvim
`check_outdated_packages_on_open` not respected
Nobody has claimed this yet.
- Dominant language
- Lua
- Stars
- 10.5k
- Forks
- 338
- PR merge metrics
- No merged PRs in 30d
Description
I've searched open issues for similar requests
- Yes
I've recently downloaded the latest plugin version of mason.nvim
- Yes
Problem description
The check_outdated_packages_on_open option does not seem to work reliably when set to false.
Expected behavior
When setting check_outdated_packages_on_open = false, updates should never be fetched upon opening :Mason.
Steps to reproduce
Use this lazy.nvim spec:
{
"mason-org/mason.nvim",
lazy = true,
opts = {
ui = {
check_outdated_packages_on_open = false,
height = 0.8,
},
},
},
I don't know what exactly reproduces the issue, as the registry update only happens sometimes, but it definitely happens.
Neovim version (>= 0.10.0)
NVIM v0.11.3
Build type: Release
LuaJIT 2.1.1753364724
Run "nvim -V1 -v" for more info
Operating system/version
Darwin 24.5.0
Healthcheck output
==============================================================================
mason: 4 ⚠️
mason.nvim ~
- ✅ OK mason.nvim version v2.0.1
- ✅ OK PATH: prepend
- ✅ OK Providers:
mason.providers.registry-api
mason.providers.client
- ✅ OK neovim version >= 0.10.0
mason.nvim [Registries] ~
- ✅ OK Registry `github.com/mason-org/mason-registry version: 2025-07-31-hushed-phoenix` is installed.
mason.nvim [Core utils] ~
- ✅ OK unzip: `UnZip 6.00 of 20 April 2009, by Info-ZIP, with modifications by Apple Inc.`
- ✅ OK wget: `GNU Wget 1.25.0, a non-interactive network retriever.`
- ✅ OK curl: `curl 8.7.1 (x86_64-apple-darwin24.0) libcurl/8.7.1 (SecureTransport) LibreSSL/3.3.6 zlib/1.2.12 nghttp2/1.64.0`
- ✅ OK gzip: `Apple gzip 457.120.3`
- ✅ OK tar: `bsdtar 3.5.3 - libarchive 3.7.4 zlib/1.2.12 liblzma/5.4.3 bz2lib/1.0.8 `
- ✅ OK bash: `GNU bash, version 3.2.57(1)-release (arm64-apple-darwin24)`
- ✅ OK sh: `Ok`
mason.nvim [Languages] ~
- ⚠️ WARNING luarocks: not available
- ADVICE:
- spawn: luarocks failed with exit code - and signal -. Could not find executable "luarocks" in PATH.
- ⚠️ WARNING Composer: not available
- ADVICE:
- spawn: composer failed with exit code - and signal -. Could not find executable "composer" in PATH.
- ⚠️ WARNING PHP: not available
- ADVICE:
- spawn: php failed with exit code - and signal -. Could not find executable "php" in PATH.
- ✅ OK Ruby: `ruby 2.6.10p210 (2022-04-12 revision 67958) [universal.arm64e-darwin24]`
- ✅ OK Go: `go version go1.24.5 darwin/arm64`
- ✅ OK cargo: `cargo 1.88.0 (873a06493 2025-05-10)`
- ✅ OK node: `v24.4.1`
- ⚠️ WARNING julia: not available
- ADVICE:
- spawn: julia failed with exit code - and signal -. Could not find executable "julia" in PATH.
- ✅ OK python: `Python 3.13.5`
- ✅ OK RubyGem: `3.0.3.1`
- ✅ OK java: `openjdk version "21.0.8" 2025-07-15 LTS`
- ✅ OK npm: `11.4.2`
- ✅ OK javac: `javac 21.0.8`
- ✅ OK pip: `pip 25.1.1 from /opt/homebrew/lib/python3.13/site-packages/pip (python 3.13)`
- ✅ OK python venv: `Ok`
Screenshots
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how check_outdated_packages_on_open is handled when opening :Mason, using the provided lazy.nvim configuration to reproduce the intermittent registry update. Done means setting the option to false reliably prevents updates from being fetched whenever :Mason opens.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100