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

ory / lumen / 23910341189
69%

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

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

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>

33 of 90 new or added lines in 4 files covered. (36.67%)

2610 of 3862 relevant lines covered (67.58%)

46.15 hits per line

Uncovered Changes

Lines Coverage ∆ File
53
7.25
-2.75% cmd/index.go
4
80.0
1.25% internal/git/worktree.go
Jobs
ID Job ID Ran Files Coverage
1 23910341189.1 02 Apr 2026 04:19PM UTC 30
67.58
GitHub Action Run
Source Files on build 23910341189
  • Tree
  • List 30
  • Changed 4
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23910341189
  • adf4e548 on github
  • Prev Build on main (#23907152569)
  • Next Build on main (#23913737129)
  • 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