eladkal opened a new issue, #23081: URL: https://github.com/apache/airflow/issues/23081
### Body In the UI we have a message that warns in case the scheduler isn't running: `The scheduler does not appear to be running. Last heartbeat was received X minutes ago.` https://github.com/apache/airflow/blame/5144bedcee76466a79eea0b2b6137e5899dc73bd/airflow/www/templates/airflow/main.html#L60-L71 This message however is confusing for `SequentialExecutor`. In `SequentialExecutor` we can run only 1 task so while a task is running the scheduler is not sending health checks which results in this message but it make sense that there is no heartbeat because there is a task that occupy the slot. My suggestion is to make the message be conditional in case of Sqlite / Sequential executor + no active runs -> It's OK to show the message if scheduler is not live. in case of Sqlite / Sequential executor + active run -> Message should not appear. ### Committer - [X] I acknowledge that I am a maintainer/committer of the Apache Airflow project. -- 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]
