checker-sdk-go/checker
Pierre-Olivier Mercier 2fa44f69a4 server: return 500 status on collect errors instead of 200
Errors from provider.Collect() and json.Marshal were returned with HTTP
200, making failures invisible to monitoring, proxies, and clients that
check status codes. Return 500 Internal Server Error so HTTP-level
tooling can detect failures without parsing the response body.
2026-04-10 16:43:56 +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 tests: add coverage for options, types, and HTTP server 2026-04-10 16:35:50 +07:00
server.go server: return 500 status on collect errors instead of 200 2026-04-10 16:43:56 +07:00
server_test.go server: return 500 status on collect errors instead of 200 2026-04-10 16:43:56 +07:00
types.go checker: reorder Status with negatives for good, JSON as string 2026-04-08 22:16:41 +07:00
types_test.go tests: add coverage for options, types, and HTTP server 2026-04-10 16:35:50 +07:00