achharKalia opened a new issue, #31871:
URL: https://github.com/apache/airflow/issues/31871
### Apache Airflow version
Other Airflow 2 version (please specify below)
### What happened
IN version 2.5.1 release, airflow pause/unpause dag button on dags page
doesn't work properly.
When we pause a dag in the audit logs its show dag as unpaused.
and when we unpause any dag audit log shows a dag is paused. Also sometimes
dag runs properly as per schedule and sometime doesn't because of this problem.
IN recent dag behaviour, we enabled the dag on friday and dag was scheduled
to run on Monday but it didn't. It was a active dag not paused in blue color.
However in the dag audit logs, it was showing below :
2023-06-12, 17:42:57 | None | paused | None | achhar.kalia | [('is_paused',
'false'), ('dag_id', 'resdex-usage-mis-w')]
-- | -- | -- | -- | -- | --
2023-06-08, 17:53:02 | None | paused | None | [email protected] |
[('is_paused', 'true'), ('dag_id', 'resdex-usage-mis-w')]

### What you think should happen instead
when we pause, it should say its paused, when we unpause or resume, it
should give message that dag is in unpause or resume state.
### How to reproduce
try, for me this is still live problem in 2.5.1
### Operating System
centos 7
### Versions of Apache Airflow Providers
_No response_
### Deployment
Official Apache Airflow Helm Chart
### Deployment details
_No response_
### 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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]