Repository navigation
fix!: regenerate the Java parser for runtime 14 - #54
Merged
Merged
Conversation
renovate
Bot
force-pushed
the
renovate/major-tree-sitter
branch
from
October 24, 2026 09:20
31578ea to
b78b5c1
Compare
Runtime 14 accepts only ABI 0x5742000a, so the parser is regenerated with the v14 CLI and the peer dependency requires major version 14. Co-authored-by: WillBooster (Claude Code) <agent@willbooster.com>
Contributor
Author
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
…into renovate/major-tree-sitter
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
WillBooster/tree-sitter v14.0.0 bumps the language ABI to
0x5742000a(opaque scanner checkpoints), and its runtime accepts only that ABI. The checked-in parser still carries0x57420009, so every CI job that loads it fails (Error loading Java parser: Version(1463943177)=0x57420009intest-rust,ts_parser_set_languageassertion infuzz). The parser has to be regenerated with the v14 CLI.Requirements
willbooster-tree-sittercrate and@willbooster/web-tree-sitter) to v14.script/generate(profile-guided overtest/corpus), so the tables use the same training input as before.@willbooster/web-tree-sitter^14.0.0instead of Renovate's widened^13.0.0 || ^14.0.0, because runtime 13 rejects a parser with ABI0x5742000a.Customer Summary
The npm package and the Rust crate now require
@willbooster/web-tree-sitter/willbooster-tree-sitter14 or later within major version 14; older runtimes reject the parser. Parse results are unchanged.Technical Summary
src/parser.candsrc/tree_sitter/parser.hare regenerated byscript/generatewith the v14.0.2 CLI (ABI0x5742000a);src/grammar.jsonandsrc/node-types.jsonare unchanged.package.jsonkeeps Renovate's devDependency14.0.2andCargo.toml/Cargo.lock(willbooster-tree-sitter14.0.0 / locked 14.0.2), and narrows the peerDependency to^14.0.0.README.mdandbindings/rust/lib.rsare updated; the README's Rust snippet pinswillbooster-tree-sitter-javamajor 12, which this breaking change releases.Testing
cargo test(unit test and doctest): passed; it failed withVersion(1463943177)before regeneration.bun run verify: passed.Notes
BREAKING CHANGE: the parser carries ABI
0x5742000a, so@willbooster/web-tree-sitterandwillbooster-tree-sitter13 and older reject it; consumers must upgrade the runtime to 14.Renovate description
This PR contains the following updates:
^13.0.0→^13.0.0 || ^14.0.013.0.0→14.0.213.0.0→14.0.0Release Notes
WillBooster/tree-sitter (@willbooster/web-tree-sitter)
v14.0.2Compare Source
Bug Fixes
v14.0.1Compare Source
Bug Fixes
v14.0.0Compare Source
Configuration
📅 Schedule: (in timezone Asia/Tokyo)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.