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

supabase / supavisor / 29116267483
77%

Build:
DEFAULT BRANCH: main
Ran 10 Jul 2026 07:03PM UTC
Jobs 2
Files 130
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

10 Jul 2026 06:55PM UTC coverage: 77.132% (-0.06%) from 77.19%
29116267483

push

github

web-flow
test(monitoring): fix flaky disk metrics emission test (#1078)

execute_disk_metrics/0's test asserted that drained disk events had
unique mountpoints. But the PromEx OsMon poller runs during tests
(metrics_disabled is false, prom_poll_rate 500ms) and emits the same
[:prom_ex, :plugin, :osmon, :disk] event on its own timer. When a poll
tick lands in the test window, drain_events collects a second round of
mountpoints and the uniqueness assertion fails intermittently.

Assert coverage instead of uniqueness: our explicit call emits one event
per mountpoint (so expected is a subset of received deterministically),
and extra poller rounds only add duplicates the subset check tolerates.

## What kind of change does this PR introduce?

make test less fragile

## What is the current behavior?

test can fail due to race condition

## What is the new behavior?

let it race, don't fail it

## Additional context

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>

2641 of 3424 relevant lines covered (77.13%)

54092.71 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
78.03
0.0% lib/supavisor.ex
1
88.54
-1.04% lib/supavisor/monitoring/prom_ex.ex
1
86.84
-2.63% lib/supavisor/monitoring/tenant.ex
Jobs
ID Job ID Ran Files Coverage
1 run-tests - 29116267483.1 10 Jul 2026 07:04PM UTC 130
75.67
GitHub Action Run
2 run-integration - 29116267483.2 10 Jul 2026 07:03PM UTC 130
42.03
GitHub Action Run
Source Files on build 29116267483
  • Tree
  • List 130
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29116267483
  • 3dca3aa0 on github
  • Prev Build on main (#29096840847)
  • Next Build on main (#29266297276)
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