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

ory / lumen / 23319341590
68%

Build:
DEFAULT BRANCH: main
Ran 19 Mar 2026 10:11PM UTC
Jobs 1
Files 27
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

19 Mar 2026 10:10PM UTC coverage: 69.139% (-2.1%) from 71.22%
23319341590

push

github

aeneasr
fix: make all e2e and unit tests pass

Key fixes:

1. splitOversizedChunks: account for filepath prefix in embed text
   - Checks now use budget = maxChars - (3 + len(filePath) + 1) so the
     full "// path\n" + content text stays within the model's context
   - Passes the tighter budget to splitChunk and createSubChunks

2. createSubChunks: skip header+overlap when it would exceed budget
   - Adds maxChars parameter; only prepends header+overlap lines if the
     total still fits, preventing non-convergent re-splitting cycles
   - Existing tests updated with maxChars=0 (no limit) to preserve behavior

3. index.go: second splitOversizedChunks pass after mergeUndersizedChunks
   - Prevents oversized chunks from surviving after merge expands them

4. Restore MarkdownChunker and re-register .md/.yaml/.json extensions
   - Languages were removed in a prior commit; restored chunker and tests

5. Fix findEffectiveRoot git-root fallback for SkipDir paths
   - Previously always defaulted to gitRoot; now checks pathCrossesSkipDir
   - testdata/ paths (a Go SkipDir convention) now scope to their own dir,
     preventing testdata/sample-project from indexing the entire repo

6. e2e: add TTL sleeps to TestE2E_IncrementalIndex
   - File changes must wait >1s for the freshness TTL to expire before
     re-searching, matching TestE2E_FreshnessTTLSkipsMerkleWalk pattern

7. e2e lang tests: cap LUMEN_MAX_CHUNK_TOKENS=100 for BERT context window
   - all-minilm uses 4x denser tokenisation than the 4-chars/token estimate

8. Update all cupaloy snapshots to reflect new chunk boundaries

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

73 of 78 new or added lines in 5 files covered. (93.59%)

285 existing lines in 4 files now uncovered.

2144 of 3101 relevant lines covered (69.14%)

47.82 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
98.46
-0.98% internal/index/split.go
3
92.11
internal/chunker/markdown.go

Uncovered Existing Lines

Lines Coverage ∆ File
9
6.25
-0.42% cmd/index.go
9
75.8
0.68% internal/index/index.go
31
45.61
10.96% cmd/hook.go
236
53.6
5.05% cmd/stdio.go
Jobs
ID Job ID Ran Files Coverage
1 23319341590.1 19 Mar 2026 10:11PM UTC 27
69.14
GitHub Action Run
Source Files on build 23319341590
  • Tree
  • List 27
  • Changed 6
  • Source Changed 6
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23319341590
  • 57db1eae on github
  • Prev Build on main (#23253525838)
  • Next Build on main (#23319481140)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc