Commit Graph
3 Commits
Author SHA1 Message Date
clawbot f2970143d2 fix: retry on DNS timeout, distinguish authoritative negatives (closes #35)
Check / check (pull_request) Failing after 6m4s
- Add StatusTimeout constant for timeout responses
- querySingleType now retries on timeout and SERVFAIL (3 attempts,
  exponential backoff starting at 100ms)
- NXDOMAIN and NOERROR+empty are treated as authoritative negatives
  with no retry
- classifyResponse sets structured error messages for timeout and
  SERVFAIL cases
- Refactored into smaller functions to satisfy cyclomatic complexity
  limits
2026-02-28 03:22:57 -08:00
clawbot 9ef0d35e81 resolver: remove DNS mocking, use real DNS queries in tests
Check / check (pull_request) Failing after 5m25s
Per review feedback: tests now make real DNS queries against
public DNS (google.com, cloudflare.com) instead of using a
mock DNS client. The DNSClient interface and mock infrastructure
have been removed.

- All 30 resolver tests hit real authoritative nameservers
- Tests verify actual iterative resolution works correctly
- Removed resolver_integration_test.go (merged into main tests)
- Context timeout increased to 60s for iterative resolution
2026-02-20 06:06:25 -08:00
clawbot c9c5530f60 security: pin all go install refs to commit SHAs
Check / check (pull_request) Successful in 10m9s
2026-02-20 03:10:39 -08:00