Skip to main content

is_task_ready

Function is_task_ready 

Source
pub fn is_task_ready(tasks: &HashMap<String, Task>, task: &Task) -> bool
Expand description

Return true if task is individually ready to work on.

A task is ready when:

  • its status is Status::Open,
  • its type is a task (not an epic), and
  • every entry in depends_on resolves to a Status::Done task; a missing dependency is treated as not done and therefore blocks readiness.

This is the single canonical readiness predicate used by both Graph::ready and the TUI’s Ready filter.