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

archetech / archon / 30721660868
94%

Build:
DEFAULT BRANCH: main
Ran 01 Aug 2026 10:40PM UTC
Jobs 1
Files 88
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

01 Aug 2026 10:37PM UTC coverage: 91.941% (+1.3%) from 90.652%
30721660868

push

github

web-flow
test(ipfs): cover the kubo client (#824)

packages/ipfs/src/kubo-client.ts had zero coverage — the second-largest
gap surfaced by collectCoverageFrom in #822, and the largest remaining
after #823. 31 tests take it to 99.1% (115/116).

The class is a thin wrapper over kubo-rpc-client, so the tests mock that
one module and exercise everything else for real: connect and the
readiness wait, content add/get for text, binary and streams, JSON block
round-trips, identity, peer dialling, and peering configuration.

Notable coverage:

- addJSON derives the CID locally from the encoded block rather than
  trusting the daemon, so the tests assert equal payloads yield equal
  CIDs, different payloads differ, and the stored block decodes back to
  the original.
- getAddresses filters private addresses; covered across IPv4 loopback
  and RFC1918, IPv6 loopback, public v4 and v6, and a /dns4/ multiaddr
  that matches no ip pattern and is dropped.
- addPeer rejects a malformed address or a private IP *without dialling*,
  which is the SSRF-shaped guard, plus the unrecognized-response and
  dial-failure paths.
- addPeeringPeer skips self, keeps only dialable addresses, writes
  nothing when none are dialable, and merges into an existing entry
  without duplicating.

waitUntilReady is driven with intervalSeconds: 0 and a maxRetries bound
so the retry loop neither sleeps nor leaves a timer behind — CI runs
without --forceExit.

No findings this time: unlike the sqlite backend, the error handling here
matches what the types promise. Repo total 93.84% -> 95.19%.

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>

3457 of 4060 branches covered (85.15%)

Branch coverage included in aggregate %.

8100 of 8510 relevant lines covered (95.18%)

668.99 hits per line

Jobs
ID Job ID Ran Files Coverage
1 30721660868.1 01 Aug 2026 10:40PM UTC 176
93.21
GitHub Action Run
Source Files on build 30721660868
  • Tree
  • List 88
  • Changed 73
  • Source Changed 0
  • Coverage Changed 73
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #30721660868
  • e6abfa9e on github
  • Prev Build on main (#30719926489)
  • Next Build on main (#30722663763)
  • Delete
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