checker-sdk-go/checker
Pierre-Olivier Mercier 33660e619e checker: add ObservationSharer interface for result mutualisation
Add an optional ObservationSharer interface that an ObservationProvider can
implement to declare that its observation depends only on a subset of the
inputs. ShareKey returns a stable, pure key derived from the inputs that
affect the result; two collections with the same key produce identical data,
letting the host serve one from the other instead of recollecting per target.

This is the contract a host (happyDomain) uses to mutualise expensive probes
(e.g. a single ping per address set) across every check target that resolves
to the same key, while providers that depend on the target (HTTP host, ...)
simply do not implement it and keep per-target behaviour.
2026-06-18 15:06:21 +09:00
..
server checker: add CheckEnabler interface for data-driven eligibility 2026-05-29 23:53:35 +08:00
context.go checker: pass EnabledRules to Collect via context 2026-05-19 22:10:39 +08:00
names.go checker: add JoinRelative helper for service-relative owner names 2026-04-30 08:47:29 +07:00
options.go Initial commit 2026-04-08 00:53:15 +07:00
options_test.go tests: add coverage for options, types, and HTTP server 2026-04-10 16:35:50 +07:00
registry.go registry: reject checker registration with empty ID 2026-04-10 16:24:39 +07:00
registry_test.go Fix comments 2026-04-24 11:22:22 +07:00
types.go checker: add ObservationSharer interface for result mutualisation 2026-06-18 15:06:21 +09:00
types_test.go checker: thread rule states into ReportContext 2026-04-24 17:31:17 +07:00