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

vocdoni / saas-backend / 28114336661
63%

Build:
DEFAULT BRANCH: main
Ran 24 Jun 2026 04:47PM UTC
Jobs 1
Files 113
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

24 Jun 2026 04:41PM UTC coverage: 61.947% (+0.2%) from 61.782%
28114336661

push

github

altergui
test(api): keep the test API server context alive for the whole suite

The TestMain context was bounded to 5 minutes and handed to api.New, so it
also became the notification queue's context. Once the api package run crossed
5 minutes the queue's delivery workers exited on the context deadline, and
every later synchronous mail delivery (registration, password reset, CSP OTP)
timed out after 30s, surfacing as a 500 - e.g. TestRelayVote's POST /users.

The suite now exceeds 5 minutes on CI (this PR's managed-org tests pushed it
over) so the failure became deterministic, while staying green locally where
the run is shorter. Use a plain cancelable context, torn down by the existing
defer, with `go test -timeout=30m` as the backstop against a genuinely hung run.

9779 of 15786 relevant lines covered (61.95%)

44.65 hits per line

Coverage Regressions

Lines Coverage ∆ File
123
49.57
-2.3% api/organizations_managed.go
85
78.37
0.14% db/census_participant.go
48
79.58
1.42% db/organizations.go
14
88.24
0.0% api/apicommon/types.go
11
77.72
-2.01% db/process.go
7
79.11
7.41% db/process_bundles.go
4
70.0
1.29% db/csp.go
2
92.69
0.03% api/api.go
2
88.64
-0.44% db/jobs.go
2
79.05
0.54% db/organization_invites.go
2
88.07
-0.11% db/org_members_groups.go
1
92.86
0.0% api/apikeys.go
Jobs
ID Job ID Ran Files Coverage
1 28114336661.1 24 Jun 2026 04:47PM UTC 113
61.95
GitHub Action Run
Source Files on build 28114336661
  • Tree
  • List 113
  • Changed 12
  • Source Changed 0
  • Coverage Changed 12
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • cce0f5a1 on github
  • Prev Build on main (#28107569777)
  • Next Build on main (#28168960880)
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