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

ory / lumen / 23654796054
68%

Build:
DEFAULT BRANCH: main
Ran 27 Mar 2026 03:48PM 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

27 Mar 2026 03:46PM UTC coverage: 67.946% (+0.1%) from 67.801%
23654796054

push

github

web-flow
fix: reindex stability — sentinel resume, donor safety, worktree subdirs, progress bar (#67)

* docs: add spec for non-blocking semantic_search with partial results

When reindexing takes longer than 15s, semantic_search returns stale
results with a warning instead of blocking the agent indefinitely.

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

* docs: address spec review feedback for non-blocking search

- Buffered done channel (cap 1) to prevent goroutine leak on timeout
- Goroutine calls touchChecked on success for correct TTL behavior
- Nil progress func in goroutine (request ctx may be gone)
- Log errors from background EnsureFresh at Warn level
- sync.WaitGroup for graceful shutdown in Close()

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

* docs: add implementation plan for non-blocking semantic_search

7-task plan with TDD approach: struct changes, WaitGroup, timeout
goroutine, formatSearchResults, and tests including a test hook
(ensureFreshFunc) to exercise the 15s timeout path.

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

* refactor(cmd): add StaleWarning field and WaitGroup to indexerCache

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

* feat(cmd): Close() waits for background reindex goroutines

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

* feat(cmd): non-blocking ensureIndexed with 15s timeout and background reindex

EnsureFresh now runs in a goroutine. If it completes within 15s, results
are returned normally. If it exceeds the timeout, stale results are
returned immediately with a StaleWarning while reindexing continues in
the background (up to 10min). The goroutine acquires an exclusive flock
to avoid concurrent writes.

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

* style(cmd): use WaitGroup.Go instead of manual Add/Done pattern

Go 1.25+ provides wg.Go() which simplifies goroutine tra... (continued)

54 of 73 new or added lines in 5 files covered. (73.97%)

1 existing line in 1 file now uncovered.

2531 of 3725 relevant lines covered (67.95%)

44.04 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
79.31
-0.94% internal/tui/progress.go
3
77.05
3.36% internal/config/seed.go
5
68.49
-0.95% internal/store/store.go
9
68.66
0.88% internal/index/index.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
77.05
3.36% internal/config/seed.go
Jobs
ID Job ID Ran Files Coverage
1 23654796054.1 27 Mar 2026 03:48PM UTC 30
67.95
GitHub Action Run
Source Files on build 23654796054
  • Tree
  • List 30
  • Changed 5
  • Source Changed 5
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23654796054
  • 07782d63 on github
  • Prev Build on main (#23479678375)
  • Next Build on main (#23654879994)
  • 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