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

nbari / dbpulse / 33529337874
74%
main: 74%

Build:
Build:
LAST BUILD BRANCH: sandbox
DEFAULT BRANCH: main
Ran 01 Sep 2026 04:06PM 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 04:01PM UTC coverage: 72.837% (+4.1%) from 68.77%
33529337874

push

github

nbari
0.10.0

Harden the monitoring loop against the failure modes dbpulse exists to
detect, update dependencies, and fix the DSN path that silently disabled
TLS.

A wedged database that accepts TCP and then goes silent used to stall the
loop indefinitely: no iteration, no error metric, no output. Checks are
now bounded by a client-side deadline. Compounding it, metrics are
LazyLock and so were absent from /metrics rather than 0 until a check
completed, meaning `dbpulse_pulse == 0` alerts never fired; every metric
and its label children are registered at startup. A check that overran
its interval also skipped its sleep entirely and hammered the database at
~25 iterations/second exactly when it was already struggling.

An unparseable or MySQL-spelled sslmode fell through to TlsMode::Disable,
so an operator asking for verified TLS silently got plaintext. Parsing
now fails closed. The certificate probe verifies under verify-ca and
verify-full, matching what the driver enforces rather than being stricter
than it, and sizes its budget against what is left of the check deadline.

Concurrency on the shared table no longer looks like a fault: a drop
landing mid-check recreates and retries, and another instance overwriting
the read/write row is distinguished from a lost write.

PostgreSQL replication lag compares LSNs instead of clocks, so a synced
standby no longer appears to drift behind an idle primary. Gauges that
stop being updated go absent instead of freezing at their last value.

sqlx 0.9 required auditing all 28 dynamic SQL call sites; dependency
count dropped from 303 to 258 and cargo-audit is clean. Adds a security
policy, a daily cargo-audit/cargo-deny workflow, and aarch64 RPM and DEB
packages built on a native arm64 runner.

Breaking: dbpulse_replication_lag_seconds is a Gauge, not a Histogram;
dbpulse_blocking_queries is renamed dbpulse_blocked_sessions; read-only
state moved out of the version label into read_only/read_only_reason; and
--interval 0 a... (continued)

1176 of 1529 new or added lines in 16 files covered. (76.91%)

8 existing lines in 3 files now uncovered.

4722 of 6483 relevant lines covered (72.84%)

151.52 hits per line

Uncovered Changes

Lines Coverage ∆ File
70
0.0
0.0% tests/mariadb_tls_test.rs
70
0.0
0.0% tests/postgres_tls_test.rs
58
79.89
-12.32% src/metrics.rs
54
76.88
0.15% src/queries/mysql.rs
47
70.18
2.1% src/queries/postgres.rs
21
80.05
-0.63% src/tls/probe.rs
20
84.65
15.91% src/pulse.rs
3
85.51
47.69% src/tls/verifier.rs
3
78.61
2.73% tests/mariadb_test.rs
3
79.88
2.37% tests/postgres_test.rs
3
97.17
tests/timeout_regression_test.rs
1
98.25
1.82% src/tls/config.rs

Coverage Regressions

Lines Coverage ∆ File
4
70.18
2.1% src/queries/postgres.rs
3
76.88
0.15% src/queries/mysql.rs
1
84.65
15.91% src/pulse.rs
Jobs
ID Job ID Ran Files Coverage
1 33529337874.1 01 Sep 2026 04:06PM UTC 25
72.84
GitHub Action Run
Source Files on build 33529337874
  • Tree
  • List 25
  • Changed 17
  • Source Changed 17
  • Coverage Changed 16
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #33529337874
  • efa23479 on github
  • Prev Build on develop (#24604516590)
  • Next Build on sandbox (#33532496171)
  • 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