Attach severity-aware asset checks to a Dagster asset and control whether failures block downstream materialization

domain: data-engineering · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Define a check with @asset_check(asset=my_asset) returning an AssetCheckResult(passed=...), or attach inline check_specs=[AssetCheckSpec(...)] on the @asset definition itself.
  2. Set the check's severity — ERROR is the default; use AssetCheckSeverity.WARN explicitly when a failure should be visible but shouldn't stop anything downstream.
  3. To actually block downstream materialization on failure, combine blocking=True on the check with ERROR severity — severity alone does not stop execution.
  4. Leave blocking unset (or use WARN severity) for purely observational checks, e.g. data quality signals surfaced in the UI without gating the pipeline.
  5. Review pass/fail/warn trends in the Dagster UI's asset check history rather than only reacting to the latest run.

Known gotchas

Related routes

Define Dagster asset checks to validate data quality constraints on software-defined assets after materialization
docs.dagster.io · 6 steps · unrated
Materialize Dagster software-defined assets and observe materialization metadata via the GraphQL API
docs.dagster.io · 5 steps · unrated
Configure Dagster software-defined assets with freshness policies and auto-materialization to enforce SLA-based re-materialization
dagster.io · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans