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

pomerium / pomerium / 20818861175
46%

Build:
DEFAULT BRANCH: main
Ran 08 Jan 2026 01:49PM UTC
Jobs 1
Files 600
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

08 Jan 2026 01:42PM UTC coverage: 52.978% (+0.007%) from 52.971%
20818861175

push

github

web-flow
core/databroker: remove panics/errors on unknown sync message types (#6034)

## Summary
The databroker has two streaming methods: `Sync` and `SyncLatest`. These
methods return records, options and versions, but some consumers only
need the records and ignore the other types. The way this is done is
with a type switch and in some cases either a panic or an error in the
default case.

We may want to add additional message types in the future, and it would
be safer to simply ignore message types we don't know about (even if we
update the code to handle new message types, older consumers would error
out and that's probably not the behavior we want)

## Related issues
-
[ENG-3284](https://linear.app/pomerium/issue/ENG-3284/enterprise-console-cluster-syncer-crashloop)

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

29603 of 55878 relevant lines covered (52.98%)

127.12 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
92.16
0.98% config/config_source.go
1
75.41
0.0% pkg/storage/postgres/registry.go
2
73.85
-0.77% pkg/ssh/channel.go
2
87.71
-0.47% pkg/storage/postgres/postgres.go
7
77.41
-1.93% pkg/storage/postgres/backend.go
9
87.23
0.0% pkg/ssh/manager.go
Jobs
ID Job ID Ran Files Coverage
1 20818861175.1 08 Jan 2026 01:49PM UTC 600
52.98
GitHub Action Run
Source Files on build 20818861175
  • Tree
  • List 600
  • Changed 12
  • Source Changed 5
  • Coverage Changed 12
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #20818861175
  • 0a9ec0d3 on github
  • Prev Build on main (#20802416424)
  • Next Build on main (#20822749390)
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