Repository navigation
fix(lookup): propose updates for .nvmrc, .node-version and .terraform-version - #255
Merged
Merged
Conversation
`.nvmrc`, `.node-version` and `.terraform-version` are `Toolchain` dependencies, so the supported-runtime rule gave them the `preserve` default and skipped every candidate: a file pinning the installed runtime never got an update. The rule now applies only to declarations whose scheme can express a range — `engines.node` and `required_version` keep `preserve`; a version file's bare version is an installed pin, proposed like any other. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
count-patchula | fac62e5 | Commit Preview URL Branch Preview URL |
Nov 11 2026, 07:40 AM |
Merged
This was referenced Nov 11, 2026
Merged
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.
Bug 1 from design consult 4.
.nvmrc,.node-versionand.terraform-versionextract asNpm/Terraform+Toolchain. They fell under the supported-runtime rule meant for ranged constraints, which gives apreservedefault and skips every candidate, so version files got no updates by default.guide/versioning.mdpromised that only for ranged constraints.The supported-runtime rule (
supported_runtimeincrates/lookup/src/lib.rs, used by the default ineffective, the candidate loop and the lowest-fix loop) now applies only when the declaration's version scheme can express a range:engines.node(Semver) andrequired_version(Hashicorp) keep today's behaviour.Looseversion, so it is proposed like any installed pin and follows the usualversionsdefault (exact).The split is decided from the scheme, which is what the declaration can say, not from file names.
Behaviour change: repositories with these version files get update PRs for them by default.
Test:
pinned_version_files_get_no_updatebecomesversion_files_update_like_pins, with patch, minor and major proposals for.nvmrcand.terraform-version. The ranged cases stay pinned bya_terraform_toolchain_constraint_proposes_nothingandruntime_support_intervals_are_observed_without_spurious_exact_pins, unchanged.Corpus snapshot: unchanged. The corpus has no version files, and its three ranged toolchain rows are identical.
Docs:
guide/versioning.md(the toolchain split). Renovate updates.nvmrctoo, so this closes a gap and needs no departure note.