{% macro task_status(state) %} {% set active = state.active_run %} {% set blocker = state.blocked_by %}

{% if active %}{{ active.display_status|capitalize }}. Run #{{ active.run_id }}{% elif blocker %}Blocked by run #{{ blocker.run_id }} ({{ blocker.display_status }}).{% endif %} {{ state.progress if active else '' }}

{% endmacro %} {% macro live_state_data(states) %} {% endmacro %}