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

vocdoni / saas-backend / 29725936637
62%
main: 62%

Build:
Build:
LAST BUILD BRANCH: fix/backfill-process-start-date
DEFAULT BRANCH: main
Ran 20 Jul 2026 08:00AM UTC
Jobs 1
Files 127
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 Jul 2026 07:51AM UTC coverage: 62.429% (+0.3%) from 62.167%
29725936637

Pull #582

github

lucasmenendez
fix(jobs): keep member-import error PII off the public job endpoint

The public GET /jobs/{jobId} builds its response via JobResponseFromDB, which
surfaces job.Errors. For member-import jobs those strings embed raw member data
— plaintext email (db/org_members.go), plaintext phone, and the birthdate
(internal.ParseBirthDate) — so anyone holding a leaked jobId could read member
PII with no auth (an authorization downgrade introduced when the endpoint moved
to the unified job shape).

Clear the errors array for import job types on the public single-job endpoint;
the Manager/Admin-gated GET /jobs list keeps full detail (admins uploaded the
data and need the failing value to fix their import). tx-job errors are chain
failures with no PII and are unaffected. Adds a test asserting the public
endpoint omits the errors while the auth list retains them.
Pull Request #582: chore(api): /processes migration cleanup — deprecations, RESTful shapes, jobs/apikeys consolidation, param standardization

344 of 550 new or added lines in 19 files covered. (62.55%)

3 existing lines in 2 files now uncovered.

11796 of 18895 relevant lines covered (62.43%)

45.45 hits per line

Uncovered Changes

Lines Coverage ∆ File
113
52.72
api/processes_admin.go
22
55.59
0.22% csp/handlers/processes.go
19
85.56
-2.5% db/org_members_groups.go
18
61.7
api/processes_census_validate.go
15
70.15
-6.04% api/jobs.go
6
77.68
-4.4% db/types.go
4
81.63
0.02% account/process.go
2
90.42
0.64% api/apicommon/types.go
2
4.51
0.0% api/stripe_handlers.go
2
86.81
-1.83% db/jobs.go
1
55.0
0.0% api/apikeys_handlers.go
1
70.66
2.45% api/org_members.go
1
69.82
-1.48% api/organizations.go

Coverage Regressions

Lines Coverage ∆ File
2
86.81
-1.83% db/jobs.go
1
70.66
2.45% api/org_members.go
Jobs
ID Job ID Ran Files Coverage
1 29725936637.1 20 Jul 2026 08:00AM UTC 127
62.43
GitHub Action Run
Source Files on build 29725936637
  • Tree
  • List 127
  • Changed 24
  • Source Changed 0
  • Coverage Changed 24
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #582
  • PR Base - main (#29569019730)
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