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

pomerium / pomerium / 18175251876
44%

Build:
DEFAULT BRANCH: main
Ran 01 Oct 2025 08:56PM UTC
Jobs 1
Files 572
Run time 2min
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

01 Oct 2025 08:49PM UTC coverage: 53.986% (-0.007%) from 53.993%
18175251876

push

github

web-flow
databroker: update checkpoints for leader (#5866)

## Summary
There were several issues addressed by this PR:

1. We weren't adding the envoy routing or registering the server for the
checkpoint service, so it was always returning `Unimplemented`.
2. The clustered leader would never set a checkpoint. It will now set
the checkpoint after every update and there's a new protobuf field to
indicate that its the leader.
3. The clustered follower would forward `GetCheckpoint` calls to the
leader, but it should always return the local `GetCheckpoint` result.

## Related issues
-
[ENG-2970](https://linear.app/pomerium/issue/ENG-2970/databroker-checkpoint-issues)

## User Explanation

<!-- How would you explain this change to the user? If this
change doesn't create any user-facing changes, you can leave
this blank. If filled out, add the `docs` label -->

## Checklist

- [x] reference any related issues
- [x] updated unit tests
- [x] add appropriate label (`enhancement`, `bug`, `breaking`,
`dependencies`, `ci`)
- [x] ready for review

43 of 106 new or added lines in 7 files covered. (40.57%)

12 existing lines in 5 files now uncovered.

27422 of 50795 relevant lines covered (53.99%)

86.87 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
0.0
0.0% internal/databroker/server_clustered.go
4
0.0
internal/databroker/server.go
57
40.82
-39.18% internal/databroker/server_clustered_leader.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
40.82
-39.18% internal/databroker/server_clustered_leader.go
1
75.41
0.0% pkg/storage/postgres/registry.go
2
94.55
3.64% pkg/fanout/receive.go
4
70.71
-1.06% internal/autocert/manager.go
4
67.11
1.58% internal/databroker/server_clustered_follower.go
Jobs
ID Job ID Ran Files Coverage
1 18175251876.1 01 Oct 2025 08:56PM UTC 572
53.99
GitHub Action Run
Source Files on build 18175251876
  • Tree
  • List 572
  • Changed 12
  • Source Changed 6
  • Coverage Changed 12
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #18175251876
  • 562352cb on github
  • Prev Build on main (#18172620207)
  • Next Build on main (#18181322926)
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