Repository navigation
fix: wait 7 days for the tree-sitter runtime in Renovate - #131
Merged
Merged
Conversation
Cargo's publish-age gate rejects willbooster-tree-sitter for seven days after its release, so the 0-day rule for the crate only produced failing updates. Hold @willbooster/web-tree-sitter as long instead, keeping the grouped update in step. Co-authored-by: WillBooster (Claude Code) <agent@willbooster.com>
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
Renovate's tree-sitter update fails for the first week after each runtime release: the 0-day rule lets it bump
willbooster-tree-sitter, but Cargo's 7-day publish-age gate (.cargo/config.toml) rejects the new version (version 23.0.4 is too new (published 9 hours ago, minimum age 7 days)). Cargo has no per-crate exemption, and the gate is kept so third-party crates stay age-gated.Requirements
@willbooster/web-tree-sitterandwillbooster-tree-sitterstay updated together in thetree-sittergroup (existing contract of this config).Customer Summary
Renovate proposes tree-sitter runtime updates seven days after a release instead of opening updates that fail.
Technical Summary
renovate.jsoncdrops the 0-day rule for the crate and holds@willbooster/web-tree-sitterfor 7 days, which the shared preset otherwise exempts, so both halves of the group become eligible together. The comment records the manual command for adopting a release sooner.Testing
Validated the resulting config with
renovate-config-validator --strict(Renovate 43). The Renovate behavior itself shows only on its next run.