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

pomerium / pomerium / 45222715607
55%

Build:
DEFAULT BRANCH: main
Ran 23 Nov 2026 05:07PM UTC
Jobs 1
Files 743
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

23 Nov 2026 04:59PM UTC coverage: 55.015% (-0.01%) from 55.028%
45222715607

push

github

web-flow
fix(raft): readiness checks, remove attempted liveness checks (#7066)

## Summary

There has been some rough edges with the clustered mode & health checks.
The intended behaviour was to have both:
- readiness checks: detecting up-to-date sync
- liveness checks: detecting down hosts / network failures

The implementation currently falls short. In the current `pkg/health` it
is hard to untangle readiness & liveness probes, and the current
limitations make it hard to detect when a follower cannot continue due
to a fatal failure that doesn't result in critical failure that exits.

In addition, the previous implementation's attempt to do continuous
readiness checking of config sync is liable to cause issues at scale.

The fix correctly implements the logic for a startup probe, and hence
the readiness probe.

There is incoming work in
[ENG-4497](https://linear.app/pomerium/issue/ENG-4497/refactor-health-check-mechanism)
to address the above functionality of health checking for clustered
mode, but is out of scope for the current `pkg/health` implementation.


## Related issues

https://github.com/pomerium/pomerium/issues/7065

## User Explanation

Fixes situations where health checks & health probes would never succeed
when running databroker in clustered/raft mode.

## AI disclosure

none

## Checklist

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

7 of 8 new or added lines in 1 file covered. (87.5%)

31 existing lines in 6 files now uncovered.

37296 of 67792 relevant lines covered (55.02%)

161.06 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
47.24
-0.01% internal/databroker/server_clustered_follower.go

Coverage Regressions

Lines Coverage ∆ File
9
86.56
0.0% pkg/ssh/manager.go
8
74.65
-2.25% pkg/storage/postgres/backend.go
6
88.95
-3.31% config/config_source.go
5
47.24
-0.01% internal/databroker/server_clustered_follower.go
2
87.79
-0.42% pkg/storage/postgres/postgres.go
1
57.75
0.0% internal/tsrouter/tslistener.go
Jobs
ID Job ID Ran Files Coverage
1 45222715607.1 23 Nov 2026 05:07PM UTC 743
55.02
GitHub Action Run
Source Files on build 45222715607
  • Tree
  • List 743
  • Changed 9
  • Source Changed 1
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #45222715607
  • 0968d110 on github
  • Prev Build on main (#45197194028)
  • Next Build on main (#45239611327)
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