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

codenotary / immudb / 28933776347
85%

Build:
DEFAULT BRANCH: master
Ran 08 Jul 2026 10:01AM UTC
Jobs 1
Files 311
Run time 2min
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

08 Jul 2026 09:53AM UTC coverage: 84.973% (+0.003%) from 84.97%
28933776347

push

gh-ci

vchaindz
fix(database): guard nil db in DBManager.CloseAll to avoid shutdown panic

A database whose open failed leaves a db-less ref in the cache: Get() has
allocDB Put() a &dbRef{count: 1}, openDB then fails and Release() only
decrements the count without removing the entry. On shutdown, CloseAll
iterated that ref and called ref.db.Close() on a nil db, panicking with a
nil pointer dereference and truncating the graceful shutdown.

Guard ref.db != nil in CloseAll, mirroring every other close site in the
file (OnEvict, Close, Release). Add a regression test reproducing the
failed-open-then-shutdown path.

Fixes #2108

Signed-off-by: Damien Sauvée <damien.sauvee@recommerce.com>

5 of 7 new or added lines in 1 file covered. (71.43%)

8 existing lines in 3 files now uncovered.

45227 of 53225 relevant lines covered (84.97%)

125983.45 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
94.49
1.18% pkg/database/db_manager.go

Coverage Regressions

Lines Coverage ∆ File
4
83.65
-0.15% embedded/store/immustore.go
2
86.18
0.15% embedded/appendable/multiapp/multi_app.go
2
83.61
-3.28% pkg/server/uuid.go
Jobs
ID Job ID Ran Files Coverage
1 28933776347.1 08 Jul 2026 10:01AM UTC 311
84.97
Source Files on build 28933776347
  • Tree
  • List 311
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • bfa78b34 on github
  • Prev Build on master (#28229644746)
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