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

orneryd / NornicDB / 27860008857
89%

Build:
DEFAULT BRANCH: main
Ran 20 Jun 2026 04:31AM 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 04:19AM UTC coverage: 89.111% (-0.05%) from 89.165%
27860008857

push

github

orneryd
fix(search): make CPU brute-force vector search opt-in

Default vector search now uses HNSW regardless of dataset size by setting
the CPU brute-force threshold default to 0. Operators can opt back into
exact CPU brute-force below a chosen vector count with
NORNICDB_VECTOR_CPU_BRUTE_MAX_N.

Changes:
- Add configurable CPU brute-force threshold with default 0
- Preserve GPU brute-force threshold behavior
- Avoid empty-vector HNSW persistence/warmup work
- Update runtime strategy tests for HNSW-default behavior
- Add coverage for CPU brute-force threshold opt-in
- Document the new strategy selection and per-database config key

Validation:
- go test ./pkg/search -count=1
- go test ./pkg/cypher ./pkg/search -count=1
- go test ./pkg/cypher -run '^TestGraphitiScenarioE2E_ExternalVectorIngestDoesNotUseExactScanFallbackBeforeWarmup$' -count=1

15 of 18 new or added lines in 3 files covered. (83.33%)

148 existing lines in 8 files now uncovered.

141497 of 158788 relevant lines covered (89.11%)

1.04 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
91.71
0.25% pkg/search/vector_pipeline.go
1
81.52
-2.25% pkg/search/search.go

Coverage Regressions

Lines Coverage ∆ File
133
81.52
-2.25% pkg/search/search.go
4
88.43
-0.27% pkg/mcp/server.go
2
89.14
-0.3% pkg/cypher/match_rows.go
2
91.25
-0.15% pkg/nornicdb/search_services.go
2
90.05
0.2% pkg/search/hnsw_index.go
2
95.63
-1.25% pkg/search/vector_index.go
2
86.78
-0.08% pkg/storage/badger_transaction.go
1
95.19
-0.34% pkg/cypher/apoc_community.go
Jobs
ID Job ID Ran Files Coverage
1 27860008857.1 20 Jun 2026 04:31AM UTC 477
89.11
GitHub Action Run
Source Files on build 27860008857
  • Tree
  • List 477
  • Changed 15
  • Source Changed 0
  • Coverage Changed 15
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • a10fe13a on github
  • Prev Build on main (#27859777643)
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