• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In
Warning: This build has drifted.
The coverage report for this pull request build may be inaccurate because its base commit is no longer the HEAD of its target branch.
This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

    • Learn more: For more information on this, see Tracking coverage changes for pull request builds.
    • Fix now: For a quick fix, rebase this PR at GitHub. Your next report should be accurate.
    • Prevent going forward: To avoid this issue with future PRs, see these Recommended CI Configurations.
New Repo Setting:
INCLUDE COVERAGE % WITH WARNINGS ABOUT DRIFTED BUILDS?

Enabling this setting will include a (potentially inaccurate) coverage % with warning messages in status updates for drifted builds.

Adjust setting

rm-hull / dot-block / 29687075551
66%
main: 66%

Build:
Build:
LAST BUILD BRANCH: dependabot/go_modules/github.com/prometheus/client_golang-1.24.0
DEFAULT BRANCH: main
Ran 19 Jul 2026 12:30PM UTC
Jobs 1
Files 39
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

19 Jul 2026 12:29PM UTC coverage: 62.024% (+0.1%) from 61.877%
29687075551

Pull #210

github

rm-hull
refactor: use pointers for blocklists throughout

Switch from passing `blocklist.BlockList` by value to
`*blocklist.BlockList` to ensure consistent state management, avoid
unnecessary copying, and improve memory efficiency.

- Updated `BlockList` structs to hold `lastUpdated` pointer.
- Standardized `ScannerFunc` for file processing.
- Refactored `BlockList` methods to utilize pointer receivers
consistently.

```mermaid
graph TD
    A[App/Dispatcher] -->|Manages| B(Slice of Pointers)
    B --> C[BlockList 0]
    B --> D[BlockList N]
    C -->|Shared State| E[Bloom Filter]
    C -->|Shared State| F[LastUpdated Time]
```
Pull Request #210: feat: support multiple blocklists

89 of 147 new or added lines in 6 files covered. (60.54%)

3 existing lines in 3 files now uncovered.

1710 of 2757 relevant lines covered (62.02%)

647.43 hits per line

Uncovered Changes

Lines Coverage ∆ File
20
40.95
1.59% internal/http/handlers/blocklist.go
19
67.44
-0.23% internal/blocklist/blocklist.go
7
80.0
internal/blocklist/loader.go
7
27.27
-37.62% internal/blocklist/update.go
5
61.82
0.42% internal/app.go

Coverage Regressions

Lines Coverage ∆ File
1
61.82
0.42% internal/app.go
1
27.27
-37.62% internal/blocklist/update.go
1
40.95
1.59% internal/http/handlers/blocklist.go
Jobs
ID Job ID Ran Files Coverage
1 29687075551.1 19 Jul 2026 12:30PM UTC 39
62.02
GitHub Action Run
Source Files on build 29687075551
  • Tree
  • List 39
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #210
  • PR Base - main (#29685578259)
  • 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