Commit graph

3 commits

Author SHA1 Message Date
688d32cc9f registry: reject checker registration with empty ID
Prevent silent bugs where a CheckerDefinition with an unset ID
would be registered under the empty string key, becoming unfindable
and potentially colliding with other empty-ID registrations.
2026-04-10 16:24:39 +07:00
8e2ba83a0d registry: refuse duplicate registrations with a warning
RegisterChecker and RegisterObservationProvider previously overwrote
existing entries silently, which lets a misconfigured plugin shadow a
built-in (or another plugin) without any signal. Refuse the duplicate
and keep the existing entry instead.

RegisterExternalizableChecker now performs the dedup check before
appending the "endpoint" AdminOpt, so a rejected re-registration no
longer mutates the live definition.
2026-04-08 20:42:25 +07:00
8160adcdca Initial commit 2026-04-08 00:53:15 +07:00