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

pomerium / pomerium / 20759430705
46%

Build:
DEFAULT BRANCH: main
Ran 06 Jan 2026 07:32PM 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

06 Jan 2026 07:21PM UTC coverage: 52.932% (+0.02%) from 52.908%
20759430705

push

github

web-flow
core/session: add handle protobuf type (#6033)

## Summary
Add a `session.Handle` protobuf type that replaces `sessions.Handle`.

Although this type is a protobuf generated type it implements custom
JSON marshaling/unmarshaling so the format of the pomerium cookie and
service accounts does not change and therefore there should be no change
in behavior.

This change is part of a larger set of changes intended to make session
handling easier to understand. (For example we don't store a session in
a cookie, but previously the naming was such that it sounded like we
did. Now we store a session handle in the cookie that references an
actual session stored in the databroker)

## Related issues
-
[ENG-3001](https://linear.app/pomerium/issue/ENG-3001/core-session-improvements)

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

125 of 197 new or added lines in 10 files covered. (63.45%)

435 existing lines in 16 files now uncovered.

29591 of 55904 relevant lines covered (52.93%)

126.92 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
50.53
0.0% authorize/grpc.go
2
0.0
0.0% internal/handlers/webauthn/webauthn.go
5
70.99
0.0% authenticate/handlers.go
5
19.35
0.0% internal/authenticateflow/identityprofile.go
16
0.0
0.0% internal/authenticateflow/stateless.go
16
85.59
pkg/grpc/session/handle.go
27
35.85
0.0% internal/authenticateflow/stateful.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
35.85
0.0% internal/authenticateflow/stateful.go
1
0.0
0.0% internal/testutil/testutil.go
2
0.0
0.0% internal/authenticateflow/stateless.go
2
59.86
-0.7% internal/controlplane/server.go
2
90.91
0.0% pkg/fanout/receive.go
2
87.71
-0.47% pkg/storage/postgres/postgres.go
7
45.45
-13.17% config/options_check.go
9
87.75
-4.41% config/config_source.go
9
87.23
0.0% pkg/ssh/manager.go
12
76.31
-3.31% pkg/storage/postgres/backend.go
16
54.72
-11.19% config/codec_type.go
35
90.16
-0.05% config/envoyconfig/routes.go
42
82.72
0.0% config/policy.go
53
71.37
-0.82% config/envoyconfig/clusters.go
104
69.7
0.0% config/options.go
138
70.83
-0.94% config/custom.go
Jobs
ID Job ID Ran Files Coverage
1 20759430705.1 06 Jan 2026 07:32PM UTC 600
52.93
GitHub Action Run
Source Files on build 20759430705
  • Tree
  • List 600
  • Changed 33
  • Source Changed 25
  • Coverage Changed 23
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #20759430705
  • a233784e on github
  • Prev Build on main (#20728653208)
  • Next Build on main (#20789384629)
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