• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In
Warning: This build has drifted.
The coverage report for this pull request build may be inaccurate because its base commit is no longer the HEAD of its target branch.
This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

    • Learn more: For more information on this, see Tracking coverage changes for pull request builds.
    • Fix now: For a quick fix, rebase this PR at GitHub. Your next report should be accurate.
    • Prevent going forward: To avoid this issue with future PRs, see these Recommended CI Configurations.
New Repo Setting:
INCLUDE COVERAGE % WITH WARNINGS ABOUT DRIFTED BUILDS?

Enabling this setting will include a (potentially inaccurate) coverage % with warning messages in status updates for drifted builds.

Adjust setting

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

Build:
Build:
LAST BUILD BRANCH: feat/embedded-meta
DEFAULT BRANCH: main
Ran 29 Jun 2026 01:53PM UTC
Jobs 1
Files 114
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

29 Jun 2026 01:46PM UTC coverage: 62.732% (+0.3%) from 62.475%
28376740396

Pull #563

github

altergui
fix(integrator): keep per-process census bound for managed orgs; surface plan errors

Addresses review on the census-counter removal:

- HasTxPermission: the per-process "MaxCensusSize <= plan.MaxCensus" check was
  inside "if !managed(org)", so dropping the aggregate ManagedCensusSize quota
  let a managed org publish a process with an unbounded declared census size.
  Move the per-process bound out so it applies to every org (governed by the
  integrator's plan for managed orgs); only the process-*count* check stays
  managed-exempt, since ReserveManagedPublish covers that. Adds a regression
  test: a managed publish over the integrator plan's MaxCensus is rejected.

- integratorInfoHandler: a real plan-lookup error was swallowed and reported as
  0 (unlimited/unknown) caps. Tolerate only the no-plan case (PlanID == "") and
  return 500 on an actual lookup failure.
Pull Request #563: feat(integrator): expose pooled votes/SMS/email usage and caps on /integrator

62 of 77 new or added lines in 4 files covered. (80.52%)

342 existing lines in 11 files now uncovered.

10251 of 16341 relevant lines covered (62.73%)

44.9 hits per line

Uncovered Changes

Lines Coverage ∆ File
6
52.03
2.32% api/organizations_managed.go
6
80.3
1.78% db/organizations.go
3
68.0
-0.52% subscriptions/subscriptions.go

Coverage Regressions

Lines Coverage ∆ File
78
60.0
0.0% api/census.go
66
71.56
0.0% api/organization_groups.go
66
68.21
0.0% api/org_members.go
45
80.16
0.03% db/org_members.go
38
61.58
0.0% api/process_bundles.go
17
82.08
-0.17% db/types.go
12
56.39
0.0% csp/handlers/handlers.go
12
87.85
0.85% internal/utils.go
6
56.64
0.76% api/users.go
1
98.21
0.26% db/verifications.go
1
68.0
-0.52% subscriptions/subscriptions.go
Jobs
ID Job ID Ran Files Coverage
1 28376740396.1 29 Jun 2026 01:53PM UTC 114
62.73
GitHub Action Run
Source Files on build 28376740396
  • Tree
  • List 114
  • Changed 15
  • Source Changed 0
  • Coverage Changed 15
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #563
  • PR Base - main (#28363210535)
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