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

nbari / pg_exporter / 45679673463
91%
main: 91%

Build:
Build:
LAST BUILD BRANCH: develop
DEFAULT BRANCH: main
Ran 25 Nov 2026 06:59PM UTC
Jobs 1
Files 136
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

25 Nov 2026 06:50PM UTC coverage: 90.362% (-0.03%) from 90.392%
45679673463

push

github

nbari
Make the issue 35 regression test independent of scheduling

The test asserted that a spinner task made progress while the system
collector was collecting. That only holds if the collector is suspended at
least once, and a correct collector is not always: on a busy host its
offloaded /proc reads can finish before the first poll returns, so it
completes without yielding. The test failed in CI on a Dependabot pull
request, and 5 times in 150 here with every core busy.

It now builds a runtime with one worker and one blocking thread and holds
that blocking thread. A collector that offloads has to wait for it, which
yields the worker; the spinner then sees the collection in flight and frees
the thread. A collector that reads inline never needs the thread and never
yields. With the offload replaced by an inline call the test fails every
time; as written it passed 300 of 300 runs under the same load.

37 of 38 new or added lines in 1 file covered. (97.37%)

74 existing lines in 8 files now uncovered.

22613 of 25025 relevant lines covered (90.36%)

661.08 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
98.85
-0.49% tests/collectors/system.rs

Coverage Regressions

Lines Coverage ∆ File
23
92.63
-0.53% src/collectors/system/cpu.rs
17
94.09
0.0% src/collectors/system/process.rs
14
89.66
-0.65% src/collectors/exporter/process.rs
6
91.27
-0.67% src/collectors/system/memory.rs
5
93.26
-1.16% src/collectors/activity/connections.rs
4
90.0
0.0% src/collectors/mod.rs
4
97.19
-0.47% tests/collectors/stat/user_tables.rs
1
96.17
-0.55% src/collectors/index/pg_stat_user_indexes.rs
Jobs
ID Job ID Ran Files Coverage
1 45679673463.1 25 Nov 2026 06:59PM UTC 136
90.36
GitHub Action Run
Source Files on build 45679673463
  • Tree
  • List 136
  • Changed 10
  • Source Changed 6
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #45679673463
  • b785a889 on github
  • Prev Build on sandbox (#45664598994)
  • Next Build on sandbox (#45961735956)
  • 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