• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

DrRataplan / xq-lsp / 30455340044
93%

Build:
DEFAULT BRANCH: main
Ran 29 Jul 2026 01:18PM UTC
Jobs 1
Files 33
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

29 Jul 2026 01:17PM UTC coverage: 93.275% (-0.01%) from 93.286%
30455340044

push

github

DrRataplan
fix: stop retaining full ASTs for every glob-matched file to prevent OOM

Cross-file features (find-references, rename, call-hierarchy, code-lens
counts) previously parsed and permanently cached a full AST for every file
matched by lsp-config.xq's glob. xq-parser's operator-precedence grammar
wraps even a bare variable reference in ~30 layers of wrapper nodes, so the
retained trees run ~2 orders of magnitude larger than the source text —
enough to OOM the server on a workspace with a few hundred glob-matched
files.

Glob files are now cached forever only as lightweight, ast-free summaries
(functions/variables/imports/namespace decls + text) for cheap candidate
discovery. Cross-file occurrence search pre-filters candidates with a plain
text substring check, then parses the full AST on demand for the (usually
small) subset that survives the filter, discarding it right after instead
of retaining it.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

1456 of 1725 branches covered (84.41%)

Branch coverage included in aggregate %.

64 of 64 new or added lines in 3 files covered. (100.0%)

5424 of 5651 relevant lines covered (95.98%)

319266.46 hits per line

Jobs
ID Job ID Ran Files Coverage
1 30455340044.1 29 Jul 2026 01:18PM UTC 33
93.28
GitHub Action Run
Source Files on build 30455340044
  • Tree
  • List 33
  • Changed 16
  • Source Changed 3
  • Coverage Changed 16
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #30455340044
  • b44460f1 on github
  • Prev Build on main (#30431841363)
  • Next Build on main (#30455418391)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc