happyDomain/internal/api
Pierre-Olivier Mercier 50badc5811 checkers: store observations as json.RawMessage with cross-checker reuse
Refactor observation data pipeline to serialize once after collection and
keep json.RawMessage throughout storage and API responses. This eliminates
double-serialization and makes DB round-trips lossless.

Key changes:
- ObservationGetter.Get() adopts json.Unmarshal semantics (dest any)
- ObservationSnapshot.Data uses map[ObservationKey]json.RawMessage
- Add freshness-based observation cache (ObservationCacheStorage) that
  stores lightweight snapshot pointers, enabling cross-checker reuse of
  recent observations without re-collecting
2026-04-05 17:09:54 +07:00
..
controller checkers: store observations as json.RawMessage with cross-checker reuse 2026-04-05 17:09:54 +07:00
middleware Add context.Context to ProviderUsecase and DomainUsecase interfaces 2026-03-30 21:54:54 +07:00
route checkers: show worst check status badge on domain list 2026-04-05 11:58:00 +07:00