From 7c261a1dbbc5bb1cce2940f6f299b99fa905aab4 Mon Sep 17 00:00:00 2001 From: satoshi-sh Date: Fri, 9 Feb 2024 16:47:40 -0600 Subject: [PATCH 1/3] Added shutdown color to the STATE_COLORS --- airflow/settings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/airflow/settings.py b/airflow/settings.py index 597de84442688..b1cf535049b6e 100644 --- a/airflow/settings.py +++ b/airflow/settings.py @@ -104,6 +104,7 @@ "up_for_reschedule": "turquoise", "up_for_retry": "gold", "upstream_failed": "orange", + "shutdown": "black", } From 1796e7cfd414d72ccd9a165a5b1232f0a8cc052a Mon Sep 17 00:00:00 2001 From: Satoshi S <73622805+Satoshi-Sh@users.noreply.github.com> Date: Fri, 9 Feb 2024 17:19:30 -0600 Subject: [PATCH 2/3] Changed the shutdown color to blue. Co-authored-by: Andrey Anshin --- airflow/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airflow/settings.py b/airflow/settings.py index b1cf535049b6e..ed109d83bb675 100644 --- a/airflow/settings.py +++ b/airflow/settings.py @@ -104,7 +104,7 @@ "up_for_reschedule": "turquoise", "up_for_retry": "gold", "upstream_failed": "orange", - "shutdown": "black", + "shutdown": "blue", } From 9eb9309ab5d51ad0e7b1b1bb5d6c91a6d08e1ada Mon Sep 17 00:00:00 2001 From: satoshi-sh Date: Sat, 10 Feb 2024 07:48:03 -0600 Subject: [PATCH 3/3] Updated test --- tests/www/views/test_views_home.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/www/views/test_views_home.py b/tests/www/views/test_views_home.py index 3af5e474dc492..c89ab89e9b79e 100644 --- a/tests/www/views/test_views_home.py +++ b/tests/www/views/test_views_home.py @@ -57,7 +57,7 @@ def test_home(capture_templates, admin_client): '"deferred": "mediumpurple", "failed": "red", ' '"null": "lightblue", "queued": "gray", ' '"removed": "lightgrey", "restarting": "violet", "running": "lime", ' - '"scheduled": "tan", ' + '"scheduled": "tan", "shutdown": "blue", ' '"skipped": "hotpink", ' '"success": "green", "up_for_reschedule": "turquoise", ' '"up_for_retry": "gold", "upstream_failed": "orange"};'