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

firezone / firezone / 22287984059
62%

Build:
DEFAULT BRANCH: main
Ran 22 Feb 2026 11:46PM UTC
Jobs 6
Files 615
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

22 Feb 2026 11:27PM UTC coverage: 62.307% (+0.003%) from 62.304%
22287984059

push

github

web-flow
fix(phoenix-channel): introduce ephemeral `Connected` state (#12254)

The `PhoenixChannel` component is designed to be stateful in order to
allow for reconnects when the connection fails. Several aspects of its
state however are tied to a particular instance of the connection. For
example, queued "join" messages for a topic only make sense within the
scope of a particular connection. When the WebSocket connection gets
teared down, these need to be cleared.

It is easy to forget to clear this kind of state. To prevent further
bugs in this code, we introduce a dedicated `Connected` state which
holds all pieces of state that are specific to a certain connection. As
soon as we disconnect, the entire `Connected` state is discarded and
only recreated once the connection is reestablished.

83 of 99 new or added lines in 4 files covered. (83.84%)

17 existing lines in 9 files now uncovered.

31831 of 51087 relevant lines covered (62.31%)

297615.83 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
8.0
-0.02% rust/relay/server/src/main.rs
5
0.0
0.0% rust/gateway/src/eventloop.rs
5
0.81
-0.01% rust/libs/client-shared/src/eventloop.rs
5
83.08
0.53% rust/libs/connlib/phoenix-channel/src/lib.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
96.08
-1.96% rust/libs/connlib/tunnel/src/client/gateway_on_client.rs
1
93.17
-0.62% elixir/lib/portal_api/gateway/channel.ex
1
95.54
0.19% rust/libs/connlib/tunnel/src/gateway/client_on_gateway.rs
1
95.41
2.14% elixir/lib/portal_api/client/channel.ex
1
83.08
0.53% rust/libs/connlib/phoenix-channel/src/lib.rs
1
91.84
-0.08% rust/libs/connlib/snownet/src/node.rs
1
81.91
-1.06% rust/libs/connlib/ip-packet/src/icmp_error.rs
3
93.64
-0.91% rust/libs/connlib/tunnel/src/client/dns_resource_nat.rs
7
90.33
-0.52% rust/libs/connlib/tunnel/src/client.rs
Subprojects
ID Flag name Job ID Ran Files Coverage
1 swift-test 22287984059.1 22 Feb 2026 11:46PM UTC 44
16.42
GitHub Action Run
2 rust-test-Windows 22287984059.2 22 Feb 2026 11:53PM UTC 161
57.43
GitHub Action Run
3 rust-test-macOS 22287984059.3 22 Feb 2026 11:51PM UTC 141
57.03
GitHub Action Run
4 rust-tunnel-test 22287984059.4 22 Feb 2026 11:59PM UTC 109
49.3
GitHub Action Run
5 rust-test-Linux 22287984059.5 22 Feb 2026 11:51PM UTC 187
55.08
GitHub Action Run
6 portal 22287984059.6 22 Feb 2026 11:46PM UTC 361
65.42
GitHub Action Run
Source Files on build 22287984059
  • Tree
  • List 615
  • Changed 19
  • Source Changed 4
  • Coverage Changed 19
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #22287984059
  • 2fb528fd on github
  • Prev Build on main (#22279367957)
  • Next Build on main (#22289697444)
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