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

pomerium / pomerium / 18923158703
44%

Build:
DEFAULT BRANCH: main
Ran 29 Oct 2025 10:00PM UTC
Jobs 1
Files 563
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

29 Oct 2025 09:54PM UTC coverage: 55.647% (+0.04%) from 55.61%
18923158703

push

github

web-flow
test: add composite filter to storagetest filtering (#5907)

## Summary

Adds a conformance test for backends to correctly handled composite
filter expressions like:
(`b.Id == '1'` OR `b.id==2`) AND (`b.cidr` matches `192.168.0.1`)

using our storage filter language.

Fixes bugs in the memory backend where:
- a cidr index couldn't be matched to more than one record
- composite expressions were using pointer equality implicity with the
`comparable` interface, making them not match anything since records are
copied when matched

## Related issues

Part of https://github.com/pomerium/pomerium/pull/5896; I was pretty
sure I broke something with querying in the pebble backend - and when
the tests passed I dug a little deeper here... and found that the tests
weren't testing composite ANDs + ORs

## User Explanation

N/A

## Checklist

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

14 of 43 new or added lines in 2 files covered. (32.56%)

25 existing lines in 8 files now uncovered.

27410 of 49257 relevant lines covered (55.65%)

86.72 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
11
70.34
0.29% pkg/storage/record_collection.go
18
0.0
0.0% pkg/storage/storagetest/storagetest.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
40.82
-1.02% internal/databroker/server_clustered_leader.go
1
70.34
0.29% pkg/storage/record_collection.go
2
88.41
0.0% internal/httputil/cookie.go
2
94.55
3.64% pkg/fanout/receive.go
2
95.83
-2.08% pkg/identity/manager/schedulers.go
2
87.38
0.24% pkg/storage/postgres/postgres.go
3
90.69
2.94% config/config_source.go
12
76.18
-3.32% pkg/storage/postgres/backend.go
Jobs
ID Job ID Ran Files Coverage
1 18923158703.1 29 Oct 2025 10:00PM UTC 563
55.65
GitHub Action Run
Source Files on build 18923158703
  • Tree
  • List 563
  • Changed 16
  • Source Changed 2
  • Coverage Changed 16
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #18923158703
  • e29cf7d6 on github
  • Prev Build on main (#18918481270)
  • Next Build on main (#18979469991)
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