CALIBER
Quickstart
Operate CALIBER

Health and readiness

The operator meaning of CALIBER liveness, readiness, and the deeper evidence surfaces to use when a runtime is up but not actually usable.

OperatorDeveloperHow ToGA
PrerequisitesA running CALIBER deployment
Reviewed 2026-10-26 · current main branch docs contract

Use this page when you need the operational meaning of CALIBER health signals: what basic liveness proves, what readiness proves, and where to go next when a runtime is up but not actually usable.

At a glance

SignalWhat it answersUse it for
/ajax-api/2.0/mlflow/caliber/healthIs the service process alive?liveness and coarse orchestration checks
/ajax-api/2.0/mlflow/caliber/readinessIs the runtime usable with its dependencies?operator go/no-go decisions
traces, logs, metrics, incidentsWhat happened and why?diagnosis and recovery

1. Readiness matters more than liveness

An alive process is not the same thing as a usable CALIBER deployment.

For operator decisions, prefer the readiness surface because it captures whether the surrounding runtime posture is actually suitable for real use.

What readiness checks

Each check is probed live (each probe is bounded to 2 seconds), and a required check that fails turns readiness to ready: false (HTTP 503) with a blocker that names it. A check that does not apply to the configuration is reported as skipped (ready: null) and never blocks.

CheckRequiredReady means
databasealwaysthe database answers a query
schemaalwaysthe database is at the migration head this release ships. A database that was never migrated, is behind, or was migrated by a newer release is a blocker. Fix it with caliber-migrate.
mlflowwhen an http:// or https:// tracking server is configured (MLFLOW_TRACKING_URI)the tracking server's /health answers with anything below HTTP 500
object_storewhen workflow storage is remote: CALIBER_WORKFLOW_STORAGE_BACKEND is s3, gs, az or azure, or CALIBER_WORKFLOW_STORAGE_BASE_URI has one of those schemesthe bucket can be listed. s3 with no bucket named is a blocker, reported without a probe.
event_buswhen the event backend is nats or redis and its URL is setthe broker's port accepts a connection
workflow_queuewhen the run queue is enabled (CALIBER_WORKFLOW_RUN_QUEUE_ENABLED)the queue is draining and at least one worker heartbeat is fresh (a stale row beside a live worker is reported in /system/queue, not here)
providersneverinformational: reports not ready while any of llm, eval, promoter or artifact_store is simulated, and names them
code_execution_allowlistsneverinformational: reports not ready while CALIBER_REGISTERED_TOOL_MODULE_ALLOWLIST is unset (any module may be registered as a tool) or CALIBER_EXTERNAL_APP_ENTRYPOINT_ALLOWLIST is unset (every external_app entrypoint is refused)

The response also carries providers, simulated and all_real, which the app's provider banner reads. It also carries profile (development or reference, see Reference profile), so an operator can see which rules the process was started under. A simulated provider or an unset allowlist does not turn readiness to 503.

/health stays a liveness probe: it answers 200 (status: ok, db: ok) while the process is up and the database answers, even when the schema is missing, and 503 (status: degraded, db: down) when the database does not answer. Use readiness for go or no-go decisions.

A worker that died. Each workflow-run worker writes a heartbeat row to caliber_worker_heartbeats and removes it on a clean stop. A worker that exits uncleanly (killed, out of memory, host asleep) leaves its row, and a restarted worker registers under a new id, so a restart leaves one stale row behind. While another worker is reporting, stale rows do not block readiness: capacity is reduced, not lost, and they stay visible in GET /system/queue (workers_stale, and alive: false per worker). A live workflow-run worker deletes rows of its kind that have been stale for at least five minutes (five times the staleness window, with a five-minute floor), checking once a minute. When no worker is reporting, workflow_queue blocks readiness with N registered worker(s) stopped reporting: <ids>, which is the outage.

2. What to verify after boot

After bring-up or configuration changes, verify:

  • liveness responds
  • readiness responds with the expected posture
  • the UI is reachable
  • the dependencies you actually need are healthy

3. When health is green but the system still feels broken

Use the deeper evidence surfaces:

CALIBER : Contextual Adaptive Lifecycle for Intelligent Build, Evaluation, and Refinement — this page is generated from the authoritative Markdown sources in docs/ and the repository-level ARCHITECTURE.md.