Commit Graph
3 Commits
Author SHA1 Message Date
81c6d6e4ff fix: downgrade go directive to 1.24 and pin GOTOOLCHAIN=local
go.mod specified go 1.25.6 which triggered automatic toolchain download
via Go's toolchain management. Go 1.25 removed the covdata tool, causing
the CI test step to fail with 'go: no such tool covdata'.

Changes:
- go.mod: downgrade 'go 1.25.6' to 'go 1.24' to match CI setup-go version
- ci.yml: add GOTOOLCHAIN=local env at job level to prevent auto-download
  of newer toolchain versions

Fixes CI failure on main branch.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: multica-agent <github@multica.ai>
2026-06-08 09:10:36 +10:00
multica-agent fe1afe2a97 Phase 4.1: Error handling, edge cases, and robustness (#11)
CI / test (push) Failing after 2m36s
2026-06-07 17:24:00 +00:00
Garyandmultica-agent fce7920611 feat: add DNS query/response layer with miekg/dns
Phase 1.2 implementation:

- internal/dns/types.go: DNS record type constants (A, AAAA, NS, CNAME, SOA,
  MX, TXT, SRV, PTR, ANY) with QNameType helper and EDNS0 defaults
- internal/dns/query.go: Query/QueryWithExchange with UDP, configurable
  EDNS0 buffer size, TCP fallback on truncation, always-TCP mode, configurable
  retries with timeout, context support, and injectable ExchangeFunc for testing
- internal/dns/decode.go: Response classification (answer, referral, NODATA,
  NXDOMAIN, SERVFAIL), CNAME chain extraction with dedup, truncation/RCODE
  detection, and section extraction utilities

32 unit tests covering all acceptance criteria.

Co-authored-by: multica-agent <github@multica.ai>
2026-06-05 15:14:56 +10:00