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

nbari / pg_exporter / 45975989801
91%
main: 91%

Build:
Build:
LAST BUILD BRANCH: develop
DEFAULT BRANCH: main
Ran 27 Nov 2026 09:50AM UTC
Jobs 1
Files 138
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

27 Nov 2026 09:38AM UTC coverage: 90.515% (-0.02%) from 90.539%
45975989801

push

github

nbari
Read databases one by one when one is dropped during the scrape

Reading the catalog statement again was not enough. On a server that drops
databases often, every attempt can lose another database before its size
is read: with the whole test suite creating and dropping databases next to
it, the new churn test still failed in two of six full runs after four
attempts each.

The collector now reads everything in one statement, as before, and when
that fails because a database vanished it reads the list and then each
size separately. A database that is gone by the time its size is asked for
is left out; all others are reported. That costs one round trip per
database, and only on a scrape that overlapped a drop.

The churn test forces its own drops so another test's connection cannot
fail them. Eight complete runs of the suite passed.

90 of 97 new or added lines in 2 files covered. (92.78%)

169 existing lines in 10 files now uncovered.

23333 of 25778 relevant lines covered (90.52%)

1169.97 hits per line

Uncovered Changes

Lines Coverage ∆ File
7
87.59
2.59% src/collectors/database/catalog.rs

Coverage Regressions

Lines Coverage ∆ File
55
93.64
-0.63% src/collectors/statements/pg_statements.rs
43
92.76
0.18% tests/collectors/statements/pg_statements.rs
27
93.42
0.04% src/collectors/util.rs
19
81.69
-0.46% tests/collectors/vacuum/progress.rs
10
87.59
2.59% src/collectors/database/catalog.rs
5
81.43
1.74% tests/support/test_dsn.rs
4
93.72
-0.47% src/collectors/activity/connections.rs
3
99.2
-0.8% tests/collectors/locks/count.rs
2
90.71
-0.19% tests/connection_budget.rs
1
96.21
0.47% tests/collectors/database/catalog.rs
Jobs
ID Job ID Ran Files Coverage
1 45975989801.1 27 Nov 2026 09:50AM UTC 138
90.52
GitHub Action Run
Source Files on build 45975989801
  • Tree
  • List 138
  • Changed 13
  • Source Changed 10
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #45975989801
  • ab41bcf9 on github
  • Prev Build on sandbox (#45968072761)
  • Next Build on sandbox (#45977650789)
  • 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