Skip to content

Dagrun type should be uniform while materialising an asset via UI and CLI #63809

Description

@atul-astronomer

Apache Airflow version

main (development)

If "Other Airflow 3 version" selected, which one?

No response

What happened?

Materialising an asset via UI creates dagrun type of runTypes.asset_materialization
Materialising an asset via CLI creates dagrun type of manual

Image Image

What you think should happen instead?

Dagrun via both ways should be uniform.

How to reproduce

  1. Start airflow instance on main branch, make sure we have assets available.
  2. Materialise an asset which has single upstream dag via UI, notice upstream dag has runTypes.asset_materialization type dagrun.
  3. Materialise same asset now via CLI by running command airflow assets materialize --uri <asset_uri>, notice upstream dag has manual type dagrun.

Operating System

Linux

Versions of Apache Airflow Providers

No response

Deployment

Other

Deployment details

No response

Anything else?

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

Labels

affected_version:3.2Use for reporting issues with 3.2area:CLIarea:corekind:bugThis is a clearly a bugpriority:highHigh priority bug that should be patched quickly but does not require immediate new release

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions