Skip to content

Commit

Permalink
Cleanup: remove remnants of 'shutdown' task instance state (#33893)
Browse files Browse the repository at this point in the history
Co-authored-by: daniel.dylag <danieldylag1990@gmail.com>
  • Loading branch information
Bisk1 and daniel.dylag authored Aug 29, 2023
1 parent bfab7da commit b37eaae
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion airflow/www/static/js/cluster-activity/index.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ const mockHistoricalMetricsData = {
restarting: 0,
running: 0,
scheduled: 0,
shutdown: 0,
skipped: 0,
success: 1634,
up_for_reschedule: 0,
Expand Down
1 change: 0 additions & 1 deletion airflow/www/static/js/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ type TaskState =
| RunState
| "removed"
| "scheduled"
| "shutdown"
| "restarting"
| "up_for_retry"
| "up_for_reschedule"
Expand Down
1 change: 0 additions & 1 deletion docs/apache-airflow/core-concepts/tasks.rst
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ The possible states for a Task Instance are:
* ``queued``: The task has been assigned to an Executor and is awaiting a worker
* ``running``: The task is running on a worker (or on a local/synchronous executor)
* ``success``: The task finished running without errors
* ``shutdown``: The task was externally requested to shut down when it was running
* ``restarting``: The task was externally requested to restart when it was running
* ``failed``: The task had an error during execution and failed to run
* ``skipped``: The task was skipped due to branching, LatestOnly, or similar.
Expand Down
1 change: 0 additions & 1 deletion docs/apache-airflow/howto/customize-ui.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ following steps:
"restarting": "violet",
"running": "#01FF70",
"scheduled": "tan",
"shutdown": "blue",
"skipped": "darkorchid",
"success": "#2ECC40",
"up_for_reschedule": "turquoise",
Expand Down

0 comments on commit b37eaae

Please sign in to comment.