Skip to content

test(dns): restore coverage for resolveServiceName error path

cf6acce
Select commit
Loading
Failed to load commit list.
Merged

feat(agent): add system facts, routes, fact references, and validation #227

test(dns): restore coverage for resolveServiceName error path
cf6acce
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Mar 6, 2026 in 1s

99.98% (+1.03%) compared to a76f54e

View this Pull Request on Codecov

99.98% (+1.03%) compared to a76f54e

Details

Codecov Report

✅ All modified and coverable lines are covered by tests.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #227      +/-   ##
==========================================
+ Coverage   98.94%   99.98%   +1.03%     
==========================================
  Files         161      166       +5     
  Lines        5611     6009     +398     
==========================================
+ Hits         5552     6008     +456     
+ Misses         50        1      -49     
+ Partials        9        0       -9     
Files with missing lines Coverage Δ
internal/agent/condition.go 100.00% <ø> (ø)
internal/agent/consumer.go 100.00% <100.00%> (ø)
internal/agent/factory.go 100.00% <100.00%> (ø)
internal/agent/factref.go 100.00% <100.00%> (ø)
internal/agent/facts.go 100.00% <100.00%> (ø)
internal/agent/handler.go 100.00% <100.00%> (ø)
internal/agent/heartbeat.go 100.00% <100.00%> (ø)
internal/api/agent/agent_list.go 100.00% <100.00%> (+22.38%) ⬆️
internal/api/node/node_load_get.go 100.00% <ø> (ø)
internal/api/node/node_memory_get.go 100.00% <ø> (ø)
... and 35 more

... and 3 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a76f54e...cf6acce. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.