• 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 / 28370460064
63%
main: 63%

Build:
Build:
LAST BUILD BRANCH: feat/embedded-meta
DEFAULT BRANCH: main
Ran 29 Jun 2026 12:07PM 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 11:41AM UTC coverage: 62.69% (+0.2%) from 62.475%
28370460064

Pull #563

github

altergui
refactor(integrator): remove managed-census-size aggregate counter and gate

The integrator-wide ManagedCensusSize reservation is superseded by the
shared vote pool (MaxVotes/SentVotes), which already gates managed-org
publishing at the integrator level. The two were never the same metric —
census size was a released, point-in-time capacity reservation while
SentVotes is the monotonic billing tally — but the vote pool is the limit
the team actually meters on, so the census reservation is redundant.

Removes:
- OrganizationCounters.ManagedCensusSize and AddOrganizationManagedCensusSize
- the census branch of ReserveManagedPublish (now process-only) and its
  ManagedPublishLimits/CanPublishForManagedOrg census args/returns
- the publish-time census reservation + rollbacks in process.go
- the census-counter decrement on managed-org teardown

The per-plan Organization.MaxCensus stays: it still bounds per-census
participant adds, per-process census size, and standalone member limits.
Migration 0012's seeded maxManagedCensusSize is left as pinned history
(already unused since #557 dropped it from db.IntegratorLimits).
Pull Request #563: feat(integrator): expose pooled votes/SMS/email usage and caps on /integrator

60 of 72 new or added lines in 4 files covered. (83.33%)

341 existing lines in 10 files now uncovered.

10243 of 16339 relevant lines covered (62.69%)

44.87 hits per line

Uncovered Changes

Lines Coverage ∆ File
6
79.66
1.13% db/organizations.go
3
52.33
2.61% api/organizations_managed.go
3
68.21
-0.31% 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
Jobs
ID Job ID Ran Files Coverage
1 28370460064.1 29 Jun 2026 12:07PM UTC 114
62.69
GitHub Action Run
Source Files on build 28370460064
  • 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