obs: health-check usług mówi DLACZEGO są nieosiągalne + log rozwiązanych adresów #9

Merged
gitea merged 1 commits from service-health-observability into main 2026-08-01 11:52:07 +00:00

1 Commits

Author SHA1 Message Date
gitea dd43ebfaa9 Make service health-check self-diagnosing
CI / compile (pull_request) Successful in 16s
CI / unit (pull_request) Successful in 22s
CI / integration (pull_request) Successful in 14s
When a service group's cog stays disabled the log now says WHY:
_service_health returns the actual connection error (ConnectionError
= refused/down, ConnectTimeout = firewall/slow, gaierror = DNS/wrong
host) instead of a bare 'unreachable', and on_ready logs the resolved
FILE/LIBRARIAN/RADIO addresses so an env-var that never reached the
process (address falls back to the 192.168.1.15:5000 default) is
obvious at a glance.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-08-01 13:49:23 +02:00