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

pomerium / pomerium / 18600364844
44%

Build:
DEFAULT BRANCH: main
Ran 17 Oct 2025 05:43PM UTC
Jobs 1
Files 571
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

17 Oct 2025 05:37PM UTC coverage: 53.929% (-0.007%) from 53.936%
18600364844

push

github

web-flow
sessions: rename State to Handle (#5890)

## Summary
Currently we have a type `sessions.State` that represents the data we store in a JWT cookie for sessions. It contains the session id along with several other fields, but does not contain the entirety of the session data. This is confusing, and a better name for this object would be a `sessions.Handle`, since it's mostly just a reference to an actual session stored in the databroker.

This PR renames `sessions.State` to `sessions.Handle`. This is a sweeping change, but should not change any behavior.

## 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

61 of 111 new or added lines in 12 files covered. (54.95%)

11 existing lines in 4 files now uncovered.

27412 of 50830 relevant lines covered (53.93%)

86.23 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
51.04
0.0% authorize/grpc.go
3
74.02
0.0% internal/authenticateflow/stateful.go
3
0.0
0.0% internal/handlers/webauthn/webauthn.go
5
80.38
0.0% authenticate/handlers.go
6
19.35
0.0% internal/authenticateflow/identityprofile.go
12
55.56
internal/sessions/handle.go
18
0.0
0.0% internal/authenticateflow/stateless.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
74.02
0.0% internal/authenticateflow/stateful.go
2
0.0
0.0% internal/authenticateflow/stateless.go
2
67.96
-0.52% internal/databroker/server_clustered_follower.go
6
82.5
-3.0% internal/controlplane/xdsmgr/xdsmgr.go
Jobs
ID Job ID Ran Files Coverage
1 18600364844.1 17 Oct 2025 05:43PM UTC 571
53.93
GitHub Action Run
Source Files on build 18600364844
  • Tree
  • List 571
  • Changed 19
  • Source Changed 14
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #18600364844
  • 276d08be on github
  • Prev Build on main (#18593757278)
  • Next Build on main (#18690754649)
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