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

rm-hull / dot-block / 19306860444
43%

Build:
DEFAULT BRANCH: main
Ran 12 Nov 2025 05:53PM UTC
Jobs 1
Files 13
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

12 Nov 2025 05:53PM UTC coverage: 52.901% (-0.6%) from 53.547%
19306860444

push

github

web-flow
feat: Add scheduled DNS cache reaper (#23)

* feat: Add scheduled DNS cache reaper

Implements an automated cron job to regularly clean up
expired entries from the DNS cache.

- Runs every 10 minutes (`@every 10m`).
- Adds `dns_cache_reaper_calls` metric to monitor usage.

Fixes #8

* refactor: Rename generic cron jobs for clarity

The generic `CronJob` structures and constructors have been
renamed to better reflect their responsibilities:

*   Blocklist cron job renamed to `Downloader`.
*   Forwarder cron job renamed to `CacheReaper`.

* feat: Separate cron job schedules

The blocklist downloader and the cache reaper jobs now have
independent, configurable schedules.

This allows users to configure the refresh frequency for the
blocklist (default `@every 19h`) separately from the frequency
of the internal cache cleaning (default `@every 10m`).

- Updates the `App` structure to hold separate schedules.
- Introduces flags `--cron-schedule:downloader` and
  `--cron-schedule:cache-reaper`.

* Update internal/forwarder/cache_reaper.go

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

---------

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

7 of 36 new or added lines in 5 files covered. (19.44%)

392 of 741 relevant lines covered (52.9%)

0.57 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
0.0
0.0% main.go
5
0.0
0.0% internal/app.go
10
0.0
internal/forwarder/cache_reaper.go
12
0.0
0.0% internal/blocklist/downloader.go
Jobs
ID Job ID Ran Files Coverage
1 19306860444.1 12 Nov 2025 05:53PM UTC 13
52.9
GitHub Action Run
Source Files on build 19306860444
  • Tree
  • List 13
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • adb489b5 on github
  • Prev Build on main (#19289868891)
  • Next Build on main (#19307150065)
  • 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