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

orneryd / NornicDB / 37215181436
89%

Build:
DEFAULT BRANCH: main
Ran 04 Oct 2026 04:12PM UTC
Jobs 1
Files 680
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

04 Oct 2026 04:00PM UTC coverage: 86.873% (+0.004%) from 86.869%
37215181436

push

github

orneryd
fix(storage): bound every range scan to its prefix (#850)

Badger's reverse iterator ignores IteratorOptions.Prefix, and a forward
iterator without one keeps prefetching past the range: either skipped
every deleted key beyond the range on each Seek and Next, ValidForPrefix
only ending the caller's loop afterwards. DROP DATABASE deletes the
dropped database's numeric-ID MVCC adjacency keys; they sort below the
adjacency prefixes of nodes created later, so each relationship read of
such a node walked all of them, and DETACH DELETE of 100k edgeless
nodes went from 6.4 s to 2,172 s.

Every range scan is now forward with a Prefix bound. The MVCC adjacency
scan meets each edge's versions oldest first and keeps the last one at
or before the read version, returning edges newest first as before.
Lookups that want the greatest keys first (the MVCC record at or before
a version, the temporal-history lookups) go through descendingPrefixKeys:
the range's two lowest keys are found forward and visited by forward
seeks, and the reverse iterator is only advanced above them, so its
read-ahead never leaves the range.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

100 of 100 new or added lines in 7 files covered. (100.0%)

30 existing lines in 13 files now uncovered.

179157 of 206229 relevant lines covered (86.87%)

1.02 hits per line

Coverage Regressions

Lines Coverage ∆ File
7
86.43
-0.58% pkg/server/server.go
3
85.84
-0.1% pkg/cypher/call.go
3
88.34
-1.35% pkg/storage/badger_schema.go
3
90.07
-0.99% pkg/temporal/decay_integration.go
2
80.23
-0.06% pkg/cypher/merge.go
2
94.64
-0.77% pkg/cypher/merge_semantic_validation.go
2
90.13
-0.66% pkg/cypher/optimized_executors.go
2
83.06
3.28% pkg/storage/badger_label_index_backfill.go
2
86.73
0.0% pkg/storage/badger_transaction.go
1
96.39
-0.3% pkg/nornicdb/apoc_storage_adapter.go
1
88.07
-0.13% pkg/nornicdb/search_services.go
1
88.22
-0.22% pkg/search/vector_query_spec.go
1
97.64
-0.26% pkg/temporal/tracker.go
Jobs
ID Job ID Ran Files Coverage
1 37215181436.1 04 Oct 2026 04:12PM UTC 680
86.87
GitHub Action Run
Source Files on build 37215181436
  • Tree
  • List 680
  • Changed 25
  • Source Changed 0
  • Coverage Changed 25
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 0cd0ee86 on github
  • Prev Build on main (#37214728157)
  • Next Build on main (#37215434766)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc