SkyPilot Managed Jobs

{% if rows %}

Filter by status: All {% set status_dict = {} %} {% for row in rows %} {% set status = row[9].split()[0] %} {% if status not in status_dict %} {% set _ = status_dict.update({status: 1}) %} {% else %} {% set _ = status_dict.update({status: status_dict[status] + 1}) %} {% endif %} {% endfor %} {% for status, count in status_dict|dictsort %} | {{ count }} {% if status.startswith('RUNNING') %} {{ status }} {% elif status.startswith('PENDING') or status.startswith('SUBMITTED') %} {{ status }} {% elif status.startswith('RECOVERING') or status.startswith('CANCELLING') or status.startswith('STARTING') %} {{ status }} {% elif status.startswith('SUCCEEDED') %} {{ status }} {% elif status.startswith('CANCELLED') %} {{ status }} {% elif status.startswith('FAILED') %} {{ status }} {% else %} {{ status }} {% endif %} {% endfor %}

{% else %}

No jobs found.

{% endif %} {% for row in rows %} {# Resources #} {# Cluster #} {# Region #} {# Recoveries #} {# Details #} {% endfor %}
ID Task Name Total Duration Job Duration Status Resources Cluster Region Recoveries Details Actions
{% if row[2] == '' %}{% endif %} {{ row[1]|string|replace(' \u21B3', '') }} {{ row[2] }} {{ row[3] }} {{ row[6] }} {{ row[7] }}
{% if row[9].startswith('RUNNING') %} {{ row[9].split()[0] }}{{ row[9][row[9].split()[0]|length:] }} {% elif row[9].startswith('PENDING') or row[9].startswith('SUBMITTED') %} {{ row[9].split()[0] }}{{ row[9][row[9].split()[0]|length:] }} {% elif row[9].startswith('RECOVERING') or row[9].startswith('CANCELLING') or row[9].startswith('STARTING') %} {{ row[9].split()[0] }}{{ row[9][row[9].split()[0]|length:] }} {% elif row[9].startswith('SUCCEEDED') %} {{ row[9].split()[0] }}{{ row[9][row[9].split()[0]|length:] }} {% elif row[9].startswith('CANCELLED') %} {{ row[9].split()[0] }}{{ row[9][row[9].split()[0]|length:] }} {% elif row[9].startswith('FAILED') %} {{ row[9].split()[0] }}{{ row[9][row[9].split()[0]|length:] }} {% else %} {{ row[9] }} {% endif %}
{{ row[4] }}{{ row[11] }}{{ row[12] }}{{ row[8] }}{{ row[13] }} {% if row[1]|string|replace(' \u21B3', '') and row[1]|string|replace(' \u21B3', '') != '-' %} {% endif %}
{% for row in rows %} {% if row[1]|string|replace(' \u21B3', '') and row[1]|string|replace(' \u21B3', '') != '-' %}
{{ row[-1]|e }}
{% endif %} {% endfor %}