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

pomerium / pomerium / 23820960999
52%

Build:
DEFAULT BRANCH: main
Ran 31 Mar 2026 10:06PM UTC
Jobs 1
Files 690
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

31 Mar 2026 09:47PM UTC coverage: 45.174% (-0.04%) from 45.211%
23820960999

push

github

web-flow
fix: ssh authorization code flow issues empty codes (#6225)

## Summary

Indexable fields in the pebble storage backend are improperly
updated/deleted which can cause the code issuing mechanism to issue
empty codes.

## Related issues


https://linear.app/pomerium/issue/ENG-3792/bug-ssh-authorization-code-flow-empty-user-code

## User Explanation

The SSH authorization code flow could issue empty codes. Fixed several
scenarios that could lead to this bug - the server will now issue an
error if it fails to issue a valid code after a minute.

## Checklist

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

12 of 129 new or added lines in 5 files covered. (9.3%)

23 existing lines in 7 files now uncovered.

34901 of 77259 relevant lines covered (45.17%)

113.96 hits per line

Uncovered Changes

Lines Coverage ∆ File
113
0.0
0.0% pkg/storage/storagetest/storagetest.go
3
0.0
0.0% pkg/ssh/code/issuer.go
1
82.11
-0.18% pkg/storage/file/keyspaces.go

Coverage Regressions

Lines Coverage ∆ File
8
91.72
-1.79% pkg/ssh/policy_index_inmemory.go
5
48.64
-0.54% internal/databroker/server_clustered_follower.go
3
90.69
2.94% config/config_source.go
2
84.95
-0.63% internal/mcp/storage.go
2
78.66
-0.79% internal/recording/server.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 23820960999.1 31 Mar 2026 10:05PM UTC 690
45.17
GitHub Action Run
Source Files on build 23820960999
  • Tree
  • List 690
  • Changed 19
  • Source Changed 5
  • Coverage Changed 19
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23820960999
  • 424db495 on github
  • Prev Build on main (#23820675490)
  • Next Build on main (#23827995725)
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