~bigbes/sr-ht-compare: aca0674e

instconf: the origin ladder and the one-pass config check

validateConfig kept its shape and lost its body. instconf.Require is the
same decision — every missing key in one record, one exit, so an operator
edits config.ini once instead of restarting per gap — and firstConfigured
was this service's copy of the four-key API-origin ladder core-go panics
at the end of. NeedAny is handed APIOriginKeys() rather than the four
names written out, so the startup check and InternalAPIOrigin cannot
drift apart the way two literal lists eventually do.

bigbes <bigbes@gmail.com> — 2026-08-08 21:20:56 UTC

Commit aca0674ecc05078029322fd6343378768f3bbc40view raw patch

Parent(s): 07736d95

1 changed file(s)

FileStatus+
cmd/comparesrht/main.go M +26 -37