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

knowledgepixels / nanopub-registry / 32111416371
85%

Build:
DEFAULT BRANCH: main
Ran 18 Aug 2026 07:28AM UTC
Jobs 3
Files 31
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

18 Aug 2026 07:26AM UTC coverage: 84.962% (+48.5%) from 36.457%
32111416371

push

github

web-flow
test: add unit tests for existing functionality (#123)

* test: add unit tests

* refactor: replace System.getenv with Utils.getEnv for environment variable retrieval

* test: add test fixture for nanopublication settings

* test: cover the task state machine and env-gated branches

* refactor: improve readability and efficiency

* test: add unit tests for Utils class to handle null JSON and peer URL exclusions

* test: add parallel failure handling to loadStreamInParallel method

* test: enhance RegistryPeerConnectorTest with additional discoverPubkeys scenarios

* test(deps): add mockito as an agent to maven's surefire plugin

* test(EntryStatus): add additional null value handling and exact spelling checks

* test(RegistryDB): update loadNanopub test to ignore unsigned nanopubs and verify storage behavior

* refactor(Task): remove old session parameter from `runTask` method after merge

* test(Task): follow the task split from #128

Merging main brought in #128, which split every task that cannot be
transactional away from the writes it used to make: INIT_COLLECTIONS now
only does DDL and fetches the intro collection, with the seeding moved to
SEED_TRUST_STATE, and RELEASE_DATA only renames the collections, with the
hash, counter, snapshot and status transition moved to
PUBLISH_TRUST_STATE. The tests still ran only the first half of each pair
while asserting on the second half's effects.

Add a runQueuedSuccessor helper and chain both halves where the
assertions span them, which also gives SEED_TRUST_STATE and
PUBLISH_TRUST_STATE their first coverage.

Assert the exact set of non-transactional tasks rather than just the two
that predate #128, so an unintended opt-out still fails.

releaseDataPublishesTheLoadingCollectionsAndSnapshotsTheState seeds a
toLoad account, which trips the #119 bootstrap hold-back. Set
REGISTRY_PERFORM_FULL_LOAD=false so it exercises the normal publication
path it was written for, and cover the hold-back itself in a new tes... (continued)

941 of 1182 branches covered (79.61%)

Branch coverage included in aggregate %.

2867 of 3300 relevant lines covered (86.88%)

13.47 hits per line

Coverage Regressions

Lines Coverage ∆ File
107
76.96
50.02% com/knowledgepixels/registry/Task.java
5
86.69
86.69% com/knowledgepixels/registry/ListPage.java
2
90.15
82.12% com/knowledgepixels/registry/NanopubLoader.java
2
98.5
24.68% com/knowledgepixels/registry/RegistryDB.java
1
94.92
89.83% com/knowledgepixels/registry/DebugPage.java
1
90.91
90.91% com/knowledgepixels/registry/ResourcePage.java
Jobs
ID Job ID Ran Files Coverage
1 run-temurin-23 - 32111416371.1 18 Aug 2026 07:28AM UTC 31
84.96
GitHub Action Run
2 run-temurin-21 - 32111416371.2 18 Aug 2026 07:28AM UTC 31
84.96
GitHub Action Run
3 run-temurin-25 - 32111416371.3 18 Aug 2026 07:28AM UTC 31
84.96
GitHub Action Run
Source Files on build 32111416371
  • Tree
  • List 31
  • Changed 17
  • Source Changed 0
  • Coverage Changed 17
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #32111416371
  • 638c3da0 on github
  • Prev Build on main (#32011291538)
  • Next Build on main (#32814959591)
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