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

rm-hull / dot-block / 29655947777
62%

Build:
DEFAULT BRANCH: main
Ran 18 Jul 2026 06:30PM UTC
Jobs 1
Files 38
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

18 Jul 2026 06:28PM UTC coverage: 61.847% (-1.3%) from 63.172%
29655947777

push

github

web-flow
feat: add temporal blocklist disable functionality (#207)

* feat: add temporal blocklist disable functionality

Introduced a mechanism to temporarily bypass the blocklist, allowing for
 troubleshooting or maintenance. Added administrative HTTP endpoints to
manage this state and view the current blocklist status.

### Data Flow
```mermaid
sequenceDiagram
    participant User
    participant Handler as BlocklistHandler
    participant BL as BlockList

    User->>Handler: POST /blocklist/disable
    Handler->>BL: Disable(duration)
    BL->>BL: Set disabledUntil timestamp

    Note over User, BL: Subsequent DNS queries check disabledUntil

    User->>Handler: POST /blocklist/reenable
    Handler->>BL: Reenable()
    BL->>BL: Clear disabledUntil
```

* fix: correct blocklist status API and add validation

- Fix typo in `BlocklistStatus` struct (`Unitl` -> `Until`).
- Update `Status()` to return `nil` for `Until` if not disabled.
- Add validation to `Disable` handler to ensure positive duration.
- Remove redundant log statement in `IsBlocked`.

23 of 89 new or added lines in 4 files covered. (25.84%)

1694 of 2739 relevant lines covered (61.85%)

647.4 hits per line

Uncovered Changes

Lines Coverage ∆ File
37
39.36
-25.55% internal/http/handlers/blocklist.go
29
67.42
-30.58% internal/blocklist/blocklist.go
Jobs
ID Job ID Ran Files Coverage
1 29655947777.1 18 Jul 2026 06:30PM UTC 38
61.85
GitHub Action Run
Source Files on build 29655947777
  • Tree
  • List 38
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • cd90c253 on github
  • Prev Build on main (#29655593154)
  • Next Build on main (#29656162434)
  • 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