{# Pipeline + status OOB updates pushed via SSE on phase/status change. Separated from event_fragment so the SSE code can conditionally include it. #} {{ task.status }} {% if task.current_phase %} phase {{ task.current_phase }} {% else %} — {% endif %}
{% include "partials/phase_pipeline.html" %}
{% if events_len == 0 and task.status == 'running' %} Waiting for CLI output… {% else %} {{ events_len }} events {% endif %} {# When task is done/failed, kill the poller by replacing it with a stopped version #} {% if task.status in ('done', 'failed') %} {% endif %}