You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Stale comments: per-job completion in runner.go, CNAME-only takeover column #233
runner.go says "each job still reports its own completion as soon as it is done". Since Dispatcher handshake serializes every job at about 260k jobs/s #184 a worker collects its chunk's completions and sends them in one completed <- done once the whole chunk is finished (runner.go:746-767). The comment at runner.go:148-150 and the CHANGELOG describe this correctly.
writer.go says the CLI sets the takeover column "when CNAME records are requested, the only case that yields hints". The CLI calls w.SetTakeoverColumn(dns.HintsTakeover(s.in.recordTypes)) (main_session.go:439), and HintsTakeover is true for CNAME or NS, because NS yields dangling-ns (Support NS, MX and TXT record types with a dangling-NS takeover hint #194).
Impact
Readers of the engine get a wrong picture of when completions arrive (which matters for the resume watermark) and of which record types produce takeover hints.
Suggested fix
Reword both comments to match the code. Comment-only change.
Activity
TMHSDigital commentedon Nov 12, 2026
Fixed in 1be9a54. Both comments now match the code:
runner.go: a worker reports a whole chunk's completions in one send.SetTakeoverColumn: CNAME or NS lookups yield hints, perdns.HintsTakeover.Comment-only change. Verified:
go build ./...,go vetand golangci-lint pass on both packages.