{# A run's header, as a replaceable fragment. Rendered in two places: on the run page, and as the ``run_header`` SSE frame that closes a stream. It therefore takes only the run and the three flags below -- never the request -- so it can be rendered straight from Python. A plain ``
{{ run.profile }}
{% else %}no profile{% endif %}
{#
The run's state, on the same line as the run it belongs to. Still the
replaceable ``#run-status`` fragment the stream swaps by id -- rendering
it here rather than in a row of its own changes where it sits, not what
keeps it current.
#}
{% include "_run_status.html" %}
A worker this machine will not let the supervisor inspect can never be
proven gone, so the run stays unfinished and keeps this project's
active-run lock -- and no new run can start. Force-finishing records
interrupted (the status that already means "this run's real
fate is unknown") and releases the lock.
It does not stop the worker. If that process is still alive it keeps running, keeps writing to the log, and may still be touching this project's outputs. Check for it yourself before starting another run.