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

nbari / dbpulse / 33516576197
74%
main: 74%

Build:
Build:
LAST BUILD BRANCH: sandbox
DEFAULT BRANCH: main
Ran 01 Sep 2026 02:02PM UTC
Jobs 1
Files 25
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

01 Sep 2026 01:57PM UTC coverage: 73.377% (+0.5%) from 72.919%
33516576197

push

github

nbari
Stop reporting a concurrent dbpulse instance as data corruption

The read/write check compared the read-back row for exact equality, so a second
instance overwriting the shared row produced "Records don't match" -- worded and
classified identically to the database losing a write. Instances share one
table and --range does not partition the ID space, since every range starts at
zero, so two monitors eventually choose the same row and the false alarm was
guaranteed rather than hypothetical.

The read-back is now classified. A row carrying a timestamp at or after the one
written is a later writer, which is expected on a shared table: it is counted on
the new dbpulse_rw_row_contention_total{database} and the check continues. A row
carrying an older timestamp is still a hard failure, because no concurrent
writer can explain it -- that is the lost or stale write the check exists to
catch, and it stays caught.

The counter is worth exporting rather than ignoring: a high rate means --range
is too small for the number of instances, and any nonzero value on a
single-instance deployment means something other than dbpulse is writing to the
table.

Gate: fmt, clippy -D warnings, 167 unit tests, test-tls (PG 9, MariaDB 10),
test-integration (PG 15, MariaDB 15), test-failover (PG 1, MariaDB 1).

32 of 61 new or added lines in 4 files covered. (52.46%)

4757 of 6483 relevant lines covered (73.38%)

298.88 hits per line

Uncovered Changes

Lines Coverage ∆ File
10
80.45
3.14% src/queries/mysql.rs
10
73.49
2.31% src/queries/postgres.rs
9
79.89
-1.98% src/metrics.rs
Jobs
ID Job ID Ran Files Coverage
1 33516576197.1 01 Sep 2026 02:02PM UTC 25
73.38
GitHub Action Run
Source Files on build 33516576197
  • Tree
  • List 25
  • Changed 4
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #33516576197
  • 1cb254c5 on github
  • Prev Build on sandbox (#33516048271)
  • Next Build on sandbox (#33516737043)
  • Delete
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