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

nbari / pg_exporter / 34194148324
90%
main: 90%

Build:
Build:
LAST BUILD BRANCH: develop
DEFAULT BRANCH: main
Ran 08 Sep 2026 06:23AM UTC
Jobs 1
Files 125
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

08 Sep 2026 06:18AM UTC coverage: 89.777% (+0.009%) from 89.768%
34194148324

push

github

nbari
fix: unbreak non-Linux builds and compile FreeBSD in CI

The PSS opt-in in 006acaa added ProcessGroupCollector::memory_source, which
only the Linux sampler reads: FreeBSD samples through sysinfo, which exposes
RSS alone, and unsupported platforms collect nothing. `warnings = "deny"`
promoted the resulting dead_code lint to a hard error, so cargo build failed
outright on every non-Linux target, FreeBSD included.

#[expect(dead_code)], which rustc itself suggests, is wrong here: the
#[cfg(test)] tests do read the field, so --all-targets would trip
unfulfilled_lint_expectations and move the failure to the Linux clippy job.

The Check job now runs cargo check --target x86_64-unknown-freebsd. It
compiles the 12 FreeBSD cfg-gated items — the sysctl CPU reader, the sysinfo
process sampler — that no job had ever compiled, and it reproduces this bug
with the fix reverted. --all-targets is not possible from a Linux host:
dev-dependencies pull aws-lc-sys, which compiles C against a FreeBSD sysroot.

Drop the macOS build and release archives. That job compiled neither
platform's sampler, so it was never covering FreeBSD, and the archives have
no demonstrated users: across 28 releases the darwin tarballs drew 17
downloads against 444 for the Linux packages, none ever on aarch64 and none
of any kind since 0.11.1. Building from source on macOS is unaffected.

19461 of 21677 relevant lines covered (89.78%)

446.49 hits per line

Coverage Regressions

Lines Coverage ∆ File
3
96.47
-0.38% tests/collectors/stat/user_tables.rs
1
96.64
-0.12% src/collectors/statements/pg_statements.rs
Jobs
ID Job ID Ran Files Coverage
1 34194148324.1 08 Sep 2026 06:23AM UTC 125
89.78
GitHub Action Run
Source Files on build 34194148324
  • Tree
  • List 125
  • Changed 5
  • Source Changed 1
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #34194148324
  • 70ed0b05 on github
  • Prev Build on sandbox (#34187786891)
  • Next Build on sandbox (#34208940068)
  • 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