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

ory / lumen / 23910341189 / 1
74%
main: 74%

Build:
DEFAULT BRANCH: main
Ran 02 Apr 2026 04:19PM UTC
Files 30
Run time 1s
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

02 Apr 2026 04:17PM UTC coverage: 67.582% (-0.8%) from 68.336%
23910341189.1

push

github

web-flow
fix(index): prevent triple indexing when non-git parent contains git repos (#81)

* fix(index): prevent triple indexing when non-git parent contains git repos

When a non-git parent directory contains independent git subdirectories,
indexing the parent would include all files from nested repos. Then
indexing a sub-repo separately created a duplicate index with the same
files.

This change:
- Skips nested git repo directories during merkle walk when the project
  root is not itself a git repository
- Auto-discovers and indexes each nested git repo separately when
  running `lumen index` on a non-git parent
- Normalizes projectPath to the git repository root in both `cmd/index.go`
  and `cmd/hook.go` so DB paths are consistent

Closes #71

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* fix(test): use git-initialized sample project in CLI E2E tests

The RepoRoot normalization added in 8d4065b resolves subdirectories to
their enclosing git repo root. Since testdata/sample-project has no .git,
it was being resolved to the lumen repo root, causing the CLI tests to
index the entire codebase and exceed the embedding model's context length.

Fix by copying the sample project to a temp dir with `git init` so
RepoRoot resolves to the temp dir itself.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

2610 of 3862 relevant lines covered (67.58%)

46.15 hits per line

Source Files on job 23910341189.1
  • Tree
  • List 30
  • Changed 4
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 23910341189
  • adf4e548 on github
  • Prev Job for on main (#23907152569.1)
  • Next Job for on main (#23913737129.1)
  • 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