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

rm-hull / dot-block / 19119954583
43%

Build:
DEFAULT BRANCH: main
Ran 05 Nov 2025 11:50PM UTC
Jobs 1
Files 8
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

05 Nov 2025 11:47PM UTC coverage: 56.611% (+0.4%) from 56.18%
19119954583

push

github

rm-hull
fix: Allow lookup when eTLD+1 derivation fails

This corrects an issue where `publicsuffix.EffectiveTLDPlusOne`
would return an error for certain apex domains (e.g.,
`s3.amazonaws.com.`), leading to false error returns.

The logic now ignores errors indicating that the domain is
effectively the apex domain itself.

This commit also includes refactoring of Prometheus metric
registration:

*   Moves `shouldRegister` helper into a new file.
*   Uses `shouldRegister` instead of `MustRegister` to prevent
    panics during testing due to re-registration.
*   Localizes `blockList` initialization in tests to improve
    isolation.

11 of 13 new or added lines in 2 files covered. (84.62%)

304 of 537 relevant lines covered (56.61%)

0.62 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
75.0
internal/prometheus_helper.go
Jobs
ID Job ID Ran Files Coverage
1 19119954583.1 05 Nov 2025 11:50PM UTC 8
56.61
GitHub Action Run
Source Files on build 19119954583
  • Tree
  • List 8
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • eeff3127 on github
  • Prev Build on main (#19118609388)
  • Next Build on main (#19132617097)
  • 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