Skip to content

Conversation

@uranusjr
Copy link
Member

@uranusjr uranusjr commented Feb 27, 2024

This implements a mechanism to catch DagUserCodeWarning messages emitted from a DAG file, and convert them into DagWarning entries to show in the web UI. This way, both Airflow core and DAG authors can use the stdlib warnings mechanism to emit warnings, and the DAG processor makes them visible to Airflow users.

Still a work in progress. Todo:

  1. Add migration for DagWarning schema changes
  2. Add tests for Implement AIP-60 Dataset URI formats #37005 (comment)

Close #37699
Close #29275

@boring-cyborg boring-cyborg bot added area:API Airflow's REST/HTTP API area:Scheduler including HA (high availability) scheduler labels Feb 27, 2024
@github-actions
Copy link

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 5 days if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale Stale PRs per the .github/workflows/stale.yml policy file label Apr 13, 2024
@github-actions github-actions bot closed this Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:API Airflow's REST/HTTP API area:Scheduler including HA (high availability) scheduler stale Stale PRs per the .github/workflows/stale.yml policy file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

A way to propagate warning generated from a DAG file to DagWarning Allow user DAGs to emit DagWarning (or similar)

1 participant