hasura / hasura/graphql-engine

/healthz should not return OK until auto migrations have finished

Open
#3,653 6 comments 1 reaction 0 assignees View on GitHub
c/migrations c/server support/needs-action
Dominant language
TypeScript
Stars
32.1k
Forks
3k
PR merge metrics
PR metrics pending

Description

I'm using the `.cli-migrations` docker image for auto migrations.

### Problem

`/healthz` endpoint returns OK before migrations have finished. This ruins my zero-downtime deployments on Render.com which uses `/healthz` as the indicator for when the new deployment is ready.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.