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

pomerium / pomerium / 39712920246
54%

Build:
DEFAULT BRANCH: main
Ran 22 Oct 2026 03:06AM UTC
Jobs 1
Files 724
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

22 Oct 2026 02:43AM UTC coverage: 53.738% (+0.006%) from 53.732%
39712920246

push

github

web-flow
fix(databroker): don't report a stopped follower as unhealthy (#6878)

## Summary

Stopping a clustered databroker follower could report the
`databroker.cluster` health check as an error. A follower is stopped
whenever the clustered server is rebuilt, for example on a leader change
or a databroker config change. The result depended on which part of the
follower's sync loop noticed the stop first. If the request waiting on
the leader returned first, its gRPC `Canceled` error was reported as a
health failure instead of a normal shutdown. The next server's report
then overwrote it, so cluster health flapped briefly.

A stopped follower now always reports a normal shutdown. Real sync
failures are still reported as errors.

This also fixes the flaky `TestClusteredFollowerServer/sync`. The health
manager replays the last status to a newly registered provider, so that
subtest could start out holding the error left by an earlier subtest's
follower shutdown.

## Related issues

Follow-up to #6831 (ENG-4324).

## User Explanation

None.

## AI disclosure

Claude Code found the cause from the CI failure and wrote the fix and
test; I reviewed.

## Checklist

- [x] reference any related issues
- [x] updated unit tests
- [x] add appropriate label (`bug`)
- [x] disclosed AI usage (or wrote "none") per AI_POLICY.md
- [ ] ready for review

14 of 14 new or added lines in 1 file covered. (100.0%)

13 existing lines in 5 files now uncovered.

35065 of 65252 relevant lines covered (53.74%)

316.5 hits per line

Coverage Regressions

Lines Coverage ∆ File
4
72.61
-1.27% internal/databroker/config_source.go
4
70.32
-0.63% internal/databroker/server_backend.go
3
93.92
-1.66% config/config_source.go
1
79.57
-0.24% pkg/envoy/resource_monitor_linux.go
1
73.21
0.0% pkg/storage/postgres/registry.go
Jobs
ID Job ID Ran Files Coverage
1 39712920246.1 22 Oct 2026 03:06AM UTC 724
53.74
GitHub Action Run
Source Files on build 39712920246
  • Tree
  • List 724
  • Changed 11
  • Source Changed 1
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #39712920246
  • a18c519b on github
  • Prev Build on main (#39712839029)
  • Next Build on main (#39773584002)
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