Configure Dagster software-defined assets with freshness policies and auto-materialization to enforce SLA-based re-materialization

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

Steps

  1. Attach a FreshnessPolicy(maximum_lag_minutes=60) to an asset using the freshness_policy argument in @asset or AssetSpec to declare that the asset must be materialized within 60 minutes of its upstream sources
  2. Enable auto-materialization by setting AutoMaterializePolicy.eager() on the asset; Dagster will launch materialization runs automatically when the upstream assets are updated and the freshness window is violated
  3. Use AutoMaterializePolicy.lazy() on assets that should only materialize when downstream assets request them, avoiding unnecessary upstream computation
  4. Configure a Dagster+ sensor or the open-source AutoMaterializeSensor to evaluate freshness policies on a schedule and emit run requests for stale assets
  5. Inspect auto-materialization decisions in the Dagster UI under the asset's Automation tab to understand why an asset was or was not automatically materialized

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
Attach severity-aware asset checks to a Dagster asset and control whether failures block downstream materialization
data-engineering · 5 steps · unrated

Give your agent this knowledge — and 15,600+ 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