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

vocdoni / saas-backend / 20857078305
63%
main: 63%

Build:
Build:
LAST BUILD BRANCH: f/415-enforce-memberbase-add-limit
DEFAULT BRANCH: main
Ran 09 Jan 2026 03:42PM 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

09 Jan 2026 11:13AM UTC coverage: 62.657%. First build
20857078305

Pull #401

github

altergui
fix(csp): prevent authentication for zero-weight voters

Add validation to reject authentication attempts from users with zero
weight in weighted censuses. Users with zero weight should not be able
to participate in the voting process as they have no voting power.

Changes:
- Add check in authFirstStep to return ErrZeroWeightVoter when a user
  has zero weight in a weighted census
- Add test case "User with Phone Only" to verify zero-weight users
  cannot authenticate and receive empty auth tokens

This ensures data integrity by preventing invalid voting attempts from
users who should not have voting privileges.
Pull Request #401: Stage to Prod v2.2.1 and v2.2.2

337 of 441 new or added lines in 14 files covered. (76.42%)

6819 of 10883 relevant lines covered (62.66%)

37.3 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
62.28
csp/auth.go
1
80.18
db/census_participant.go
2
92.5
api/api.go
2
80.49
csp/csp.go
2
86.32
db/helpers.go
10
76.92
errors/errors.go
11
20.47
api/process_bundles.go
16
69.31
api/org_members.go
25
83.74
db/org_members.go
34
58.88
csp/handlers/handlers.go
Jobs
ID Job ID Ran Files Coverage
1 20857078305.1 09 Jan 2026 03:42PM UTC 80
62.66
GitHub Action Run
Source Files on build 20857078305
  • Tree
  • List 80
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #401
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