Skip to content

fix: wait 7 days for the tree-sitter runtime in Renovate - #131

Merged
exKAZUu merged 1 commit into
mainfrom
fix/renovate-tree-sitter-release-age
Nov 22, 2026
Merged

exKAZUu merged 1 commit into
mainfrom
fix/renovate-tree-sitter-release-age

Conversation

@exKAZUu

@exKAZUu exKAZUu commented Nov 22, 2026

Copy link
Copy Markdown
Member

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

  • required: keep Cargo's publish-age gate and add no exemption for our crates in Cargo or Renovate; adopt a new internal crate early only by a manual update.
  • required: @willbooster/web-tree-sitter and willbooster-tree-sitter stay updated together in the tree-sitter group (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.jsonc drops the 0-day rule for the crate and holds @willbooster/web-tree-sitter for 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.

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>
@exKAZUu
exKAZUu merged commit a3407a9 into main Nov 22, 2026
10 checks passed
@exKAZUu
exKAZUu deleted the fix/renovate-tree-sitter-release-age branch November 22, 2026 07:39
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.

1 participant