Skip to content

fix!: regenerate the Java parser for runtime 14 - #54

Merged
exKAZUu merged 3 commits into
mainfrom
renovate/major-tree-sitter
Oct 24, 2026
Merged

exKAZUu merged 3 commits into
mainfrom
renovate/major-tree-sitter

Conversation

@renovate

@renovate renovate Bot commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

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 carries 0x57420009, so every CI job that loads it fails (Error loading Java parser: Version(1463943177) = 0x57420009 in test-rust, ts_parser_set_language assertion in fuzz). The parser has to be regenerated with the v14 CLI.

Requirements

  • required: Update the WillBooster/tree-sitter runtime (willbooster-tree-sitter crate and @willbooster/web-tree-sitter) to v14.
  • required: Fix CI failures at their root cause instead of applying workarounds.
  • required: For each PR, run review-booster, then complete-pr, then release.
  • chosen: Regenerate with the repository's own script/generate (profile-guided over test/corpus), so the tables use the same training input as before.
  • chosen: Require @willbooster/web-tree-sitter ^14.0.0 instead of Renovate's widened ^13.0.0 || ^14.0.0, because runtime 13 rejects a parser with ABI 0x5742000a.

Customer Summary

The npm package and the Rust crate now require @willbooster/web-tree-sitter / willbooster-tree-sitter 14 or later within major version 14; older runtimes reject the parser. Parse results are unchanged.

Technical Summary

  • src/parser.c and src/tree_sitter/parser.h are regenerated by script/generate with the v14.0.2 CLI (ABI 0x5742000a); src/grammar.json and src/node-types.json are unchanged.
  • package.json keeps Renovate's devDependency 14.0.2 and Cargo.toml/Cargo.lock (willbooster-tree-sitter 14.0.0 / locked 14.0.2), and narrows the peerDependency to ^14.0.0.
  • The ABI number, runtime version, and docs.rs link in README.md and bindings/rust/lib.rs are updated; the README's Rust snippet pins willbooster-tree-sitter-java major 12, which this breaking change releases.

Testing

  • cargo test (unit test and doctest): passed; it failed with Version(1463943177) before regeneration.
  • bun run verify: passed.
  • CI (Test on Linux, macOS arm64 and x64, Test Rust, fuzz): passed.

Notes

BREAKING CHANGE: the parser carries ABI 0x5742000a, so @willbooster/web-tree-sitter and willbooster-tree-sitter 13 and older reject it; consumers must upgrade the runtime to 14.


Renovate description

This PR contains the following updates:

Package Change Age Confidence Type Update
@willbooster/web-tree-sitter (source) ^13.0.0 → ^13.0.0 || ^14.0.0 age confidence peerDependencies major
@willbooster/web-tree-sitter (source) 13.0.0 → 14.0.2 age confidence devDependencies major
tree-sitter (source) 13.0.0 → 14.0.0 age confidence dev-dependencies major

Release Notes

WillBooster/tree-sitter (@​willbooster/web-tree-sitter)

v14.0.2

Compare Source

Bug Fixes

v14.0.1

Compare Source

Bug Fixes

v14.0.0

Compare Source


Configuration

📅 Schedule: (in timezone Asia/Tokyo)

  • Branch creation
    • "after 5am on Saturday"
  • Automerge
    • At any time (no schedule defined)

🚦 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot force-pushed the renovate/major-tree-sitter branch from 31578ea to b78b5c1 Compare October 24, 2026 09:20
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>
@exKAZUu exKAZUu changed the title chore(deps): update tree-sitter to v14 fix!: regenerate the Java parser for runtime 14 Oct 24, 2026
@renovate

renovate Bot commented Oct 24, 2026

Copy link
Copy Markdown
Contributor Author

Edited/Blocked Notification

Renovate 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.

⚠️ Warning: custom changes will be lost.

@exKAZUu exKAZUu self-assigned this Oct 24, 2026
@exKAZUu
exKAZUu merged commit f8196a1 into main Oct 24, 2026
10 checks passed
@exKAZUu
exKAZUu deleted the renovate/major-tree-sitter branch October 24, 2026 15:17
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