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

romshark / datapages / 23293529707
45%

Build:
DEFAULT BRANCH: main
Ran 19 Mar 2026 11:52AM UTC
Jobs 5
Files 79
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

19 Mar 2026 11:51AM UTC coverage: 44.623% (+0.1%) from 44.482%
23293529707

push

github

web-flow
feat!: Gen httperr package, rename Recover500 (#27)

BREAKING: Recover500 is renamed to RecoverError.
Rename the method on your App type:
  func (*App) Recover500(...) -> func (*App) RecoverError(...)

Datapages now generates a new datapagesgen/httperr subpackage with
sentinel errors for HTTP status codes (400, 403, 404).
Action handlers can return httperr.BadRequest, httperr.Forbidden,
or httperr.NotFound to control the response status instead of
defaulting to 500.

All action handler errors are now routed through RecoverError,
including httperr sentinels. This ensures users always get visible
feedback (e.g. toast notifications) rather than silent HTTP errors.
Client errors logged at DEBUG level reduce log noise in production
by keeping expected 4xx responses out of the ERROR stream.

When RecoverError is not defined or fails, the server
falls back to the appropriate HTTP status code based on
the httperr sentinel, or 500 for unrecognized errors.

100 of 137 new or added lines in 9 files covered. (72.99%)

4 existing lines in 1 file now uncovered.

8689 of 19472 relevant lines covered (44.62%)

21.28 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
86.6
0.58% generator/write_app_handlers.go
7
52.54
0.12% generator/generator.go
9
0.0
0.0% example/counter/datapagesgen/app_gen.go
9
0.0
0.0% example/fancy-counter/datapagesgen/app_gen.go
11
0.0
0.0% example/classifieds/datapagesgen/app_gen.go

Uncovered Existing Lines

Lines Coverage ∆ File
4
97.06
-2.94% modules/sessmanager/inmem/sessmem.go
Jobs
ID Job ID Ran Files Coverage
1 classifieds - 23293529707.1 19 Mar 2026 11:52AM UTC 18
0.0
GitHub Action Run
2 fancy-counter - 23293529707.2 19 Mar 2026 11:52AM UTC 6
0.0
GitHub Action Run
3 tailwindcss - 23293529707.3 19 Mar 2026 11:52AM UTC 6
0.0
GitHub Action Run
4 counter - 23293529707.4 19 Mar 2026 11:52AM UTC 6
0.0
GitHub Action Run
5 root - 23293529707.5 19 Mar 2026 11:55AM UTC 43
82.1
GitHub Action Run
Source Files on build 23293529707
  • Tree
  • List 79
  • Changed 12
  • Source Changed 11
  • Coverage Changed 8
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23293529707
  • 9dfff9a2 on github
  • Prev Build on main (#23293234464)
  • Next Build on main (#23293790190)
  • Delete
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