Skip to content

fix(deps): update module github.com/odvcencio/gotreesitter to v0.42.0#213

Merged
omarluq merged 1 commit into
mainfrom
renovate/github.laiyagushi.com-odvcencio-gotreesitter-0.x
Jul 19, 2026
Merged

fix(deps): update module github.com/odvcencio/gotreesitter to v0.42.0#213
omarluq merged 1 commit into
mainfrom
renovate/github.laiyagushi.com-odvcencio-gotreesitter-0.x

Conversation

@renovate

@renovate renovate Bot commented Jul 18, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
github.com/odvcencio/gotreesitter v0.39.0v0.42.0 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

odvcencio/gotreesitter (github.com/odvcencio/gotreesitter)

v0.42.0: — parser efficiency and representative PGO

Compare Source

v0.42.0 banks the latest authenticated parser-efficiency tranche while preserving 206/206 grammar parity.

Highlights:

  • narrows automatic forest routing to corpus-certified exact and beneficial routes
  • avoids a redundant external-scanner retry ladder for the exact built-in Crystal and Matlab grammars
  • reduces compact-scheduler defer overhead with panic-safe cleanup
  • refreshes the opt-in PGO artifact with deterministic, hash-verified representative inputs
  • carries the accumulated selected-store consumer and instrumentation work recorded in the changelog

Scoped receipts include a 4.19% equal-fixture geomean improvement in compact canonical parse plus public-node materialization, 24.62% and 40.99% aggregate wall-time reductions in the certified Crystal and Matlab retry corpora, and a 4.01% selected-store geomean improvement from the refreshed PGO profile versus the previous profile. The existing production PGO workload remains statistically indistinguishable.

The compact selected-store measurements remain diagnostic and are not presented as public Parser.Parse throughput. See the changelog for exact gates, corpus sizes, oracle relations, and caveats.

v0.41.0

Compare Source

GoTreesitter v0.41.0 banks the accumulated correctness, tooling, and performance work since the v0.40.0 tag.

Highlights:

  • improves the build-tagged, fail-closed compact parser across five exact performance tranches; its latest authenticated clean fresh-full Go receipt is 3.118130x static C by equal-fixture geomean, 3.169740x by suite sum, and 3.185522x on the worst fixture, with zero timed fallback;
  • adds build-time PGO plus forest-path pooling and copy reductions;
  • hardens incremental reuse, deferred compatibility finalization, query ranges and escapes, DFA EOF handling, generated-C metadata, grammar imports, highlights, and query work budgeting;
  • restores complete changelog comparison links for v0.39.0 through v0.41.0.

The compact-parser result remains diagnostic rather than a public Parser.Parse claim. The public fresh materialized production baseline remains documented separately in BENCH.md.

See the v0.41.0 changelog and benchmark receipts for the full support boundaries and authenticated artifact hashes.

v0.40.0

Compare Source

A byte-identical performance release, plus a security guard and an incremental-correctness fix. Every performance change is verified byte-for-byte identical to the C tree-sitter oracle across the 206-grammar parity suite.

Performance

On the forest-path grammars (C#, Bash, CMake) these compound to roughly a 30% wall-clock reduction with ~95% less allocation:

  • Build-time PGO — ~7% wall-clock, broad across all 206 grammars.
  • Forest-index allocation overhaul — the forest alternative index is pooled across parses and per-compare throwaway slices are gone; allocation bytes drop 86–96% and GC-cycle CPU 48–90%.
  • GLR comparator copy elimination — the disambiguation comparator chain takes stack pointers instead of copying a 104-byte value per call (~12 fewer runtime.duffcopy per compare); ~14% wall-clock.
  • Forest reducer pooling — the per-parse forest reducer is pooled; a further ~51% cut in C# parse allocation.

Security

  • Query matcher work budget — the -All quantifier matchers now charge a per-execution work budget, bounding worst-case combinatorial blow-up on adversarial query/source pairs. Surfaced via Cursor.DidExceedMatchLimit, configurable with SetMatchWorkBudget (default 1,000,000).

Fixed

  • Incremental reuse token-boundary bug — incremental parsing no longer reuses a stale subtree when an edit shifts a token boundary that abuts a reused node's right edge. Both the leaf and the non-leaf (wrapped-token) reuse paths now reject reuse on a boundary mismatch, preventing spurious ERROR nodes on common edits such as deleting the whitespace between two identifiers (e.g. Clojure (a b)(ab)). Verified byte-identical to a fresh parse across the C-oracle incremental parity harness.

Known issues (pre-existing, not regressions)

  • Incremental-forest divergence on javascript/jquery.js under the non-default GTS_FOREST_INCR=1 mode.
  • A single-character mid-identifier incremental-delete divergence class on some grammars (JS/TS/TSX/Python), unrelated to the boundary fix; tracked as follow-up.

The v0.39.0 authenticated cross-suite receipt remains the published performance baseline; a re-measured v0.40.0 receipt is pending.

Full changelog: odvcencio/gotreesitter@v0.39.0...v0.40.0


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


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

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

@codecov

codecov Bot commented Jul 18, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.52%. Comparing base (f3c9fcb) to head (f4391d6).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #213   +/-   ##
=======================================
  Coverage   84.52%   84.52%           
=======================================
  Files         311      311           
  Lines       28086    28086           
=======================================
+ Hits        23739    23741    +2     
+ Misses       2997     2995    -2     
  Partials     1350     1350           
Flag Coverage Δ
unittests 84.52% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@renovate renovate Bot changed the title fix(deps): update module github.com/odvcencio/gotreesitter to v0.40.0 fix(deps): update module github.com/odvcencio/gotreesitter to v0.41.0 Jul 18, 2026
@renovate
renovate Bot force-pushed the renovate/github.laiyagushi.com-odvcencio-gotreesitter-0.x branch from 89417f3 to 09db573 Compare July 18, 2026 22:04
@renovate
renovate Bot force-pushed the renovate/github.laiyagushi.com-odvcencio-gotreesitter-0.x branch from 09db573 to f4391d6 Compare July 19, 2026 11:02
@renovate renovate Bot changed the title fix(deps): update module github.com/odvcencio/gotreesitter to v0.41.0 fix(deps): update module github.com/odvcencio/gotreesitter to v0.42.0 Jul 19, 2026
@sonarqubecloud

Copy link
Copy Markdown

@omarluq
omarluq merged commit dc2528e into main Jul 19, 2026
15 checks passed
@omarluq
omarluq deleted the renovate/github.laiyagushi.com-odvcencio-gotreesitter-0.x branch July 19, 2026 17:33
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