<p dir="auto"><strong>Apache Airflow version</strong>:<br>
Master branch</p>
<p dir="auto"><strong>Kubernetes version (if you are using kubernetes)</strong> (use <code class="notranslate">kubectl version</code>):<br>
N/A</p>
<p dir="auto"><strong>Environment</strong>:</p>
<ul dir="auto">
<li><strong>OS</strong> (e.g. from /etc/os-release): MacOS</li>
<li><strong>Browser</strong>: Safari</li>
<li><strong>Others</strong>: breeze environment</li>
</ul>
<p dir="auto"><strong>What happened</strong>:</p>
<p dir="auto">Nothing happens when clicking "Log" or "All instances" in this view<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/9528307/98704517-0a8f9c00-237d-11eb-87d1-e0571c8b0914.png"><img width="1020" alt="Screenshot 2020-11-10 at 17 43 37" src="https://user-images.githubusercontent.com/9528307/98704517-0a8f9c00-237d-11eb-87d1-e0571c8b0914.png" style="max-width: 100%;"></a></p>
<p dir="auto">If I got to instance detail &gt; log then I can see logs.</p>
<p dir="auto"><strong>What you expected to happen</strong>:</p>
<p dir="auto">I expect that I can access logs and task instances via mentioned buttons.</p>
<p dir="auto"><strong>How to reproduce it</strong>:</p>
<p dir="auto">Start webserver and scheduler, go to airflow webui, trigger <code class="notranslate">example_dag_decorator</code>, click on any task from DAG in graph view, click log.</p>
<p dir="auto"><strong>Anything else we need to know</strong>:</p>
<p dir="auto"><g-emoji class="g-emoji" alias="cat2" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f408.png">🐈</g-emoji></p>
<h3 dir="auto">Apache Airflow version</h3>
<p dir="auto">2.3.1 (latest released)</p>
<h3 dir="auto">What happened</h3>
<p dir="auto">Hello team!</p>
<p dir="auto">I have faced the problem with Grid visibility in the latest 2.3.1 release.</p>
<p dir="auto"><strong>My issue (example)</strong></p>
<ol dir="auto">
<li>Here is the end of dag code:</li>
</ol>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="...
&lt;code&gt;
...
telegram_alert = TelegramOperator(
    task_id='telegram_alert'
    ,telegram_conn_id='telegram_bot_id'
    ,chat_id='telegram_chat_id'
    ,text=&quot;blablabla&quot;
    ,dag=dag
)
python_task_1 &gt;&gt; python_task_2 &gt;&gt; puller &gt;&gt; telegram_alert"><pre class="notranslate"><code class="notranslate">...
&lt;code&gt;
...
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 &gt;&gt; python_task_2 &gt;&gt; puller &gt;&gt; telegram_alert
</code></pre></div>
<p dir="auto">Grid:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/68236577/170659035-89e75dc7-19b7-45e1-9e7f-8831abffb98c.png"><img src="https://user-images.githubusercontent.com/68236577/170659035-89e75dc7-19b7-45e1-9e7f-8831abffb98c.png" alt="image" style="max-width: 100%;"></a></p>
<ol start="2" dir="auto">
<li>Delete task with telegram alert:<br>
Code in the end of dag code:</li>
</ol>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="
...
&lt;code&gt;
...
python_task_1 &gt;&gt; python_task_2 &gt;&gt; puller
"><pre class="notranslate"><code class="notranslate">
...
&lt;code&gt;
...
python_task_1 &gt;&gt; python_task_2 &gt;&gt; puller

</code></pre></div>
<p dir="auto">Grid after deleting (Telegram alert task disappeared):<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/68236577/170659935-c9600bcd-a0c7-47c8-8575-c3ccdd65babd.png"><img src="https://user-images.githubusercontent.com/68236577/170659935-c9600bcd-a0c7-47c8-8575-c3ccdd65babd.png" alt="image" style="max-width: 100%;"></a></p>
<p dir="auto">Grid after triggering dag again:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/68236577/170660047-d476017d-8cd4-42f5-8757-fc87ab41d92b.png"><img src="https://user-images.githubusercontent.com/68236577/170660047-d476017d-8cd4-42f5-8757-fc87ab41d92b.png" alt="image" style="max-width: 100%;"></a></p>
<ol start="3" dir="auto">
<li>Return task with telegram alert in the dag as it was at the begining.<br>
Grid:<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/68236577/170660241-bbef16a8-30b1-489b-8b69-fd564c8dd684.png"><img src="https://user-images.githubusercontent.com/68236577/170660241-bbef16a8-30b1-489b-8b69-fd564c8dd684.png" alt="image" style="max-width: 100%;"></a></li>
</ol>
<h3 dir="auto">PS:</h3>
<p dir="auto">As I remember in 2.3.0 there wasn't such bug.<br>
I tried to roll back airflow image (from 2.3.1 to 2.3.0) and restart containers but faced error during starting webserver:<br>
<em>alembic.util.exc.CommandError: Can't locate revision identified by '1de7bc13c950'</em></p>
<p dir="auto">I see the same error when try to execute such command:<br>
<em>airflow db downgrade --to-version 2.3.0</em><br>
Please help to me to roll back the airflow version or may be I can get some patch which fix this bug.</p>
<h3 dir="auto">What you think should happen instead</h3>
<p dir="auto">The Grid must be visible at any time at any case</p>
<h3 dir="auto">How to reproduce</h3>
<p dir="auto"><strong>Steps to reproduce:</strong></p>
<ol dir="auto">
<li>Create dag with N tasks</li>
<li>Trigger dag</li>
<li>Delete 1 task from dag</li>
<li>Trigger dag</li>
<li>Return deleted task to dag</li>
<li>Try to see DagRun history on the Grid page.</li>
</ol>
<h3 dir="auto">Operating System</h3>
<p dir="auto">NAME="Ubuntu" VERSION="21.04 (Hirsute Hippo)" ID=ubuntu ID_LIKE=debian</p>
<h3 dir="auto">Versions of Apache Airflow Providers</h3>
<p dir="auto">apache-airflow-providers-amazon==3.3.0<br>
apache-airflow-providers-celery==2.1.4<br>
apache-airflow-providers-docker==2.6.0<br>
apache-airflow-providers-elasticsearch==3.0.3<br>
apache-airflow-providers-google==6.8.0<br>
apache-airflow-providers-grpc==2.0.4<br>
apache-airflow-providers-hashicorp==2.2.0<br>
apache-airflow-providers-http==2.1.2<br>
apache-airflow-providers-imap==2.2.3<br>
apache-airflow-providers-microsoft-azure==3.8.0<br>
apache-airflow-providers-microsoft-mssql==2.1.3<br>
apache-airflow-providers-mysql==2.2.3<br>
apache-airflow-providers-odbc==2.0.4<br>
apache-airflow-providers-postgres==4.1.0<br>
apache-airflow-providers-redis==2.0.4<br>
apache-airflow-providers-sendgrid==2.0.4<br>
apache-airflow-providers-sftp==2.6.0<br>
apache-airflow-providers-sqlite==2.1.3<br>
apache-airflow-providers-ssh==2.4.3<br>
apache-airflow-providers-telegram==2.0.4<br>
apache-airflow-providers-vertica==2.1.3</p>
<h3 dir="auto">Deployment</h3>
<p dir="auto">Docker-Compose</p>
<h3 dir="auto">Deployment details</h3>
<p dir="auto"><em>No response</em></p>
<h3 dir="auto">Anything else</h3>
<p dir="auto">Many dags became unvisible on the Grid page and it is critical for us</p>
<h3 dir="auto">Are you willing to submit PR?</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Yes I am willing to submit a PR!</li>
</ul>
<h3 dir="auto">Code of Conduct</h3>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I agree to follow this project's <a href="https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md">Code of Conduct</a></li>
</ul>