You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Provider update ignores npm's min-release-age and fails silently #21422
I searched existing issues and did not find a duplicate.
I included enough detail to reproduce or investigate the problem.
Area
apps/server
Steps to reproduce
Set min-release-age=3 in ~/.npmrc
Install a provider CLI globally (npm, Vite+, bun, pnpm, …) and wait for a release younger than that policy
T3 advertises an update using the registry's latest tag and offers …@latest
Press Update
Expected behavior
T3 either installs the version it advertises, or does not advertise a version the package manager will refuse yet.
Actual behavior
latestVersion comes from registry.npmjs.org/<pkg>/latest (fetchNpmLatestVersion in packages/provider-core/src/server/maintenanceResolver.ts) with no release-age check, while the install command resolves @latest under the user's min-release-age. The update reports success, the version does not change, the prompt returns, and nothing tells the user the policy blocked the release.
Reproduced with opencode-ai 1.19.1 → 1.19.3 (published 2 days earlier):
$ vp i -g opencode-ai
info: Installing 1 global package with Node.js 24.22.0
+ Installed opencode-ai 1.19.1 # npm latest is 1.19.3
Same root cause as #14249 for pnpm's minimumReleaseAge; #19855 is the ACP-registry counterpart. makeTargetedProviderUpdateAction already pins exact versions for the npm-global: and vite-plus-global lockKeys, so pinning the advertised version, or resolving latestVersion under the same policy, fixes it.
Impact
Minor bug or occasional failure
Version or commit
0.1.1-nightly.20261018.3335
Environment
macOS (Darwin 27.2), T3 Code Nightly desktop, Node 24.22.0, npm 11.19.1 via Vite+ 1.1.0
Closing as a duplicate of #14249. The root cause is the same. The advertised version comes from the registry latest tag, while the default update runs <package>@latest, which the package manager resolves under its release-age policy. That applies to npm and Vite+ (min-release-age) as well as pnpm (minimumReleaseAge), so #14249 covers this too.
Two corrections from main:
The default Update button runs @latest. Exact-version installs through makeTargetedProviderUpdateAction are only used when a specific recommended version is requested, not for a normal update.
The update is not silent. After the install, T3 re-checks the provider version. If it is still behind, the result is "unchanged" with "Update command completed, but T3 Code still detects an outdated provider version." rather than success.
Your npm and Vite+ details are useful context for #14249.
Activity
juliusmarminge commentedon Oct 19, 2026
Note
Grok responding on behalf of Julius.
Closing as a duplicate of #14249. The root cause is the same. The advertised version comes from the registry
latesttag, while the default update runs<package>@latest, which the package manager resolves under its release-age policy. That applies to npm and Vite+ (min-release-age) as well as pnpm (minimumReleaseAge), so #14249 covers this too.Two corrections from main:
@latest. Exact-version installs throughmakeTargetedProviderUpdateActionare only used when a specific recommended version is requested, not for a normal update.Your npm and Vite+ details are useful context for #14249.