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

pomerium / pomerium / 19943658143
44%

Build:
DEFAULT BRANCH: main
Ran 04 Dec 2025 09:07PM UTC
Jobs 1
Files 588
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

04 Dec 2025 08:56PM UTC coverage: 52.785% (-0.6%) from 53.375%
19943658143

push

github

web-flow
ssh: policy index api + in-memory implementation (#5948)

This adds a new PolicyIndexer interface, which is responsible for
processing updates to configuration, session records, and active ssh
streams. All active streams can subscribe to receive incremental updates
as state changes.

This allows reverse tunnel routes to scale, since each reverse tunnel
connection does not need to independently compute its own set of
authorized upstream tunnel routes. The implementation can be swapped out
to support different environments.

An in-memory implementation is included, as well as a conformance test
suite that can be run against any implementation of the PolicyIndexer
interface to validate that it works as expected in a variety of
scenarios.

---------

Co-authored-by: Denis Mishin <dmishin@pomerium.com>

395 of 1313 new or added lines in 11 files covered. (30.08%)

10 existing lines in 5 files now uncovered.

28880 of 54713 relevant lines covered (52.78%)

85.28 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
0.0
0.0% pkg/ssh/tui/tunnel_status.go
3
84.1
0.64% pkg/ssh/auth.go
4
44.05
-0.53% pkg/ssh/cli.go
6
84.68
-3.4% authorize/authorize.go
6
86.65
-0.39% pkg/ssh/stream.go
7
0.0
0.0% pkg/cmd/pomerium/pomerium.go
11
0.0
0.0% authorize/ssh_grpc.go
11
87.98
-0.22% pkg/ssh/manager.go
16
94.1
pkg/ssh/policy_index_inmemory.go
852
0.0
pkg/ssh/test/policy_index_suite.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
86.65
-0.39% pkg/ssh/stream.go
2
65.7
0.0% internal/databroker/server_clustered_follower.go
2
90.91
0.0% pkg/fanout/receive.go
2
77.41
0.0% pkg/storage/postgres/backend.go
3
87.98
-0.22% pkg/ssh/manager.go
Jobs
ID Job ID Ran Files Coverage
1 19943658143.1 04 Dec 2025 09:07PM UTC 588
52.78
GitHub Action Run
Source Files on build 19943658143
  • Tree
  • List 588
  • Changed 19
  • Source Changed 10
  • Coverage Changed 18
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #19943658143
  • aca9812d on github
  • Prev Build on main (#19912540890)
  • Next Build on main (#19947599370)
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