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

codenotary / immudb / 25383378086
85%

Build:
DEFAULT BRANCH: master
Ran 05 May 2026 02:53PM UTC
Jobs 1
Files 311
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

05 May 2026 02:44PM UTC coverage: 85.027% (-0.006%) from 85.033%
25383378086

push

gh-ci

vchaindz
fix(server): tolerate unloaded databases in DatabaseList (#1997)

DatabaseListV2 called CurrentState() unconditionally for every entry,
so a single closed/unloadable DB caused the whole listing to fail with
"already closed" — masking which DB was the problem and breaking
immuadmin/web clients even though create/use on healthy DBs still
worked. Frequently surfaced on S3 backends after a botched upgrade
left one DB unable to reopen.

Skip CurrentState() when the DB is closed (already exposed via the
Loaded field) and log a warning if it errors for a loaded DB instead
of aborting. The unloadable DB now appears in the listing with
Loaded=false, NumTransactions=0, so operators can see and act on it.

Adds TestDatabaseListV2WithUnloadedDatabase as a regression.

16 of 18 new or added lines in 1 file covered. (88.89%)

4 existing lines in 1 file now uncovered.

45175 of 53130 relevant lines covered (85.03%)

126329.75 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
80.36
0.09% pkg/server/server.go

Coverage Regressions

Lines Coverage ∆ File
4
83.65
-0.15% embedded/store/immustore.go
Jobs
ID Job ID Ran Files Coverage
1 25383378086.1 05 May 2026 02:53PM UTC 311
85.03
Source Files on build 25383378086
  • Tree
  • List 311
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 54b23231 on github
  • Prev Build on master (#25372730249)
  • Next Build on master (#25497188798)
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