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

archetech / archon / 38331516593
93%

Build:
DEFAULT BRANCH: main
Ran 13 Oct 2026 01:28AM UTC
Jobs 1
Files 106
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

13 Oct 2026 01:18AM UTC coverage: 95.007%. Remained the same
38331516593

push

github

web-flow
fix(hyperswarm): retry IPFS peers after transient failures (#1388)

* fix(hyperswarm): retry IPFS peers after transient failures

Since #994 the mediator recorded each announced peer as added before
resolving its DID, so one failed attempt left that node unpeered for the
life of the process. On a cold start, Gatekeeper stalls timed out every
lookup and the node ran with zero IPFS peers until restarted. A peer whose
DID document lacked node info was dropped silently, and a peer with no
dialable address was logged as added and announced to other nodes without
being peered.

Peer state now lives in a PeerTracker keyed by DID suffix. Resolution
errors, missing node info and unreachable addresses are retried with
exponential backoff (1 to 30 minutes); pings and the connection loop both
trigger due retries, one pass at a time. Only peered nodes are announced.
KuboClient.addPeeringPeer reports whether it wrote the peer, failure
reasons are logged on every attempt, and a mediator_peer_candidates gauge
shows peers by state.

Fixes #1378

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(hyperswarm): keep announcing resolved peers and ignore self aliases

Review follow-up for #1388:

- Announce every DID that resolved to IPFS node info, including one this
  node cannot dial yet, since other nodes may reach it. This also keeps
  mediator_known_nodes counting resolved DIDs, as documented.
- Mark a DID that resolves to this node's own IPFS node as ignored instead
  of reporting it as peered and announcing it.
- Fall back when describeError cannot serialize a failure, so the retry
  is still scheduled.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

3567 of 3984 branches covered (89.53%)

Branch coverage included in aggregate %.

3 of 3 new or added lines in 1 file covered. (100.0%)

9848 of 10136 relevant lines covered (97.16%)

22080.96 hits per line

Jobs
ID Job ID Ran Files Coverage
1 38331516593.1 13 Oct 2026 01:28AM UTC 106
95.01
GitHub Action Run
Source Files on build 38331516593
  • Tree
  • List 106
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #38331516593
  • 69116123 on github
  • Prev Build on main (#38311641674)
  • Next Build on main (#38332177517)
  • 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