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

pomerium / pomerium / 42950884001
55%

Build:
DEFAULT BRANCH: main
Ran 11 Nov 2026 03:33AM UTC
Jobs 1
Files 738
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

11 Nov 2026 03:09AM UTC coverage: 54.854% (+0.1%) from 54.753%
42950884001

push

github

web-flow
fix(databroker): improve consistency when leadership changes (#6993)

## Summary
In the clustered databroker, use a wait group to wait for any pending
requests when a leadership transition occurs so that requests won't be
forwarded to the wrong server.

## Related issues
- [ENG-4499](cdoxsey/eng-4499-coredatabroker-writes-can-go-through-even)

## 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 -->

## AI disclosure
I wrote the code and test. It was reviewed by Claude Opus 5.5 and a few
lines were added to the test.

## Checklist

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

<!-- devin-review-badge-begin -->

---

<a href="https://app.devin.ai/review/pomerium/pomerium/pull/6993"
target="_blank"><picture><source media="(prefers-color-scheme: dark)"
srcset="https://static.devin.ai/assets/gh-devin-review-dark.svg?v=4"><img
src="https://static.devin.ai/assets/gh-devin-review-light.svg?v=4"
alt="Devin Review"></picture></a>
<!-- devin-review-badge-end -->

27 of 359 new or added lines in 3 files covered. (7.52%)

23 existing lines in 5 files now uncovered.

36861 of 67198 relevant lines covered (54.85%)

340.44 hits per line

Uncovered Changes

Lines Coverage ∆ File
252
21.09
21.09% internal/databroker/server_clustered.go
72
45.21
-3.79% internal/databroker/server_clustered_follower.go
8
0.0
0.0% pkg/grpcutil/stream.go

Coverage Regressions

Lines Coverage ∆ File
10
86.3
-0.26% pkg/ssh/manager.go
6
88.95
-3.31% config/config_source.go
4
45.21
-3.79% internal/databroker/server_clustered_follower.go
2
94.95
-0.92% pkg/netutil/listener_mux.go
1
95.65
2.17% pkg/fanout/receive.go
Jobs
ID Job ID Ran Files Coverage
1 42950884001.1 11 Nov 2026 03:33AM UTC 738
54.85
GitHub Action Run
Source Files on build 42950884001
  • Tree
  • List 738
  • Changed 16
  • Source Changed 3
  • Coverage Changed 16
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #42950884001
  • 7426ab81 on github
  • Prev Build on main (#42950823157)
  • Next Build on main (#43141165266)
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