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

romshark / datapages / 37026452002
44%

Build:
DEFAULT BRANCH: main
Ran 02 Oct 2026 03:22PM UTC
Jobs 11
Files 190
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

02 Oct 2026 03:21PM UTC coverage: 40.562% (+0.05%) from 40.509%
37026452002

push

github

romshark
fix: Recover panics on anonymous streams

Recover a panic in an OnXXX handler on the stream that a page with
both public and user-addressed events serves to signed-out visitors,
as the stream of signed-in visitors does. Take this page:

    // PageRoom is /room
    type PageRoom struct{ App *App }

    // Public: EventPosted has no SubjectUser field.
    func (PageRoom) OnPosted(e EventPosted, sse datapages.SSE) error

    // Private: EventNoticed has a SubjectUser field.
    func (PageRoom) OnNoticed(e EventNoticed, sse datapages.SSE) error

A guest's stream at /room/_$/anon/ runs OnPosted outside any recover.
A panic there drops the connection, never reaches RecoverError and
skips StreamClose, which leaks the per-tab state that StreamOpen holds.

Run the close hook in a defer once StreamOpen succeeds, which keeps
StreamClose paired with StreamOpen for any panic out of
the message loop.

7 of 7 new or added lines in 2 files covered. (100.0%)

14705 of 36253 relevant lines covered (40.56%)

544.74 hits per line

Jobs
ID Job ID Ran Files Coverage
1 tailwindcss - 37026452002.1 02 Oct 2026 03:22PM UTC 6
0.0
GitHub Action Run
2 calculator - 37026452002.2 02 Oct 2026 03:23PM UTC 10
17.11
GitHub Action Run
3 file-upload - 37026452002.3 02 Oct 2026 03:23PM UTC 18
46.29
GitHub Action Run
4 offline-cache - 37026452002.4 02 Oct 2026 03:22PM UTC 19
0.0
GitHub Action Run
5 sqlitesessions - 37026452002.5 02 Oct 2026 03:22PM UTC 9
0.0
GitHub Action Run
6 classifieds - 37026452002.6 02 Oct 2026 03:22PM UTC 18
0.0
GitHub Action Run
7 fast-shim - 37026452002.7 02 Oct 2026 03:23PM UTC 4
0.0
GitHub Action Run
8 root - 37026452002.8 02 Oct 2026 03:34PM UTC 77
78.02
GitHub Action Run
9 webcomponents - 37026452002.9 02 Oct 2026 03:23PM UTC 6
0.0
GitHub Action Run
10 counter - 37026452002.10 02 Oct 2026 03:22PM UTC 12
0.0
GitHub Action Run
11 todolist - 37026452002.11 02 Oct 2026 03:22PM UTC 11
0.0
GitHub Action Run
Source Files on build 37026452002
  • Tree
  • List 190
  • Changed 4
  • Source Changed 2
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #37026452002
  • ee53d82d on github
  • Prev Build on main (#37024249126)
  • Next Build on main (#37032967133)
  • 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