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

umputun / secrets / 17134404067
85%
master: 84%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v2.2.2
DEFAULT BRANCH: master
Ran 21 Aug 2025 05:34PM UTC
Jobs 1
Files 12
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

20 Aug 2025 07:39PM UTC coverage: 84.789% (+1.2%) from 83.595%
17134404067

push

github

web-flow
Migrate from chi router to go-pkgz/routegroup (#71)

* feat: migrate from chi router to go-pkgz/routegroup

migrate from chi router to go-pkgz/routegroup using native Go 1.22+ routing patterns.

key changes:
- replace chi router with go-pkgz/routegroup and http.ServeMux
- update route definitions to use Go 1.22+ pattern syntax (GET /path/{param})
- migrate from chi.URLParam to native r.PathValue for path parameters
- replace chi middlewares with go-pkgz/rest equivalents where possible
- remove pkg/errors dependency in favor of stdlib errors and fmt.Errorf
- simplify custom logger middleware with security masking for sensitive paths
- add tests for new StripSlashes and Timeout middlewares
- remove unnecessary Trace middleware
- upgrade tollbooth from v7 to v8
- improve logging with structured INFO level messages for business events
- add status descriptions to access logs (success/wrong pin/error)

this migration improves performance by using the native Go router while
maintaining all existing functionality and security features.

* fix: add missing INFO logging for web controller message access

- Add INFO level logging to loadMessageCtrl to match API controller pattern
- Include status descriptions (success, wrong pin, not found) for all outcomes
- Ensures consistent logging across both web UI and API endpoints

112 of 126 new or added lines in 7 files covered. (88.89%)

4 existing lines in 1 file now uncovered.

825 of 973 relevant lines covered (84.79%)

10.96 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
85.06
0.12% app/server/web.go
1
87.93
0.0% app/store/in_memory.go
2
81.82
0.0% app/messager/crypt.go
10
86.71
-1.83% app/server/server.go

Uncovered Existing Lines

Lines Coverage ∆ File
4
86.71
-1.83% app/server/server.go
Jobs
ID Job ID Ran Files Coverage
1 17134404067.1 21 Aug 2025 05:34PM UTC 12
84.79
GitHub Action Run
Source Files on build 17134404067
  • Tree
  • List 12
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 2bd883f4 on github
  • Prev Build on master (#17087436730)
  • 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

© 2025 Coveralls, Inc