{% extends "base.html" %} {% from "macros.html" import src_link, item_href %} {% block title %}Overview{% endblock %} {% block head %}{% if refresh %}{% endif %}{% endblock %} {% macro links(source, row) %}{% for l in row.links %}{% if l.href %}{{ l.text }}{% else %}{{ l.text }}{% endif %}{% endfor %}{% endmacro %} {% macro item_row(source, row) %}
No sources. Start with --source NAME=STATE_DB or --runs DIR.
Couldn't read its store: {{ a.problem }}
{% else %}running {{ r.run.kind }} · {{ r.run.role }} {% if r.run.work_item %} on {{ r.run.work_item }}{% else %} (agent level){% endif %} · {{ r.turns }} turn{{ "" if r.turns == 1 else "s" }} · since {{ r.run.started_at|when }} {% if r.last_call %} · latest turn {{ r.last_at|ago }}{% endif %}
{% endfor %} {% if not a.running %}Idle{% if a.last_activity %} since {{ a.last_activity|when }} ({{ a.last_activity|ago }}){% endif %}.
{% endif %} {% for r in a.interrupted %}maybe interrupted {{ r.run.kind }} · {{ r.run.role }} {% if r.run.work_item %} on {{ r.run.work_item }}{% endif %} · never ended; last heard {{ r.last_at|when }} ({{ r.last_at|ago }})
{% endfor %} {% if a.record_note %}{{ a.record_note }}
{% endif %} {% if a.active %}Active item: {{ a.active.item.title or a.active.item.id }} · {{ a.active.what }}
{% endif %}| VM | Why | Found by | Since |
|---|---|---|---|
| {{ b.host }} | {{ b.cause }} {{ b.reason|clip(300) }} | {% if b.work_item %}{{ b.work_item }}{% endif %} | {{ b.since|ago }} |
| Item | Where, and why | Links | Changed |
|---|
No open work items.
{% endif %} {% if a.closed %}| Item | Outcome | Links | Closed |
|---|---|---|---|
| {{ row.item.title or row.item.id }} | {{ row.what }} | {{ links(a.source, row) }} | {{ (row.item.closed_at or row.item.updated_at)|ago }} |
| Run | Work items | Call record | State store |
|---|---|---|---|
| {{ src_link(r.source) }} | {% if r.count is not none %}{{ r.count }}{% else %}{{ r.note }}{% endif %} | {{ "yes" if r.record else "none" }} | {{ r.source.state_db }} |