You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "SamWheating (via GitHub)" <gi...@apache.org> on 2023/03/02 00:55:14 UTC
[GitHub] [airflow] SamWheating opened a new pull request, #29860: Updating dag run endpoint to 404 if requested dag is inactive
SamWheating opened a new pull request, #29860:
URL: https://github.com/apache/airflow/pull/29860
closes: https://github.com/apache/airflow/issues/29839
The create dagrun API endpoint wasn't properly checking that a DAG was active and thus a user could try to trigger a DAG which had been removed from Airflow, which would throw a 500 because the DAG couldn't be loaded from the dagbag.
Updating this endpoint to look for active DAGs only.
Validated that this works as expected in breeze.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] eladkal merged pull request #29860: Updating dag run endpoint to 404 if requested dag is inactive
Posted by "eladkal (via GitHub)" <gi...@apache.org>.
eladkal merged PR #29860:
URL: https://github.com/apache/airflow/pull/29860
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org