Skip to main content
detect drift against the last snapshot and propose the fix Choose a command, then expand its usage and options. Every command here also accepts the global options.

dex maintain snapshot

Pin the current map and fingerprint the project layers as the baseline drift is measured against. --project-only opens no connection.
Options

dex maintain check

Run every drift axis against the snapshot and rank the findings. The free axes always run; the scanning axes are offered with an estimate.
ArgumentsOptions

dex maintain schema

Compare structure against the snapshot: columns, tables, nullability, dangling sources and changed models. Free metadata.
ArgumentsOptions

dex maintain volume

Compare row counts against the snapshot from free metadata. Objects with no maintained count, such as views, are named as not compared.
ArgumentsOptions

dex maintain grain

Re-measure key uniqueness, grain and join fanout, plus declared grains. Scans the data, so it is billed on metered connectors.
ArgumentsOptions

dex maintain semantic

Report changed, added and removed semantic definitions and references that no longer resolve, for free. Dimension cardinality change is a scan, offered with an estimate.
Arguments

dex maintain reconcile

Store the reconciling edits as a plan of diffs tagged mechanical or advisory. Never applied here; use transform apply. Repo-only.
Arguments

dex maintain verify

Check build status, column contracts, row population, grain and join contracts against the built relations. Mostly free metadata; view row counts and join probes are offered with an estimate.
ArgumentsOptions

dex maintain coverage

Count each model’s, source’s, snapshot’s and seed’s own tests by kind, its downstream tests, incremental branch tests and asserted columns, each against a stated denominator; each test’s last run status, each model’s recorded mutation score (fresh or stale), the columns singular tests read, and what checks each declared fact. Free; reads the manifest, run results and .dex/ only. --mutate refreshes stale and missing scores in one batch, behind one cost handshake.
ArgumentsOptions

dex maintain incidents

Fold test outcomes from Elementary’s tables and dbt’s run results into incidents: open, closed or no longer observed, each with its coverage and retention bound. Reads the newest 20 invocations by default (--invocations widens it), priced first on billed connectors; never reads past the source allowlist.
ArgumentsOptions

dex maintain diagnose

Bisect each open incident over its coverage timeline, bound the break with the committed maintain snapshot series where there is one, and confirm each candidate cause with a check Dex already has. Answers one cause, several, or none, with what was ruled out and the window no recorded state covers; a confirmed cause’s repair is handed to transform, never written here.
ArgumentsOptions
Every command here also accepts the global options. Source: packages/dex-core/src/exmergo_dex_core/cli.py (edit on main). This page is generated; change the source, not the site.