Health checks should return expected format (text or json) when the deploy page is active
As highlighted here !424 (comment 218623877)
When the deploy page is active, the current behaviour is that health checks return the html deploy page. It would make sense to keep returning the same format (text for /-/health
, json for /-/readiness
and /-/liveness
).
That way the experience is consistent and downstream clients are not confused by this if they try to parse the ouptut.
More context related to HTML in health checks:
Edited by Adrien Kohlbecker