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

pomerium / pomerium / 44358248581
55%

Build:
DEFAULT BRANCH: main
Ran 18 Nov 2026 05:41PM UTC
Jobs 1
Files 743
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

18 Nov 2026 05:23PM UTC coverage: 54.923% (+0.08%) from 54.846%
44358248581

push

github

web-flow
feat(tsrouter): add tailscale integration (#7041)

## Summary
Add a Tailscale integration that allows Pomerium to act as a Tailscale
device without needing to run the Tailscale agent.

* This functionality is built on top of the `tsnet` package.
* The `TSRouter` component creates `tsListeners` that correspond to the
options in the config.
* Each listener starts a `tsnet.Server`. The listener can support
tailnet listeners, funnels or tailnet services.
* Each listener is run within a lease, so only a single Pomerium proxy
instance will be registered as the Tailscale device.
* Incoming connections are proxied to the Pomerium address. Either
Tailscale can terminate TLS connections, or Pomerium can. In the former
mode certificates are dynamically provisioned via Let's Encrypt. (for
now those certificates are stored in the data directory, but #7004 could
potentially be used to persist them to the databroker)
* Tailscale state is stored in the databroker.
* There's a test that relies on `tsnet`'s testing packages to spin up a
tailscale cluster.

## Related issues
- [ENG-4470](https://linear.app/pomerium/issue/ENG-4470/core-tsrouter)

## User Explanation

<!-- How would you explain this change to the user? If this
change doesn't create any user-facing changes, you can leave
this blank. If filled out, add the `docs` label -->

## AI disclosure
Claude Opus 5.5 reviewed and wrote most of the test using `tsnet`. Most
of the rest of the code was written by me.

## Checklist

- [x] reference any related issues
- [x] updated unit tests
- [x] add appropriate label (`enhancement`, `bug`, `breaking`,
`dependencies`, `ci`)
- [x] disclosed AI usage (or wrote "none") per AI_POLICY.md
- [x] ready for review

<!-- devin-review-badge-begin -->

---

<a href="https://app.devin.ai/review/pomerium/pomerium/pull/7041"
target="_blank"><picture><source media="(prefers-color-scheme: dark)"
srcset="https://static.devin.ai/assets/gh-devin-review-dark.svg?v=4"><img
src="https://static... (continued)

276 of 415 new or added lines in 9 files covered. (66.51%)

28 existing lines in 12 files now uncovered.

37169 of 67675 relevant lines covered (54.92%)

159.99 hits per line

Uncovered Changes

Lines Coverage ∆ File
90
57.75
internal/tsrouter/tslistener.go
23
73.86
internal/tsrouter/tsrouter.go
11
0.0
0.0% pkg/cmd/pomerium/pomerium.go
6
75.89
-3.52% proxy/proxy.go
3
32.98
32.98% internal/telemetry/component.go
3
81.25
internal/tsrouter/copy.go
3
93.18
internal/tsrouter/tslistener_state.go

Coverage Regressions

Lines Coverage ∆ File
8
75.21
-2.25% pkg/storage/postgres/backend.go
3
92.27
-1.66% config/config_source.go
3
91.3
-2.17% pkg/fanout/receive.go
2
45.21
-0.41% internal/databroker/server_clustered_follower.go
2
0.0
0.0% pkg/cmd/pomerium/pomerium.go
2
85.19
-0.67% pkg/databrokerutil/syncer.go
2
77.6
-1.6% pkg/grpcutil/client_manager.go
2
85.37
1.22% pkg/storage/postgres/iterate.go
1
92.86
-3.57% pkg/fanout/fanout.go
1
88.43
0.0% pkg/health/systemd.go
1
97.37
0.0% pkg/identity/manager/schedulers.go
1
86.3
-0.26% pkg/ssh/manager.go
Jobs
ID Job ID Ran Files Coverage
1 44358248581.1 18 Nov 2026 05:41PM UTC 743
54.92
GitHub Action Run
Source Files on build 44358248581
  • Tree
  • List 743
  • Changed 19
  • Source Changed 4
  • Coverage Changed 19
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #44358248581
  • e193ff18 on github
  • Prev Build on main (#44181535592)
  • Next Build on main (#44419714463)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc