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

orneryd / NornicDB / 27887643810
89%

Build:
DEFAULT BRANCH: main
Ran 21 Jun 2026 12:02AM UTC
Jobs 1
Files 477
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

20 Jun 2026 11:51PM UTC coverage: 89.092% (-0.02%) from 89.111%
27887643810

push

github

orneryd
fix(search): stop background vector work after shutdown

Cancel search-service background work and close cached search services during DB
shutdown so HNSW maintenance, deferred rebuilds, and persist timers cannot keep
running after clients disconnect.

Changes:
- Add Service.Close to cancel lifecycle work, stop HNSW maintenance, timers, and vector stores
- Close cached search services from DB shutdown after optional index persistence
- Run HNSW maintenance and strategy transitions on the service lifecycle context
- Add cancellation checks inside HNSW graph traversal and IVF-HNSW persistence
- Make k-means++ centroid initialization respect ClusterWithContext cancellation
- Add regression coverage for stopping HNSW maintenance on Close

104 of 160 new or added lines in 3 files covered. (65.0%)

19 existing lines in 8 files now uncovered.

141589 of 158925 relevant lines covered (89.09%)

1.04 hits per line

Uncovered Changes

Lines Coverage ∆ File
33
81.19
-0.33% pkg/search/search.go
21
88.24
-1.81% pkg/search/hnsw_index.go
2
81.12
-0.03% pkg/nornicdb/db.go

Coverage Regressions

Lines Coverage ∆ File
6
91.67
-0.52% pkg/nornicdb/db_admin.go
3
88.24
-1.81% pkg/search/hnsw_index.go
3
87.44
-1.35% pkg/storage/badger_schema.go
2
90.79
-0.66% pkg/cypher/optimized_executors.go
2
92.13
0.0% pkg/temporal/query_load.go
1
93.67
-0.14% pkg/nornicdb/embed_queue.go
1
91.4
0.15% pkg/nornicdb/search_services.go
1
81.19
-0.33% pkg/search/search.go
Jobs
ID Job ID Ran Files Coverage
1 27887643810.1 21 Jun 2026 12:02AM UTC 477
89.09
GitHub Action Run
Source Files on build 27887643810
  • Tree
  • List 477
  • Changed 15
  • Source Changed 0
  • Coverage Changed 15
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 53b4234b on github
  • Prev Build on main (#27860008857)
  • Next Build on main (#27890936986)
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