You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The optimization jobs feature returns "Optimization jobs are not configured" in production because the OPTIMIZATION_JOBS_DB connection string environment variable is not set in the Cloud Run service.
The health probe no longer blocks on this being unconfigured (fixed in hotfix merged to main today), but the feature itself remains non-functional without the DB
optimization_job_workers_expected and optimization_job_workers_healthy are both 0 in production
Problem
The optimization jobs feature returns "Optimization jobs are not configured" in production because the
OPTIMIZATION_JOBS_DBconnection string environment variable is not set in the Cloud Run service.The health endpoint confirms this:
What's needed
OPTIMIZATION_JOBS_DBconnection string as a secret/env var in the Cloud Run service (infra/cloud-run/service.yaml)Context
optimization_job_workers_expectedandoptimization_job_workers_healthyare both0in production/cc @phongndo