CALIBER
Quickstart
Operate CALIBER

Storage and state

The operator guide to where CALIBER keeps metadata, files, workflow workspaces, and retention-controlled artifacts.

OperatorDeveloperHow ToGA
PrerequisitesA CALIBER deployment or storage design question
Reviewed 2026-10-14 · current main branch docs contract

Use this page when the practical question is where CALIBER keeps state, what must be backed up, and which storage surface to inspect when something is missing or inconsistent.

At a glance

State surfaceWhat it storesRelated settings
Metadata databaseCALIBER metadata and control-plane state, including worker heartbeatsCALIBER_DATABASE_URL; the schema is created and upgraded by caliber-migrate, never by the server
MLflow backend store and artifactsprompt versions and aliases, experiments, runs, tracesthe mlflow server --backend-store-uri and --default-artifact-root. The bundled stack uses the mlflow database on its PostgreSQL container and the mlflow MinIO bucket (s3://mlflow/mlruns).
Object storefiles in the buckets the console browses (uploads, previews, extracted artifacts), knowledge-base sources, log sink targets, persisted workflow-run artifactsCALIBER_OBJECT_STORE_* (the connection only); the buckets come from each knowledge base, CALIBER_LOG_BUCKET and CALIBER_WORKFLOW_RUN_ARTIFACT_BUCKET
Workflow storageworkflow-run workspaces and filesCALIBER_WORKFLOW_STORAGE_*
Retention policyhow long finalized run files remainCALIBER_WORKFLOW_STORAGE_RETENTION_*

1. Prompts live in MLflow, not in CALIBER's database

CALIBER's database records which prompt version a release made live, who did it and why. The prompt versions themselves, and the prod alias that says which one is live, are in the MLflow registry, in MLflow's own backend store. They are separate stores with separate backups: see Backup and recovery.

2. Separate metadata from file storage

CALIBER does not keep every operational artifact in the same place.

That means:

  • a metadata record may exist even if file storage is unhealthy
  • file storage may be present even if the metadata database is unavailable

Treat those as separate failure domains during diagnosis.

3. Workflow storage is its own operator concern

Workflow-run file storage has its own backend, endpoint, limits, signing, and retention controls. Do not assume the generic object-store settings cover the full workflow storage path. When the backend is remote (s3, gs, az or azure, or a base URI with one of those schemes), readiness lists its bucket as the required object_store check (Health and readiness). The bundled stack points it at the caliber-workspaces MinIO bucket.

4. Common failure modes

SymptomFirst thing to check
Metadata exists but files are missingworkflow storage or object-store backend health
Uploads succeed locally but fail in another environmentendpoint, region, path-style, or credential-source differences
Old run files disappearedretention policy and janitor expectations
A release is recorded but the prompt version is missingthe MLflow backend store was restored from a different time than the CALIBER database

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.