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

codenotary / immudb / 25055790955
85%

Build:
DEFAULT BRANCH: master
Ran 28 Apr 2026 01:38PM UTC
Jobs 1
Files 310
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

28 Apr 2026 01:30PM UTC coverage: 85.246% (-0.05%) from 85.293%
25055790955

push

gh-ci

vchaindz
feat(auditor): add opt-in --audit-verify-values for on-disk value integrity

Previously, immuclient audit-mode only verified the cryptographic
chain-of-custody (state-root chain via VerifyDualProof) and never re-read
entry values. As a result, hex-editing a .val file after commit was not
detected by audit-mode, even though `get`/`safeget` correctly flagged the
tampering at read time (issue #2091).

audit-mode and on-disk value integrity are different threat models, so
fixing audit-mode in place would conflate them and slow the default audit
significantly. Instead, this change adds a new opt-in flag.

When --audit-verify-values is set, after each successful chain check the
auditor calls TxById with EntriesSpec.RAW_VALUE for each tx committed
since the last audited state. Server-side this routes through
db.serializeTx -> store.ReadValue -> readValueAt, which computes
sha256 over each value read from disk and compares it to the committed
hash. Any mismatch surfaces as ErrCorruptedData and the audit cycle is
marked failed.

Default behavior (flag unset) is unchanged.

Closes #2091

21 of 39 new or added lines in 1 file covered. (53.85%)

10 existing lines in 2 files now uncovered.

44609 of 52330 relevant lines covered (85.25%)

127829.27 hits per line

Uncovered Changes

Lines Coverage ∆ File
18
82.58
-4.64% pkg/client/auditor/auditor.go

Coverage Regressions

Lines Coverage ∆ File
6
83.64
-0.22% embedded/store/immustore.go
4
85.96
-0.86% embedded/sql/row_reader.go
Jobs
ID Job ID Ran Files Coverage
1 25055790955.1 28 Apr 2026 01:38PM UTC 310
85.25
Source Files on build 25055790955
  • Tree
  • List 310
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 54422f48 on github
  • Prev Build on master (#25054545323)
  • Next Build on master (#25120451743)
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