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

firezone / sanstun / 38812674931
93%

Build:
DEFAULT BRANCH: main
Ran 15 Oct 2026 09:49PM UTC
Jobs 1
Files 15
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

15 Oct 2026 09:48PM UTC coverage: 94.341% (-0.03%) from 94.37%
38812674931

push

github

web-flow
refactor!: return each received message's reply directly (#114)

`Tunnel::begin_decapsulate` took any `ReceivedMessage` and returned
`Ok(None)` for handshakes, whose actual output (the response, or the
keepalive that confirms the session) was queued as an event. Callers
already match on `ReceivedMessage` to route it, so each variant now has
its own method that returns exactly what it produces:
`handle_handshake_initiation` returns the response,
`handle_handshake_response` returns the confirming keepalive,
`handle_cookie_reply` returns nothing, and `begin_decapsulate` takes
only `TransportData`.

The rule is that an input returns its direct reply and only timers
produce events. Every event now carries the datagram to send, including
timer-driven keepalives, which removes the `Keepalive` token and
`encapsulate_keepalive`.

`begin_decapsulate` now borrows the tunnel immutably, so the compiler
guarantees that an unauthenticated data message cannot change a tunnel;
that only happens once it is authenticated, in `commit_decapsulate`.

---------

Co-authored-by: Claude <noreply@anthropic.com>

20 of 20 new or added lines in 1 file covered. (100.0%)

2034 of 2156 relevant lines covered (94.34%)

58988.4 hits per line

Jobs
ID Job ID Ran Files Coverage
1 38812674931.1 15 Oct 2026 09:49PM UTC 15
94.34
GitHub Action Run
Source Files on build 38812674931
  • Tree
  • List 15
  • Changed 4
  • Source Changed 4
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #38812674931
  • 5a3f2755 on github
  • Prev Build on main (#38810113183)
  • Next Build on main (#38832702988)
  • Delete
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