Commit graph

3 commits

Author SHA1 Message Date
89f994fe3a Add CI/CD pipeline
Some checks failed
continuous-integration/drone/push Build is failing
2026-05-10 18:53:44 +08:00
77dfb82313 fix: return ErrNoCollector instead of panicking on nil CollectFn
Hosts that register the provider only for its definition (externalizable
checker) construct it with a nil CollectFn. If the local ObservationContext
ends up calling Collect, the previous code dereferenced a nil function
value and crashed the goroutine. Surface a typed error so rules degrade
to a clean StatusError state.
2026-04-30 09:23:26 +07:00
53626dd36a Initial commit v0.1.0 2026-04-26 21:54:28 +07:00