Health Check API does not report "unhealthy" status when the UI does - pending DB migrations
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Summary
When there are pending migrations, the health_check UI shows "current status Unhealthy"
Now if we run the health_check from this page we never get this failed state. The Status is always "OK".
Steps to reproduce
- Upgrade GitLab without applying migrations
- check the health via UI https://gitlab.com/admin/health_check
- check the health via API
What is the current bug behavior?
The health_check in the UI and the health_check in the API are inconsistent.
What is the expected correct behavior?
UI and API should show the same health_check information.
Edited by 🤖 GitLab Bot 🤖

