stepanof opened a new issue, #23960:
URL: https://github.com/apache/airflow/issues/23960
### Apache Airflow version
2.3.1 (latest released)
### What happened
Hello team!
I have faced the problem with Grid visibility in the latest 2.3.1 release.
**My issue (example)**
1) Here is the end of dag code:
```
...
<code>
...
telegram_alert = TelegramOperator(
task_id='telegram_alert'
,telegram_conn_id='telegram_bot_id'
,chat_id='telegram_chat_id'
,text="blablabla"
,dag=dag
)
python_task_1 >> python_task_2 >> puller >> telegram_alert
```
Grid:

2) Delete task with telegram alert:
Code in the end of dag code:
```
...
<code>
...
python_task_1 >> python_task_2 >> puller
```
Grid after deleting (Telegram alert task disappeared):

Grid after triggering dag again:

3) Return task with telegram alert in the dag as it was at the begining.
Grid:

### PS:
As I remember in 2.3.0 there wasn't such bug.
I tried to roll back airflow image (from 2.3.1 to 2.3.0) and restart
containers but faced error during starting webserver:
_alembic.util.exc.CommandError: Can't locate revision identified by
'1de7bc13c950'_
I see the same error when try to execute such command:
_airflow db downgrade --to-version 2.3.0_
Please help to me to roll back the airflow version or may be I can get some
patch which fix this bug.
### What you think should happen instead
The Grid must be visible at any time at any case
### How to reproduce
**Steps to reproduce:**
1) Create dag with N tasks
2) Trigger dag
3) Delete 1 task from dag
4) Trigger dag
5) Return deleted task to dag
6) Try to see DagRun history on the Grid page.
### Operating System
NAME="Ubuntu" VERSION="21.04 (Hirsute Hippo)" ID=ubuntu ID_LIKE=debian
### Versions of Apache Airflow Providers
apache-airflow-providers-amazon==3.3.0
apache-airflow-providers-celery==2.1.4
apache-airflow-providers-docker==2.6.0
apache-airflow-providers-elasticsearch==3.0.3
apache-airflow-providers-google==6.8.0
apache-airflow-providers-grpc==2.0.4
apache-airflow-providers-hashicorp==2.2.0
apache-airflow-providers-http==2.1.2
apache-airflow-providers-imap==2.2.3
apache-airflow-providers-microsoft-azure==3.8.0
apache-airflow-providers-microsoft-mssql==2.1.3
apache-airflow-providers-mysql==2.2.3
apache-airflow-providers-odbc==2.0.4
apache-airflow-providers-postgres==4.1.0
apache-airflow-providers-redis==2.0.4
apache-airflow-providers-sendgrid==2.0.4
apache-airflow-providers-sftp==2.6.0
apache-airflow-providers-sqlite==2.1.3
apache-airflow-providers-ssh==2.4.3
apache-airflow-providers-telegram==2.0.4
apache-airflow-providers-vertica==2.1.3
### Deployment
Docker-Compose
### Deployment details
_No response_
### Anything else
Many dags became unvisible on the Grid page and it is critical for us
### 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]