checker-ping/checker
Pierre-Olivier Mercier 2aa596afd5 Address publication review feedback
Add the AGPL LICENSE file and a deployment-security note in the README
to clarify that the unauthenticated /collect endpoint must run on a
trusted network.

Fix the IPv6 reachability rule so it consults the IP actually probed:
PingTargetResult now carries ResolvedIP populated from pinger.IPAddr(),
which lets the rule classify hostname targets correctly instead of
always reporting "No IPv6 target pinged".

Tighten error handling: ipsFromService now propagates JSON errors,
ExtractMetrics wraps decode failures, the count option returns an
explicit error when out of range instead of silently clamping, and the
"all pings failed" message no longer concatenates every per-target
error. Threshold validation is factored into validateThresholdPair and
shared between the RTT and packet-loss rules.

Add unit tests covering address resolution, threshold validation, and
each rule's evaluation paths.
2026-04-26 18:05:47 +07:00
..
collect.go Address publication review feedback 2026-04-26 18:05:47 +07:00
collect_test.go Address publication review feedback 2026-04-26 18:05:47 +07:00
definition.go Migrate to checker-sdk-go v1.3.0 with standalone build tag 2026-04-26 10:19:13 +07:00
evaluate.go checker: split monolithic rule into per-concern rules 2026-04-26 10:19:18 +07:00
interactive.go Migrate to checker-sdk-go v1.3.0 with standalone build tag 2026-04-26 10:19:13 +07:00
provider.go Address publication review feedback 2026-04-26 18:05:47 +07:00
rule.go Address publication review feedback 2026-04-26 18:05:47 +07:00
rule_test.go Address publication review feedback 2026-04-26 18:05:47 +07:00
rules_ipv6.go Address publication review feedback 2026-04-26 18:05:47 +07:00
rules_ipv6_test.go Address publication review feedback 2026-04-26 18:05:47 +07:00
rules_loss.go Address publication review feedback 2026-04-26 18:05:47 +07:00
rules_loss_test.go Address publication review feedback 2026-04-26 18:05:47 +07:00
rules_reachability.go checker: split monolithic rule into per-concern rules 2026-04-26 10:19:18 +07:00
rules_reachability_test.go Address publication review feedback 2026-04-26 18:05:47 +07:00
rules_rtt.go Address publication review feedback 2026-04-26 18:05:47 +07:00
rules_rtt_test.go Address publication review feedback 2026-04-26 18:05:47 +07:00
types.go Address publication review feedback 2026-04-26 18:05:47 +07:00