{#- SPDX-License-Identifier: Apache-2.0 -#} {#- General (ADR 0013, CORE_52): information first. The pipeline and its queue, the kinds that have no stage of their own, usage and the audit log. The stages themselves (triage, embed, enrich) and the capabilities are pages of their own in the masthead. No script: tabs are radio inputs, every action is a form. /refresh.js and the chart only update live numbers. -#} {% extends "_base.html" %} {% import "_macros.html" as m with context %} {% import "_plugins.html" as pl with context %} {% block title %}General · Oaken Mail{% endblock %} {% block body_attrs %} data-refresh="/general.json?tab={{ tab }}" data-refresh-seconds="15"{% if tab == "ingest" %} data-lazy{% endif %}{% endblock %} {% block main %}
{{ core.version }}{% if core.uptime_seconds is not none %} · up {{ (core.uptime_seconds // 60) | int }} min{% endif %}
{{ "{:,}".format(pipeline.docs) }} docs · {{ "{:,}".format(pipeline.chunks) }} chunks · {{ "{:,}".format(pipeline.vectors) }} vectors · {{ pipeline.quarantined_files }} quarantined {% if pipeline.llm_paused %}· model paused{% endif %} {% if pipeline.backfill_paused %}· backfill paused{% endif %} {% if pipeline.embeddings_stale %}· embeddings stale{% endif %}
| Stage | Pending | Retrying | Running | Failed | Oldest | Per sec | ETA | State | At once |
|---|---|---|---|---|---|---|---|---|---|
| {{ name }} | {{ s.pending if s.loaded else "…" }} | {{ s.retrying if s.loaded else "…" }} | {{ s.running if s.loaded else "…" }} | {{ s.failed if s.loaded else "…" }} | {{ "…" if not s.loaded else (((s.oldest_pending_seconds | int) ~ "s") if s.oldest_pending_seconds is not none else "—") }} | {{ ("%.2f" | format(s.per_second)) if s.loaded else "…" }} | {{ "…" if not s.loaded else (((s.eta_seconds | int) ~ "s") if s.eta_seconds is not none else "—") }} | {% if name in ("parse", "triage", "embed", "enrich") %}{{ pl.stage_toggle(name, s, "/general?tab=ingest") }}{% endif %} | {{ (s.concurrency or "—") if s.loaded else "…" }} |
| Job | Kind | Status | Attempts | Error | Actions |
|---|---|---|---|---|---|
| {{ j.id }} | {{ j.kind }} | {{ j.status }} | {{ j.attempts }}/{{ j.max_attempts }} | {{ j.last_error or "" }} | {% set back = "/general?tab=queue&status=" ~ status if status else "/general?tab=queue" %} {% if j.status in ("queued", "running") %}{{ m.confirm("cancel", back, "Cancel the job", "Cancel this job?", "Cancel job", {"job_id": j.id}, "x") }}{% endif %} {% if j.status in ("failed", "cancelled") %}{% call m.post("retry", back) %}{% endcall %}{% endif %} |
| No jobs. | |||||
| Job | Stage | Message | Attempts | Error |
|---|---|---|---|---|
| {{ j.job_id }} | {{ j.stage }} | {{ j.message_id or "—" }} | {{ j.attempts }} | {{ j.error }} |
| When | Actor | Operation | Count | Reason | State |
|---|---|---|---|---|---|
| {{ e.ts }} | {{ e.actor }} | {{ e.op }} | {{ e.count }} | {{ e.reason }} | {% if e.undone_by %}undone{% else %}applied{% endif %} |
| No audit entries yet. | |||||
Ids and metadata only. The audit log never records message text.