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

gdassori / micelio / 22017402224
85%

Build:
DEFAULT BRANCH: master
Ran 14 Feb 2026 12:34PM UTC
Jobs 1
Files 20
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

14 Feb 2026 12:33PM UTC coverage: 84.417% (+0.1%) from 84.288%
22017402224

push

github

gdassori
Add configuration validation

- Add Config.Validate() method that checks all config fields
- Validate network and SSH listen addresses (host:port format)
- Validate bootstrap peer addresses (reject wildcards)
- Validate MaxPeers >= 0
- Validate ExchangeInterval and DiscoveryInterval > 0
- Validate log level (debug/info/warn/warning/error)
- Return all validation errors as joined error (not just first)
- Call Validate() in main.go after config load and CLI overrides
- Add comprehensive test suite with 11 test functions

All tests pass with -race detector, golangci-lint 0 issues.

Closes #20

1961 of 2323 relevant lines covered (84.42%)

244.84 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
2
90.96
-0.55% discovery.go
2
74.34
-1.32% noise.go
6
94.92
2.61% config.go
19
0.0
0.0% main.go
Jobs
ID Job ID Ran Files Coverage
1 22017402224.1 14 Feb 2026 12:34PM UTC 20
84.42
GitHub Action Run
Source Files on build 22017402224
  • Tree
  • List 20
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #22017402224
  • c3639f15 on github
  • Prev Build on master (#22017286153)
  • Next Build on master (#22017454552)
  • Delete
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