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

vocdoni / saas-backend / 20141916367
63%

Build:
DEFAULT BRANCH: main
Ran 11 Dec 2025 05:38PM UTC
Jobs 1
Files 80
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

11 Dec 2025 05:33PM UTC coverage: 63.071%. Remained the same
20141916367

push

github

emmdim
feat(csp): add weight field to authentication response

Add weight field to AuthResponse structure and include it in the
sign-and-respond flow. This allows clients to receive the weight value
directly in the authentication response alongside the signature.

Also refactor error handling in signing functions by replacing generic
ErrStorageFailure with more specific ErrSign error type for better
error classification and debugging.

Changes:
- Add Weight field to AuthResponse struct with proper JSON and Swagger tags
- Include weight in signAndRespond HTTP response
- Replace ErrStorageFailure with ErrSign in prepareSaltedKeySigner and
  finishSaltedKeySigner functions
- Update Swagger documentation to reflect new weight field

2 of 4 new or added lines in 2 files covered. (50.0%)

6794 of 10772 relevant lines covered (63.07%)

34.68 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
85.11
0.0% csp/sign.go
Jobs
ID Job ID Ran Files Coverage
1 20141916367.1 11 Dec 2025 05:38PM UTC 80
63.07
GitHub Action Run
Source Files on build 20141916367
  • Tree
  • List 80
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 6f75d4a4 on github
  • Prev Build on main (#20131780399)
  • Next Build on main (#20485716457)
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