Support guidelines
I've found a bug and checked that ...
Description
Right now, application shutdown triggers healthcheck failures which leads to notifications:
|
di.HealthchecksFail("Application closed") |
This includes things like simply restarting diun, which probably shouldn't notify.
Expected behaviour
I would expect healthcheck failures to only trigger when there is an issue running diun (or when diun hasn't run in a certain amount of time, which healthchecks.io already handles for you).
Actual behaviour
healthchecks.io notifies you of a diun failure whenever you restart diun.
Steps to reproduce
- Restart diun
- Get a healthchecks.io failure notification
Diun version
v4.29.0
Docker info
Docker Compose config
Logs
Fri, 08 Aug 2025 23:53:28 UTC WRN Caught signal terminated
Additional info
No response
Support guidelines
I've found a bug and checked that ...
Description
Right now, application shutdown triggers healthcheck failures which leads to notifications:
diun/internal/app/diun.go
Line 196 in e99c109
This includes things like simply restarting diun, which probably shouldn't notify.
Expected behaviour
I would expect healthcheck failures to only trigger when there is an issue running diun (or when diun hasn't run in a certain amount of time, which healthchecks.io already handles for you).
Actual behaviour
healthchecks.io notifies you of a diun failure whenever you restart diun.
Steps to reproduce
Diun version
v4.29.0
Docker info
Docker Compose config
Logs
Additional info
No response