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

romshark / datapages / 37113737865
44%

Build:
DEFAULT BRANCH: main
Ran 03 Oct 2026 09:39AM 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

03 Oct 2026 09:31AM UTC coverage: 40.594% (+0.07%) from 40.526%
37113737865

push

github

romshark
fix: Serve only GET on {$} and wildcard pages

- fix: Refuse actions and an SSE stream on a page whose route ends
  in {$}, which now declares a page that serves only GET, and suggest
  removing the {$}. Every page is registered with {$} after its route,
  which left a {$} in the route comment with no effect but one: it
  refused actions below the page with a hint net/http rejects:

      // PageSettings is /settings/{$}
      type PageSettings struct{ App *App }

      func (PageSettings) OnSaved(e EventSaved, sse datapages.SSE) error

      // POSTSave is /settings/save
      func (PageSettings) POSTSave(r *http.Request) error

  datapages lint and gen accept OnSaved, and report POSTSave as not
  under its page with the suggestion /settings/{$}/save, a pattern
  net/http rejects. Without the {$}, the page keeps its URL.

- fix: Report each action of a page whose route ends in a {name...}
  wildcard with an error saying such a page cannot have actions,
  and suggest removing the wildcard, as for its stream:

      // PageFiles is /files/{rest...}
      type PageFiles struct{ App *App }

      func (PageFiles) POSTMove(r *http.Request) error

  datapages lint and gen suggest the path comment
  // POSTMove is /files/{rest...}/move, and with it report a route
  conflict on "POST /files/{rest...}/move/{$}", a pattern the app does
  not declare.

50 of 58 new or added lines in 3 files covered. (86.21%)

14771 of 36387 relevant lines covered (40.59%)

543.83 hits per line

Uncovered Changes

Lines Coverage ∆ File
8
74.84
-0.51% internal/parser/errsuggest/errsuggest.go
Jobs
ID Job ID Ran Files Coverage
1 webcomponents - 37113737865.1 03 Oct 2026 09:39AM UTC 6
0.0
GitHub Action Run
2 todolist - 37113737865.2 03 Oct 2026 09:39AM UTC 11
0.0
GitHub Action Run
3 classifieds - 37113737865.3 03 Oct 2026 09:39AM UTC 18
0.0
GitHub Action Run
4 offline-cache - 37113737865.4 03 Oct 2026 09:39AM UTC 19
0.0
GitHub Action Run
5 sqlitesessions - 37113737865.5 03 Oct 2026 09:39AM UTC 9
0.0
GitHub Action Run
6 counter - 37113737865.6 03 Oct 2026 09:39AM UTC 12
0.0
GitHub Action Run
7 root - 37113737865.7 03 Oct 2026 09:51AM UTC 77
77.88
GitHub Action Run
8 fast-shim - 37113737865.8 03 Oct 2026 09:39AM UTC 4
0.0
GitHub Action Run
9 calculator - 37113737865.9 03 Oct 2026 09:40AM UTC 10
17.11
GitHub Action Run
10 tailwindcss - 37113737865.10 03 Oct 2026 09:39AM UTC 6
0.0
GitHub Action Run
11 file-upload - 37113737865.11 03 Oct 2026 09:39AM UTC 18
45.88
GitHub Action Run
Source Files on build 37113737865
  • Tree
  • List 190
  • Changed 5
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #37113737865
  • 912ff29d on github
  • Prev Build on main (#37054565778)
  • Next Build on main (#37114743372)
  • 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