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

pomerium / pomerium / 24669036644
45%

Build:
DEFAULT BRANCH: main
Ran 20 Apr 2026 01:38PM UTC
Jobs 1
Files 696
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

20 Apr 2026 01:24PM UTC coverage: 45.499% (+0.01%) from 45.486%
24669036644

push

github

web-flow
feat(blob) : middleware and reading util (#6265)

## Summary

Wraps Read, Write and List operations with middleware that allows for
customizing per-operation blob options using the BeforeRead, BeforeWrite
and BeforeList hooks, as well as injecting context values for the
context used by blob operations.

Adds default middleware for adding `User-Agent` (or-equivalent) headers
identifying the pomerium version and the access_id,for correlation with
enterprise audit logs. This information is configured to also be stored
in each cloud provider's blob audit logs.
 
## Related issues

Part of
[ENG-3804](https://linear.app/pomerium/issue/ENG-3804/recordings-audit-logging)

## User Explanation

Adds audit logging middleware for blob storage.

## Checklist

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

222 of 396 new or added lines in 9 files covered. (56.06%)

63 existing lines in 15 files now uncovered.

35335 of 77661 relevant lines covered (45.5%)

113.86 hits per line

Uncovered Changes

Lines Coverage ∆ File
39
72.22
-6.11% pkg/storage/blob/chunk.go
34
0.0
pkg/storage/blob/providers/s3_minio.go
27
0.0
pkg/storage/blob/middleware/middleware.go
25
75.96
pkg/storage/blob/providers/middleware.go
19
0.0
pkg/storage/blob/middleware/context.go
17
75.0
pkg/storage/blob/util.go
8
88.06
-11.94% pkg/storage/blob/schema.go
5
0.0
0.0% pkg/storage/blob/providers/providers.go

Coverage Regressions

Lines Coverage ∆ File
9
87.75
-2.94% config/config_source.go
9
80.34
0.0% pkg/ssh/manager.go
8
82.5
-3.0% internal/controlplane/xdsmgr/xdsmgr.go
8
91.72
-1.79% pkg/ssh/policy_index_inmemory.go
6
75.99
-1.32% pkg/storage/postgres/backend.go
4
74.26
-1.18% internal/databroker/config_source.go
3
57.0
-0.74% internal/controlplane/server.go
3
72.22
-6.11% pkg/storage/blob/chunk.go
2
48.82
0.54% internal/databroker/server_clustered_follower.go
2
92.78
-1.11% internal/fileutil/watcher.go
2
89.19
-5.41% pkg/fanout/fanout.go
2
94.55
0.0% pkg/fanout/receive.go
2
95.83
-2.08% pkg/identity/manager/schedulers.go
2
88.52
-0.44% pkg/storage/postgres/postgres.go
1
75.41
0.0% pkg/storage/postgres/registry.go
Jobs
ID Job ID Ran Files Coverage
1 24669036644.1 20 Apr 2026 01:38PM UTC 696
45.5
GitHub Action Run
Source Files on build 24669036644
  • Tree
  • List 696
  • Changed 21
  • Source Changed 4
  • Coverage Changed 21
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #24669036644
  • 4967e164 on github
  • Prev Build on main (#24585435116)
  • Next Build on main (#24733043775)
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