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

pomerium / pomerium / 16732330868 / 1
52%
main: 52%

Build:
DEFAULT BRANCH: main
Ran 04 Aug 2025 07:33PM UTC
Files 525
Run time 200min
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

04 Aug 2025 07:27PM UTC coverage: 51.998% (-0.08%) from 52.073%
16732330868.1

push

github

web-flow
core: use iterators for databroker sync and sync latest (#5742)

## Summary
Refactor the databroker storage interface to use an
`iter.Seq2[*databroker.Record,error]` instead of a `RecordStream`. The
original implementation for the storage backend was written before
iterators existed in Go and we can use the standard pattern now.

I also updated the postgres methods to return lists of records
consistently, and used a much smaller batch size. (Previously only a
single changed record was queried at a time) The latest query now uses
`type` and `id` instead of `OFFSET` which should improve performance
when there are a large number of rows.

## Related issues
-
[ENG-2417](https://linear.app/pomerium/issue/ENG-2417/core-use-iterators-for-storage-backends)
-
[ENG-2494](https://linear.app/pomerium/issue/ENG-2494/core-postgres-performance-improvements)

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

23531 of 45254 relevant lines covered (52.0%)

76.07 hits per line

Source Files on job 16732330868.1
  • Tree
  • List 525
  • Changed 11
  • Source Changed 6
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 16732330868
  • 39504d69 on github
  • Prev Job for on main (#16725584523.1)
  • Next Job for on main (#16997273510.1)
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