Health check for jobs-runner?

Hi,

We are running a self-hosted setup on GCP Cloud Run, with two services: api and jobs-runner. The jobs-runner service is used exclusively for database migrations and does not serve any requests.

However, jobs-runner is always marked as unhealthy because Cloud Run expects an endpoint for health checks, which jobs-runner does not have.

Is there an existing health check endpoint for jobs-runner that we can use, or can one be added?

If not, is it safe to start jobs-runner only during a Retool upgrade to perform database migrations, and then shut it down afterward?

Thanks!

Hi @Tumi_Gislason,

Do you see errors in the jobs runner logs? Happy to take a look if you send us the logs.

You can monitor the status of the jobs-runner container using its health check endpoint: http://[container_ip]:3003/api/checkJobsRunnerHealth.