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

vocdoni / vocdoni-node / 6705617579
63%
main: 63%

Build:
Build:
LAST BUILD BRANCH: release-lts-1
DEFAULT BRANCH: main
Ran 31 Oct 2023 11:22AM UTC
Jobs 2
Files 171
Run time 17s
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

31 Oct 2023 11:06AM UTC coverage: 61.569% (-0.3%) from 61.828%
6705617579

Pull #1175

github

p4u
fix censusDB data race and extend census export/import endpoints

We added a new global lock for censusDB. Before, the lock only affected
the individual trees, however as censusDB is able to load the same tree
twice (in case of paralel calls to the API census endpoints), a write
operation could be done racy to the same tree database.

Now Censusdb requires to call Unload() after Load() to release the lock.

In addition, extend the import/export methods to allow IPFS transfers.

Signed-off-by: p4u <pau@dabax.net>
Pull Request #1175: F/censusdb race

55 of 186 new or added lines in 6 files covered. (29.57%)

4 existing lines in 3 files now uncovered.

14241 of 23130 relevant lines covered (61.57%)

32067.36 hits per line

Jobs
ID Job ID Ran Files Coverage
1 unit - 6705617579.1 31 Oct 2023 11:22AM UTC 0
51.18
GitHub Action Run
2 integration - 6705617579.2 31 Oct 2023 11:22AM UTC 0
51.41
GitHub Action Run
Source Files on build 6705617579
Detailed source file information is not available for this build.
  • Back to Repo
  • Pull Request #1175
  • PR Base - main (#6692851655)
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