Manifests for orchestrators
Why manifests?
Section titled “Why manifests?”Manifests are how Floe plugs its ingestion gate into platforms that already orchestrate work. They let Airflow, Dagster, Kubernetes, Databricks jobs, or similar runners execute Floe contracts without learning Floe’s YAML model at parse time.
Orchestrators like Dagster and Airflow build their job/DAG graphs before any data runs — at parse time. If they read your Floe YAML directly at that moment, they’d have to understand Floe’s config format, resolve {{variables}}, infer entity names, and guess output paths — all before a single row moves. That’s a lot of coupling for a scheduling layer.
Manifests decouple “what will run” from “when it runs.” You generate a manifest once (after editing your config), commit it alongside your code, and the orchestrator reads the static JSON at parse time. At run time it just calls floe run --manifest — no YAML parsing, no variable resolution, no guesswork.
Think of it as: “resolve everything now so the orchestrator can be dumb at runtime.”
One manifest per project per environment
Section titled “One manifest per project per environment”Configs are the authoring format; the manifest is the compiled artifact. You write small config
files (a source declared once and reused, domain defaults, includes, {{templates}}), and
floe manifest generate compiles them, together with an environment profile, into one manifest
per project per environment (sales.dev.json, sales.uat.json, sales.prod.json). That
manifest is the single source of truth the orchestrator runs.
- Change the configs.
- Build the dev manifest with the dev profile and push it to the dev area of a bucket:
floe manifest generate -c project.yml -p profiles/dev.yml --deterministic -o s3://<bucket>/dev/manifests/<project>.json. - Dagster in dev (dagster-floe) loads the manifest from that bucket URI.
- When ready, build the same configs with the UAT or prod profile and push to that area, where the UAT or prod Dagster reads it.
Each entity is self-contained and fully resolved: the runner reads only entity.source and never
re-resolves includes, source_ref, domain defaults or templates. The sources index and the
project metadata are descriptive (see What’s inside). Credentials stay ${ENV}
references, resolved by the runner at run time.
Generating a manifest
Section titled “Generating a manifest”floe manifest generate -c orders.yml --output manifests/orders.jsonPipe to stdout for use in CI scripts:
floe manifest generate -c orders.yml -o - | jq '.entities[].name'If your config uses profile variables for non-secret deployment values such as cloud paths, pass the profile at generation time to bake them in:
floe manifest generate -c orders.yml -p prod.yml --output manifests/orders.jsonFor REST Iceberg catalog secrets, prefer env-backed credentials such as
client_credentials:${POLARIS_CLIENT_ID}:${POLARIS_CLIENT_SECRET}. Manifest
runs resolve those ${...} references from the runner process environment at
catalog initialization, so Kubernetes or another orchestrator can inject secrets
without storing raw credentials in the manifest.
Only need a subset of entities? Use --entities:
floe manifest generate -c orders.yml --entities orders,returns --output manifests/orders.jsonDeterministic generation
Section titled “Deterministic generation”For production deployments where manifests are committed to git and diffed in CI, use --deterministic:
floe manifest generate \ -c sales.yml \ -p profiles/prod.yml \ --deterministic \ --manifest-name sales.prod \ --output manifests/sales.prod.jsonIn deterministic mode:
generated_at_ts_msis set to0— the same inputs always produce byte-identical output.config_checksumandprofile_checksum(SHA-256) trace the exact source files used. For a multi-file project (include.domains),config_checksumis SHA-256 over the sortedpath\0sha256\nlines of every file read, and those files are listed inconfig_files.manifest_revision(SHA-256 of canonical content) provides a stable content fingerprint.- Map fields (
exit_codes,env,definitions,tags) use stable alphabetical key ordering.
Local URIs and the runtime target (--runtime)
Section titled “Local URIs and the runtime target (--runtime)”A manifest is generated by one runner and replayed by a different one, so every local
path it records must be absolute — a relative path would resolve against the wrong base at
replay time. The absolute base depends on the runtime the manifest targets, selected with
--runtime image|cli (recorded as runtime_env in the manifest). When the flag is omitted,
Floe auto-detects: a container (a /work working dir or /.dockerenv) picks image,
otherwise cli. Override detection with the FLOE_RUNTIME environment variable
(image / cli).
image— local paths are absolutized under the container work-root:-c domains/orders.ymlis stored aslocal:///work/domains/orders.yml(recordedwork_root: /work, overridable withFLOE_WORK_ROOT). Every other local path (sources, sinks,report_base_uri) resolves beside it, so the manifest never holds a path of the generating host. Because every container uses the same/workmount, this is both portable for remote replay and reproducible across container runs — somanifest_id(a hash ofconfig_uri+config_checksum) is byte-stable in CI. Use this whenever the manifest is deployed to object storage and replayed by a remote or containerized runner.cli— local paths are recorded host-absolute:-c domains/orders.ymlis canonicalized against the generating host’s working directory and stored as, e.g.,local:///Users/you/repo/domains/orders.yml. This is resolvable on that host but is intentionally not reproducible across machines — for a stable, committed, CI-diffablemanifest_id, generate with--runtime image.
Remote config URIs (s3://) and already-absolute local paths are recorded
unchanged in both modes.
Changed in v0.6.7. v0.6.6 briefly recorded local
config_uri/profile_urirelative (local://domains/orders.yml) to makemanifest_idreproducible across checkouts. That broke container/remote replay (the manifest resolved against its own bucket instead of/work; issue #443), so local URIs are absolute again. Cross-environment reproducibility now comes from--runtime image(fixed/work), not from relative paths.
Remote replay resolution. When floe run --manifest <uri> loads a manifest from a remote
URI, it does not resolve the manifest’s relative paths against the manifest’s own bucket.
Local paths resolve under the recorded work_root (falling back to FLOE_WORK_ROOT / the
detected runtime), and remote paths resolve from their storage definitions — so a manifest in
an ops bucket can safely reference sinks in other buckets.
manifest_revisionand local storage.manifest_revisionis a SHA-256 over the whole manifest body, which includes the resolvedsource.uri/sink.*/report_base_urifields. For remote storage (s3://) those resolve to environment-independent URIs, somanifest_revisionis reproducible too. For local storage under--runtime cli, those fields resolve to host-absolutelocal://<checkout>/...URIs, somanifest_revision(like the host-absoluteconfig_uri) differs between machines. Generate with--runtime image(fixed/work) or use remote storage for a stable, cross-environment revision.
To verify a committed manifest has not drifted from the source config:
floe manifest generate -c sales.yml -p profiles/prod.yml --deterministic -o /tmp/check.jsondiff manifests/sales.prod.json /tmp/check.jsonAn empty diff means the manifest is up to date.
What’s inside
Section titled “What’s inside”A manifest is a self-contained JSON document. Here’s an annotated excerpt:
{ "spec_version": "1.0", // Floe major.minor that generated it (D22) "manifest_name": "sales.prod", // optional stable logical name (--manifest-name) "manifest_id": "mfv1-a1b2c3d4...", // FNV-1a hash of config URI + content "manifest_revision": "sha256:...", // SHA-256 of canonical manifest content "runtime_env": "image", // runtime target: "image" (/work-absolute) or "cli" (host-absolute) "work_root": "/work", // present only when runtime_env == "image" "config_uri": "local:///work/orders.yml", // absolute config path (/work for image; host path for cli) "config_checksum": "sha256:...", // SHA-256 of the config file (or of the config_files list) "config_files": [{"path": "silver/sales/orders.yml", "sha256": "..."}], // multi-file projects only "profile_uri": "local:///work/prod.yml", // profile used at generation time (if any) "profile_checksum": "sha256:...", // SHA-256 of the profile file (if any) "report_base_uri": "./report", // where run reports are written "metadata": {"project": "sales", "owner": "data-team"}, // the config's project metadata (if any) "report_formatter": "text", // report.formatter, when the config sets it; absent means json
// Index of the named config sources, derived from the entities that use them (if any). // Descriptive only: the runner reads entities[].source. `uri` is the longest common prefix // of the consumers' source URIs (null when they share none, e.g. different storages). "sources": [ {"name": "crm", "format": "csv", "uri": "s3://bronze/crm", "entities": ["sales.clients", "sales.orders"]} ],
// The exact CLI command the orchestrator must call "execution": { "entrypoint": "floe", "base_args": ["run", "--manifest", "{manifest_uri}", "--log-format", "json", "--quiet"], "per_entity_args": ["--entities", "{entity_name}"], "log_format": "json", "result_contract": { "exit_codes": { "0": "success_or_rejected", // data ran; some rows may be in the rejected sink "1": "technical_failure", // floe crashed or config error "2": "aborted" // pipeline aborted by policy } } },
// Runner definitions (local, kubernetes, databricks, etc.). A `kubernetes_job` definition also // carries the profile's pod options (`labels`, `security_context`, ...) when set; see profiles.md. "runners": { "default": "local", "definitions": { "local": { "type": "local_process" } } },
// Storage / catalog / lineage definitions, embedded so the manifest is self-contained. // These mirror the effective config (config-level definitions merged with any profile, // with profile variables already resolved) and are what `floe run --manifest` uses to // resolve named storages such as `source.storage` / `sink.*.storage`. Present whenever the // config (or profile) defines them. "storages": { "default": "lakehouse_bronze", "definitions": [ { "name": "lakehouse_bronze", "type": "s3", "bucket": "example-bronze", "region": "eu-west-1" } ] },
// One entry per entity — this is what orchestrators iterate over "entities": [ { "name": "orders", "domain": "sales", "asset_key": ["sales", "orders"], // Dagster asset key "group_name": "sales", // Dagster asset group "source_format": "csv", "accepted_sink_uri": "./out/accepted/orders", "rejected_sink_uri": "./out/rejected/orders", "policy_severity": "reject", "policy_max_rejection_rate": 0.05, // optional: omitted unless the contract sets policy.max_rejection_rate "policy_min_rows": 40000, // optional: omitted unless the contract sets policy.min_rows "tags": {"data_product": "sales-orders", "owner": "data-team"}, // entity metadata, when set "description": "Orders", "tag_list": ["core"], // entity metadata description and tags (if set) "schema": { "columns": [ { "name": "order_id", "type": "string", "nullable": false }, { "name": "amount", "type": "float64", "nullable": true } ] } // ... source/sinks/policy/pii details also present } ]}The full JSON Schema for the manifest format is at orchestrators/schemas/floe.manifest.schema.json.
When an entity uses a named config source, its manifest source includes the source name in
ref and the effective resource value (the entity name when resource is omitted). Inline
sources omit both fields.
The orchestrator flow
Section titled “The orchestrator flow”config.yml ──[floe manifest generate]──► orders.json │ ┌──────────────────────────────┘ │ Parse-time (DAG/job construction) ▼ Orchestrator reads manifest → registers one asset / task per entity → knows output paths, schema, runner config │ │ Run-time (when triggered) ▼ For each entity, orchestrator calls: floe run --manifest orders.json \ --entities orders \ --run-id $RUN_ID \ --log-format json │ ▼ Orchestrator parses JSON logs (NDJSON on stdout) → finds "run_finished" event → extracts summary_uri → loads run summary → publishes asset metadataThe {manifest_uri}, {entity_name}, and {run_id} placeholders in execution.base_args and per_entity_args are rendered at run time by the orchestrator connector, not by floe itself.
Deployment URI overrides
Section titled “Deployment URI overrides”For production deployments where the manifest is uploaded to object storage and consumed by remote runners, you need the manifest to point at its deployed locations rather than the local generation paths.
Remote config and profile
Section titled “Remote config and profile”-c and -p take local paths only in 0.8 (copy a remote config locally first). The
example below shows the intended remote form, which is not supported yet:
floe manifest generate \ -c s3://my-code-bucket/floe/sales/sales_poc.yml \ -p s3://my-code-bucket/floe/profiles/prod-k8s.yml \ --output manifests/sales.manifest.jsonWhen this lands, the manifest will record the URIs as config_uri and profile_uri.
--output accepts remote URIs — writes and embeds in one step
Section titled “--output accepts remote URIs — writes and embeds in one step”--output accepts the same remote URI schemes as -c and -p. When you write the manifest to a remote URI, that URI is also automatically baked into execution.base_args (replacing the {manifest_uri} placeholder), producing a fully self-contained contract:
floe manifest generate \ -c sales.yml \ --output s3://my-code-bucket/floe/sales/sales.manifest.json--output takes s3://, gs:// or abfss://<container>@<account>.dfs.core.windows.net/<key> and writes the manifest in one put. A bare gs:// or abfss:// location has no storage definition, so its credentials and endpoint come from the environment: GOOGLE_* (Application Default Credentials) for gs://, and AZURE_STORAGE_ACCOUNT_KEY, AZURE_CLIENT_* and the like for abfss://. An Azure-compatible emulator such as Azurite is reached with obstore’s own AZURE_STORAGE_ENDPOINT (plus AZURE_ALLOW_HTTP=true for plain http://); Floe adds no variable of its own. floe run --manifest reads the same three schemes. A config with adls or gcs storages generates and replays: entity, sink, archive and report URIs are recorded as abfss:// and gs:// URIs, resolved as the run resolves them,, in one
PutObject with the AWS default credential chain (AWS_ENDPOINT_URL_S3 and
AWS_S3_FORCE_PATH_STYLE for S3-compatible stores).
The manifest is uploaded to S3 and its base_args already contain s3://my-code-bucket/floe/sales/sales.manifest.json — no orchestrator-side placeholder rendering needed.
Writing locally still leaves {manifest_uri} in base_args for the orchestrator connector to render at run time (the existing default behaviour).
--default-domain — namespace entities without an explicit domain
Section titled “--default-domain — namespace entities without an explicit domain”If your config is a domain/data-product contract but individual entities don’t repeat domain: sales on every entry, set a generation-time default:
floe manifest generate \ -c sales.yml \ --default-domain sales \ --output manifests/sales.manifest.jsonEntities that already have domain: keep their own value. Entities that don’t will get domain, group_name, and the asset_key prefix set to the default domain.
--manifest-path-mode resolved-uri — self-contained paths for remote replay
Section titled “--manifest-path-mode resolved-uri — self-contained paths for remote replay”By default, source.path and sink.path in each entity reflect the original relative paths from the config. For remote manifest replay — where there is no local config directory to resolve against — you can bake in the fully resolved URIs instead:
floe manifest generate \ -c sales.yml \ -p profiles/prod.yml \ --manifest-path-mode resolved-uri \ --output manifests/sales.manifest.jsonWhen resolved=true, path is set to the full resolved uri (e.g. s3://data-bucket/bronze/sales/customers). This makes the manifest a standalone runtime contract without needing the original config base directory.
Full production workflow
Section titled “Full production workflow”floe manifest generate \ -c domains/sales/sales_poc.yml \ -p domains/sales/profiles/prod-k8s.yml \ --default-domain sales \ --manifest-path-mode resolved-uri \ --deterministic \ --manifest-name sales.prod \ --output s3://my-code-bucket/floe/sales/sales.manifest.jsonThis produces a manifest where:
config_uri/profile_urireflect the local paths (or remote URIs if you pass-c s3://...)execution.base_argscontainss3://my-code-bucket/floe/sales/sales.manifest.json— baked in automatically because--outputis a remote URI- All entities are namespaced under
sales - All source/sink
pathfields contain fully resolved URIs - The output is deterministic and byte-identical across CI runs
Keeping manifests fresh
Section titled “Keeping manifests fresh”Regenerate the manifest whenever you change:
- entity names, domains, or schema
- source or sink paths
- runner definitions or execution args
With --deterministic, drift detection is a clean diff:
floe manifest generate -c orders.yml --deterministic -o /tmp/fresh.jsondiff manifests/orders.json /tmp/fresh.jsonIf you are not using --deterministic, strip the volatile timestamp before comparing:
diff \ <(jq -S 'del(.generated_at_ts_ms)' manifests/orders.json) \ <(floe manifest generate -c orders.yml -o - | jq -S 'del(.generated_at_ts_ms)')If the diff is non-empty, the committed manifest is stale. Commit manifests in the same PR as config changes so they’re always in sync.
See also
Section titled “See also”- CLI reference —
floe manifest generate - Dagster connector
- Airflow connector
- Full manifest JSON Schema
Known limits of manifest runs in 0.8
Section titled “Known limits of manifest runs in 0.8”- PII
hashkeys must be${ENV_VAR}references: a manifest never stores secrets, somanifest generaterefuses a literal key (#1006).
Synced from floe @ v1.1.0 (313b534), docs/guides/manifest.md.