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

nbari / pg_exporter / 45961735956
91%
main: 91%

Build:
Build:
LAST BUILD BRANCH: develop
DEFAULT BRANCH: main
Ran 27 Nov 2026 08:01AM UTC
Jobs 1
Files 137
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 07:49AM UTC coverage: 90.482% (+0.1%) from 90.362%
45961735956

push

github

nbari
Read the test environment under temp-env's lock

Some CLI unit tests set PG_EXPORTER_DSN to a made-up remote value for a
moment with temp_env, in the same process as the tests that connect to the
database. The new guard could read the variable inside that window and
refuse to run: test_pg_up_recovery failed in every full run of the library
tests. Before the guard the same race only made those tests skip their
database half quietly.

temp_env serialises its changes behind a lock; the guard now reads the
three variables while holding it, so it always sees the real environment.

6 of 7 new or added lines in 1 file covered. (85.71%)

418 existing lines in 16 files now uncovered.

22939 of 25352 relevant lines covered (90.48%)

675.2 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
74.47
tests/support/test_dsn.rs

Coverage Regressions

Lines Coverage ∆ File
91
66.13
1.76% tests/common/mod.rs
75
78.57
2.26% tests/collector_safety.rs
66
83.48
0.03% tests/collectors/replication/replica_topology.rs
42
92.5
0.13% tests/collectors/statements/pg_statements.rs
40
94.35
-0.1% src/collectors/statements/pg_statements.rs
27
93.38
0.04% src/collectors/util.rs
23
82.78
1.02% tests/collectors/vacuum/progress.rs
15
94.44
0.0% src/collectors/stat/user_tables.rs
8
89.66
0.0% src/collectors/exporter/process.rs
8
93.89
0.39% src/exporter/mod.rs
6
94.46
0.58% src/collectors/registry.rs
6
97.46
0.27% tests/collectors/stat/user_tables.rs
4
91.78
-4.52% src/collectors/host_system.rs
3
86.32
-3.16% src/collectors/activity/wait.rs
2
92.86
2.16% src/collectors/exporter/mod.rs
2
98.91
0.06% tests/collectors/system.rs
Jobs
ID Job ID Ran Files Coverage
1 45961735956.1 27 Nov 2026 08:01AM UTC 137
90.48
GitHub Action Run
Source Files on build 45961735956
  • Tree
  • List 137
  • Changed 19
  • Source Changed 16
  • Coverage Changed 18
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #45961735956
  • a7502457 on github
  • Prev Build on sandbox (#45679673463)
  • Next Build on sandbox (#45965191760)
  • 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