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

nbari / pg_exporter / 18918490764
83%
main: 84%

Build:
Build:
LAST BUILD BRANCH: sandbox
DEFAULT BRANCH: main
Ran 29 Oct 2025 06:39PM UTC
Jobs 1
Files 76
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

29 Oct 2025 06:31PM UTC coverage: 79.861% (+0.2%) from 79.638%
18918490764

push

github

nbari
Fix dispatch test failing in CI

The test was checking global excluded_databases state, which is
empty in CI (no PG_EXPORTER_EXCLUDE_DATABASES env var).

The test now focuses on what it should actually test:
  - Port is correctly parsed
  - DSN is correctly parsed
  - Collectors are correctly enabled

Removed flaky assertion that depended on global state that varies
between local (with .envrc) and CI (without env vars).

All 6 dispatch tests now pass in both environments.

6 of 9 new or added lines in 1 file covered. (66.67%)

82 existing lines in 3 files now uncovered.

7725 of 9673 relevant lines covered (79.86%)

41.32 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
88.54
7.46% tests/dispatch.rs

Uncovered Existing Lines

Lines Coverage ∆ File
6
88.54
7.46% tests/dispatch.rs
11
89.13
-1.57% tests/exporter.rs
65
77.35
-2.7% src/cli/commands/mod.rs
Jobs
ID Job ID Ran Files Coverage
1 18918490764.1 29 Oct 2025 06:39PM UTC 76
79.86
GitHub Action Run
Source Files on build 18918490764
  • Tree
  • List 76
  • Changed 5
  • Source Changed 3
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #18918490764
  • bef37114 on github
  • Prev Build on develop (#18917687396)
  • Next Build on develop (#18918712277)
  • Delete
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