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

dnsimple / erldns / 20259632707
84%

Build:
DEFAULT BRANCH: main
Ran 16 Dec 2025 07:14AM UTC
Jobs 1
Files 43
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

16 Dec 2025 07:12AM UTC coverage: 84.125% (+0.3%) from 83.854%
20259632707

push

github

web-flow
Support for Zone Files & Better parallel loading (#291)

This Pull Request introduces two major enhancements to the `erldns` zone loading subsystem:
- The ability to load standard DNS zone files (in addition to the existing JSON format)
- A significant performance improvement via parallel file loading

Key Changes:
1. Standard Zone File Support: the server can now ingest standard RFC-style DNS zone files. Previously, `erldns` was restricted to loading zones formatted strictly as JSON, allowing for easier migration and compatibility with existing DNS workflows (e.g., BIND zone files).
2. Parallel Zone Loading: the parallel loading process has been refactored from a very ad-hoc mechanism to a more organised one, with better supervision trees and GC characteristics. This is particularly beneficial for deployments with a large number of zones, significantly reducing startup and reload times.
    - The gist is that the loader is now divided into two, a dynamic supervisor and a getter. The getter gets all the files, and for each file, tells the dynamic supervisor to start a worker. Workers will then run the entire logic of the file, and upon termination will GC the entire operations at once. As during startup we want to ensure the machine is ready as soon as possible, we want maximise throughput.

A good entrypoint for reviews is the documentation changes for `erldns_zones`.

177 of 208 new or added lines in 8 files covered. (85.1%)

1399 of 1663 relevant lines covered (84.13%)

1254.6 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
62.5
src/zones/erldns_zone_decoder.erl
6
84.62
src/zones/load/erldns_zone_loader.erl
7
90.54
src/zones/load/erldns_zone_loader_getter.erl
16
75.76
src/zones/load/erldns_zone_loader_worker.erl
Jobs
ID Job ID Ran Files Coverage
1 20259632707.1 16 Dec 2025 07:14AM UTC 43
84.13
GitHub Action Run
Source Files on build 20259632707
  • Tree
  • List 43
  • Changed 5
  • Source Changed 2
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #20259632707
  • 791bdd3a on github
  • Prev Build on main (#20236685430)
  • Next Build on main (#20390851700)
  • 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

© 2025 Coveralls, Inc