You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "fliaj (via GitHub)" <gi...@apache.org> on 2024/05/26 18:05:49 UTC
[I] "Add Dag Run" /dagrun/add page issue [airflow]
fliaj opened a new issue, #39856:
URL: https://github.com/apache/airflow/issues/39856
### Apache Airflow version
Other Airflow 2 version (please specify below)
### If "Other Airflow 2 version" selected, which one?
2.8.1
### What happened?
1. I created DAG runs with no notes at first. Therefore, when I want to add a DAG run with past logical date like below, I found that I cannot fill in the Dag Run Note field, which is a required field.

2. After I added random DAG Run Note to an existing DAG Runs, the `/dagrun/add` page throws error

No useful logs shown in the web server log group.
### What you think should happen instead?
1. Allow users to create DAG Runs without notes.
2. No error in the Add DAG Run page if the existing DAG Runs are with notes.
### How to reproduce
Please refer to the **What happened** section, thanks
### Operating System
MWAA
### Versions of Apache Airflow Providers
_No response_
### Deployment
Amazon (AWS) MWAA
### Deployment details
I am not sure that this issue is specific to the service provider.
### Anything else?
_No response_
### Are you willing to submit PR?
- [X] Yes I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
--
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.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] "Add Dag Run" /dagrun/add page issue [airflow]
Posted by "fliaj (via GitHub)" <gi...@apache.org>.
fliaj commented on issue #39856:
URL: https://github.com/apache/airflow/issues/39856#issuecomment-2133824455
@jscheffl Thanks so much for the prompt response and action, one quick followup:
What is your suggestion for my use case where I want to trigger one DAG run with past logical date? Is **CLI** the only way?
--
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
Re: [I] "Add Dag Run" /dagrun/add page issue [airflow]
Posted by "jscheffl (via GitHub)" <gi...@apache.org>.
jscheffl commented on issue #39856:
URL: https://github.com/apache/airflow/issues/39856#issuecomment-2133796455
As this UI is not maintained and FAB is to be deprecated - I never noticed the add button myself :-D - I propsoe to fix this problem by removing the UI. Adding a DAG run via this UI does not seem to be the proper way to interact with the system. It even allows you to add a new DAG Run with success which has never been run. Trigger UI via the "Play" button is the right option
--
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
Re: [I] "Add Dag Run" /dagrun/add page issue [airflow]
Posted by "jscheffl (via GitHub)" <gi...@apache.org>.
jscheffl closed issue #39856: "Add Dag Run" /dagrun/add page issue
URL: https://github.com/apache/airflow/issues/39856
--
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
Re: [I] "Add Dag Run" /dagrun/add page issue [airflow]
Posted by "boring-cyborg[bot] (via GitHub)" <gi...@apache.org>.
boring-cyborg[bot] commented on issue #39856:
URL: https://github.com/apache/airflow/issues/39856#issuecomment-2132302236
Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval.
--
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
Re: [I] "Add Dag Run" /dagrun/add page issue [airflow]
Posted by "jscheffl (via GitHub)" <gi...@apache.org>.
jscheffl commented on issue #39856:
URL: https://github.com/apache/airflow/issues/39856#issuecomment-2133829734
> What is your suggestion for my use case where I want to trigger one DAG run with past logical date? Is **CLI** the only way?
I'd suggest to use (1) the CLI, (2) the API or (3) the "Play" option in the web UI. Since a while the DAG run options are hidden if the DAG does not specify any parameters. If you want to force the UI to display the trigger details page - where also the logical date can be changed - you need to set the `AIRFLOW__WEBSERVER__SHOW_TRIGGER_FORM_IF_NO_PARAMS` (see https://airflow.apache.org/docs/apache-airflow/stable/configurations-ref.html#show-trigger-form-if-no-params).
--
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