Skip to content
Back to skills

Dagster Knowledge Patch

ASecurity

Dagster

  • 25 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 5, 2026
developmentpythonexpresskubernetesapi

Works with

  • cursor
  • cli
  • api
  • mcp

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro scans all 8 files and shows the line behind each finding

Scanned December 1, 2026

npx -y skills add Nevaberry/nevaberry-plugins --skill dagster-knowledge-patch --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Dagster Knowledge Patch?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Dagster Knowledge Patch
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nevaberry-dagster-knowledge-patch-nevaberry-plugins/badge)](https://www.skillsdirectory.com/skills/nevaberry-dagster-knowledge-patch-nevaberry-plugins)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: dagster-knowledge-patch
description: Dagster
version: "1.13.31"
license: MIT
metadata:
  author: Nevaberry
---


# Dagster compatibility guidance

Load this skill when migrating Dagster APIs, defining assets and automation,
building components, configuring integrations, or operating Dagster deployments.
Use the quick reference for common changes and the topic files for detailed
conditions, examples, and version-specific migration guidance.

## Reference index

| Reference | Topics |
| --- | --- |
| [Upgrades and API migration](references/upgrades-and-api.md) | Runtime requirements, removed APIs, definitions, freshness migration, resource contexts, I/O managers, historical events |
| [Assets and automation](references/assets-and-automation.md) | Values, virtual assets, selections, checks, automation conditions, partitions, backfills, sensors |
| [Components and CLI](references/components-and-cli.md) | Project setup, component loading and state, schemas, YAML, deployment workflows, MCP |
| [Data and analytics integrations](references/data-integrations.md) | dbt, Airbyte, Fivetran, Sling, dlt, BI tools, warehouse I/O, Snowflake, data quality |
| [Operations and deployment](references/operations-and-deployment.md) | Run coordination, storage, gRPC, GraphQL, Helm, daemons, Dagster+ alerts and Serverless |
| [Platform and compute integrations](references/platform-integrations.md) | Pipes, Kubernetes, Databricks, Prefect, ECS, cloud resources, notebooks, workers, Power Automate |

## Breaking changes and deprecations

### Runtime and dependency requirements

- Dagster 1.13.30 requires Python 3.11 or later. Dagster+ Serverless stops
  publishing Python 3.10 base images; existing Python 3.10 PEX code locations
  continue running on the last Python 3.10 base image.
- Dagster 1.9 requires `pydantic>=2` and drops Python 3.8 support.
- From 1.12.18, add `psycopg2-binary` directly if the project relied on it as a
  transitive dependency of `dagster-postgres`.
- Replace `@experimental` with `@preview` or `@beta`. The lifecycle also includes
  `@superseded`, with corresponding annotations and warnings.

### Definitions and external assets

- Replace removed `external_asset_from_spec` and `external_assets_from_specs`
  with specs passed directly to `Definitions`, or build an `AssetsDefinition`
  from the specs when an asset definition object is needed.
- Wrap a single `AssetKey` passed to `deps` in a sequence. Use `AssetDep` for
  dependencies needing configuration such as a partition mapping.
- Replace removed `Definitions.get_all_asset_specs()` with
  `defs.resolve_all_asset_specs()` to retrieve resolved specs.
- Different `AssetSpec` objects sharing a key warn from 1.10.18 and become an
  error in 1.11. Make the key unique or supply a single spec.
- `Definitions.map_asset_specs` dropped `selection` in 1.10.19; use
  `Definitions.map_resolved_asset_specs` to transform a selection.
- Replace `include_sources` with `include_external_assets` across
  `AssetSelection` APIs, such as `AssetSelection.all(include_external_assets=True)`.
- When replacing `SourceAsset` with `AssetSpec`, preserve its I/O manager binding
  in the `dagster/io_manager_key` metadata entry.

### Freshness and automation migration

- For 1.12, replace imports from `dagster.preview.freshness` with top-level
  `dagster` imports for `FreshnessPolicy` and `apply_freshness_policy`.
- Use `FreshnessPolicy` for new freshness definitions; the
  `build_*_freshness_checks` helpers are superseded.
- In 1.13, `@observable_source_asset` drops `legacy_freshness_policy` and
  `auto_observe_interval_minutes`. Configure `automation_condition=` or use a
  schedule or sensor. See the API reference for other legacy freshness removals.
- `AutoMaterializePolicy` and `AutoMaterializeRule` are deprecated in 1.8.
  Replace `auto_materialize_policy=` on `@asset` and `AssetSpec` with
  `automation_condition=`. Existing policies and new conditions can coexist.
- The 1.9 guide deprecates `@multi_asset_sensor` for removal in 2.0. Use
  `AutomationCondition` for asset automation that can be expressed declaratively.

### Component loading and CLI migration

- The standalone `dagster-components` package was folded into `dagster`.
  Import from `dagster.components` or use the top-level exports.
- Replace `load_defs` with `load_from_defs_folder` and pass a folder path.
  Use `@component_instance` in place of `@component` for multiple instances.
- From 1.12.3, use `ComponentLoadContext.build_defs` and
  `ComponentLoadContext.load_component` in place of `build_defs_at_path` and
  `load_component_at_path`; the old context aliases were removed in 1.13.
- Add `dagster-dg-cli` to each existing project's dependencies. Remove the former
  global installation with `uv tool uninstall dagster-dg` or
  `pip uninstall dagster-dg`, according to how it was installed.
- Use `dg plus deploy start` in place of deprecated `dagster-cloud ci check`
  to validate configuration during deployment initialization.

### I/O, context, and integration migration

- From 1.6, outputs typed as `None` or `Nothing` skip `IOManager.handle_output`.
  For dependencies used only to order assets, declare `deps` on the downstream
  asset so Dagster skips `IOManager.load_input` as well.
- From 1.9, `AssetExecutionContext` no longer inherits from `OpExecutionContext`.
  Annotate helpers accepting both with `AssetExecutionContext | OpExecutionContext`.
- On `InitResourceContext`, use `context.run`; `context.dagster_run` is deprecated.
- Replace deprecated `FivetranResource` with `FivetranWorkspace`. Use
  `AirbyteJobStatusType` in place of removed `AirbyteState`.
- Replace `DbtProjectComponent`'s `dbt` field with `project` and
  `asset_attributes` with `translation`; configure its translator with
  `translation_settings`.
- From `dagster-dbt` 0.29.26, install optional dbt Core with
  `pip install 'dagster-dbt[dbt-core]'`. From 0.29.28,
  `pip install 'dagster-dbt[dbt]'` installs Fusion v2. The integration errors if
  the `dbt` and `dbt-core` PyPI packages coexist because both provide the `dbt`
  import namespace.

## Runs, checks, and backfills

The queued run coordinator is the default and needs a running Dagster daemon.
Pool-aware run blocking is enabled by default: op granularity admits a run when
at least one op can start; run granularity requires available slots in every
pool the run uses. To use the previous synchronous coordinator in `dagster.yaml`:

```yaml
run_coordinator:
  module: dagster.core.run_coordinator.sync_in_memory_run_coordinator
  class: SyncInMemoryRunCoordinator
```

- `Definitions.validate_loadable` and `dagster definitions validate` reject
  invalid partition mappings before launch, including time-window mappings
  between time-based partition definitions with different time zones.
- From 1.12.14, set `partitions_def` on `@asset_check` or `AssetCheckSpec` to run a
  check against a specific partition. Use the same definition as the target asset.
- From 1.13.6, downstream assets can proceed if a blocking check emits no result.
  A failed blocking check fails the step and run. The asset reference retains the
  version-specific behavior for multi-assets and skipped outputs.
- Use Runs > Backfills for original-partition re-execution or **Re-execute from
  failure** for failed partitions in a new backfill. **Enable retries from asset
  failure** retries only failed or skipped assets when re-executing a run that
  targeted a multi-asset.
- From 1.13.21, an asset backfill finishes as failed when all runs have ended and
  any targeted partitions still lack a materialization status.

## Asset values and automation

Pass `value` to `MaterializeResult` to invoke the asset's I/O manager; annotate
the value type with `MaterializeResult[T]`.

```python
from dagster import MaterializeResult, asset

@asset
def daily_sales() -> MaterializeResult[int]:
    return MaterializeResult(value=42)
```

- Declare an upstream asset in `deps` and use
  `AssetExecutionContext.load_asset_value` to load its value from its I/O manager
  inside the asset function.
- `AutomationCondition.data_version_changed()` triggers on data-version changes.
  `AutomationCondition.executed_with_tags()` filters updates by tags on the
  originating runs.
- Changing the asset's partitions definition makes
  `AutomationCondition.initial_evaluation()` true for all its partitions.
  Editing the condition tree alone no longer triggers this reset.
- Use `AutomationCondition.freshness_passed()`,
  `AutomationCondition.freshness_warned()`, or
  `AutomationCondition.freshness_failed()` for freshness-based conditions.
- In preview, pass `automation_condition=` to `define_asset_job` to launch a
  single job run when the condition becomes true. Wrap an asset-level condition
  with `AutomationCondition.any_job_root_assets_match(...)` or
  `AutomationCondition.all_job_root_assets_match(...)`; inspect evaluations on
  the job's **Automation** tab.
- Virtual assets are preview: set `is_virtual=True` on `AssetSpec` or `@asset`
  for a view or other derived asset reflecting upstream changes without its own
  materialization. dbt views opt in with
  `DagsterDbtTranslatorSettings(enable_dbt_views_as_virtual_assets=True)`.

## Components and project setup

Use `create-dagster` for project and workspace scaffolding with a path argument:

```sh
uvx create-dagster project my-project
uvx create-dagster workspace my-workspace
```

- Use `defs.yaml` for a YAML component instance. From 1.13.23, `defs.yml`,
  `dagster.yml`, and `workspace.yml` are also accepted; `.yaml` wins when both
  extensions exist for a file.
- Component loading preserves the process working directory. Resolve files next
  to the component with `context.resolve_source_relative_path("config.yaml")`.
- The YAML `env` helper errors on an unset variable. Supply its second argument
  as a fallback for an optional variable: `{{ env('MY_ENV_VAR', 'default') }}`.
- State-backed integration components default to `LOCAL_FILESYSTEM` storage for
  persisted metadata from 1.13.1, changing the default for integrations that
  previously used `legacy_code_server_snapshots`.
- Use `dg list component-tree` to inspect component hierarchy and `dg check toml`
  to validate TOML files. `dg check yaml` validates `requirements.env` only when
  explicitly requested.

## Integration and operations quick reference

- dbt tests with `severity: error` become blocking checks; enabling retries from
  asset failure includes the connected model in a retry when its test fails.
- From `dagster-dbt` 0.29.26, `fetch_column_metadata()` and `fetch_row_counts()`
  warn and emit events without requested metadata on Fusion or when dbt adapter
  initialization fails. Dagster treats `partial success` and `skipped` as failures.
- From 1.13.8, BigQuery, Snowflake, and DuckDB I/O managers warn and skip the
  table write when an asset returns an empty DataFrame.
- `logsForRun` and `eventConnection` return up to 1,000 log entries per query by
  default from 1.11.10; use the response `cursor` for the next page. From 1.13.26,
  GraphQL event-log, tick, and run-record queries clamp oversized `limit` values
  to the server-side default; paginate for remaining rows.
- From 1.13.28, opt in to code-location startup retries with
  `code_location_start_retry` in agent configuration or
  `workspace.codeLocationStartRetry` in Helm values.
- Edit, disable, or delete YAML-managed Dagster+ alert policies in the file and
  sync changes. They can still be muted in the UI; policies predating 1.13.21
  require manual deletion in the UI.
- From 1.13.31, the `dagster` plugin ignores `DAGSTER_CLOUD_MCP_URL`. EU
  organizations must register the EU MCP endpoint directly to avoid
  authentication failures against the default US server:

```sh
claude mcp add --transport http dagster-plus https://mcp.agent.eu.dagster.cloud/mcp
```

Files in this skill

  • SKILL.md9.4 KB
  • coverage.json929 B
  • references/assets-and-automation.md5.8 KB
  • references/components-and-cli.md5.1 KB
  • references/data-integrations.md7 KB
  • references/operations-and-deployment.md5.8 KB
  • references/platform-integrations.md3.5 KB
  • references/upgrades-and-api.md5.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.