You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "bbovenzi (via GitHub)" <gi...@apache.org> on 2026/07/14 19:11:46 UTC

Re: [I] Taskgroup status on UI is toggling between running/queued/scheduled [airflow]

bbovenzi commented on issue #69173:
URL: https://github.com/apache/airflow/issues/69173#issuecomment-4972991559

   Yes we have a state priority in order to decide what state to show for a task group. If child task states keep changing then the task group state will also change. 
   
   ```
   state_priority: list[None | TaskInstanceState] = [
       TaskInstanceState.FAILED,
       TaskInstanceState.UPSTREAM_FAILED,
       TaskInstanceState.UP_FOR_RETRY,
       TaskInstanceState.UP_FOR_RESCHEDULE,
       TaskInstanceState.RUNNING,
       TaskInstanceState.RESTARTING,
       TaskInstanceState.DEFERRED,
       TaskInstanceState.AWAITING_INPUT,
       TaskInstanceState.QUEUED,
       TaskInstanceState.SCHEDULED,
       None,
       TaskInstanceState.SUCCESS,
       TaskInstanceState.SKIPPED,
       TaskInstanceState.REMOVED,
   ]
   ```
   
   
   If something else is happening then please provide more context


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org