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

rm-hull / dot-block / 27071970778
61%

Build:
DEFAULT BRANCH: main
Ran 06 Jun 2026 07:41PM UTC
Jobs 1
Files 22
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

06 Jun 2026 07:40PM UTC coverage: 47.39% (+0.4%) from 46.95%
27071970778

push

github

web-flow
fix: separate dial and read timeouts for upstream connections (#139)

* fix: separate dial and read timeouts for upstream connections

- Replaced `--connection-timeout` with `--dial-timeout` and
`--read-timeout` to allow finer control over connection establishment
versus response wait times.
- Updated `ConnPool` to use an explicit `net.Dialer` for dialing.
- Adjusted default timeout values to 300ms for both operations.

* feat: support upstream DNS without explicit port

- Update upstream configuration to assume port 53 if omitted.
- Add `resolveUpstream` helper to resolve and normalize addresses.
- Update documentation and default values to reflect the change.
- Refactor telemetry latency logging to use string representation.
- Fix style inconsistencies in `ConnPool` struct definition.

* fix: record failed pooled connections

Ensure pooled connection failures are tracked in metrics before
abandoning the connection, improving observability into pool health.

* feat: add write-timeout configuration for DNS upstream

- Added `--write-timeout` CLI flag with a default of 500ms.
- Updated `dns.Client` configuration to explicitly set `WriteTimeout`,
`ReadTimeout`, and `DialTimeout`.
- Refactored `ConnPool` to use the client's built-in dialer for cleaner
connection management.

24 of 37 new or added lines in 4 files covered. (64.86%)

799 of 1686 relevant lines covered (47.39%)

1027.35 hits per line

Uncovered Changes

Lines Coverage ∆ File
9
49.64
6.44% internal/forwarder/round_robin_client.go
3
0.0
0.0% main.go
1
0.0
0.0% internal/app.go
Jobs
ID Job ID Ran Files Coverage
1 27071970778.1 06 Jun 2026 07:40PM UTC 22
47.39
GitHub Action Run
Source Files on build 27071970778
  • Tree
  • List 22
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • f8a8c7a9 on github
  • Prev Build on main (#27068764937)
  • Next Build on main (#27073779321)
  • 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