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

romshark / datapages / 36236164042
53%

Build:
DEFAULT BRANCH: main
Ran 26 Sep 2026 10:34AM UTC
Jobs 11
Files 189
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

26 Sep 2026 10:33AM UTC coverage: 40.123% (+0.08%) from 40.044%
36236164042

push

github

romshark
fix: Write CSRF scripts from session cookies

A handler without a session parameter doesn't read the session store.
Its document still needs the cookie's token because `CheckCSRFOnly`
validates actions against that cookie.
Without the script, those actions return 403.

Documents derive the script from the cookie without a store read.
Responses with `newSession` or `closeSession` use the resulting token.
`PageOffline` and page-cache entries
omit it because visitors share them.

25 of 61 new or added lines in 7 files covered. (40.98%)

31 existing lines in 2 files now uncovered.

14371 of 35817 relevant lines covered (40.12%)

549.13 hits per line

Uncovered Changes

Lines Coverage ∆ File
13
0.0
0.0% example/classifieds/app/datapagesgen/app_gen.go
13
0.0
0.0% example/offline-cache/app/datapagesgen/app_gen.go
8
0.0
0.0% example/sqlitesessions/app/datapagesgen/app_gen.go
1
93.76
-0.01% internal/generator/write_app.go
1
61.11
16.36% runtime/auth/auth.go

Coverage Regressions

Lines Coverage ∆ File
21
88.54
0.02% internal/generator/write_app_handlers.go
10
56.13
-0.09% example/file-upload/app/app_templ.go
Jobs
ID Job ID Ran Files Coverage
1 webcomponents - 36236164042.1 26 Sep 2026 10:35AM UTC 6
0.0
GitHub Action Run
2 counter - 36236164042.2 26 Sep 2026 10:35AM UTC 12
0.0
GitHub Action Run
3 root - 36236164042.3 26 Sep 2026 10:46AM UTC 76
77.81
GitHub Action Run
4 calculator - 36236164042.4 26 Sep 2026 10:35AM UTC 10
17.21
GitHub Action Run
5 tailwindcss - 36236164042.5 26 Sep 2026 10:35AM UTC 6
0.0
GitHub Action Run
6 sqlitesessions - 36236164042.6 26 Sep 2026 10:34AM UTC 9
0.0
GitHub Action Run
7 fast-shim - 36236164042.7 26 Sep 2026 10:35AM UTC 4
0.0
GitHub Action Run
8 classifieds - 36236164042.8 26 Sep 2026 10:34AM UTC 18
0.0
GitHub Action Run
9 todolist - 36236164042.9 26 Sep 2026 10:35AM UTC 11
0.0
GitHub Action Run
10 offline-cache - 36236164042.10 26 Sep 2026 10:35AM UTC 19
0.0
GitHub Action Run
11 file-upload - 36236164042.11 26 Sep 2026 10:35AM UTC 18
46.13
GitHub Action Run
Source Files on build 36236164042
  • Tree
  • List 189
  • Changed 8
  • Source Changed 7
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #36236164042
  • a943912c on github
  • Prev Build on main (#36230589050)
  • Next Build on main (#36241751874)
  • 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