I can imagine helathcheck scripts that could be written to detect some early unrecoverable errors like service unavailable 503 (still deploying, there is still hope) vs 404 (not deployed, and probably won’t be). I just don’t see how this additional info can be passed via current healthcheck API which only allows for 0 (healthy) or 1 (unhealthy).
So is there any way to achieve this in current healthchecks?
If no, then are there any chances for this being accepted as feature request ?