{% extends "base.html" %} {% import "_batches.html" as badges %} {% block title %}Batch {{ batch.id }} - Control Plane{% endblock %} {% block content %}
Batches / Batch #{{ batch.id }}

{% if batch.description %}{{ batch.description }}{% else %}Batch #{{ batch.id }}{% endif %}

ID: {{ batch.id }}{% if batch.active_job_batch_id %} · {{ batch.active_job_batch_id }}{% endif %}

{{ badges::status_badge(status=batch.status) }}

Progress

{{ batch.total_jobs }}
Total
{{ batch.completed_jobs }}
Completed
{{ batch.failed_jobs }}
Failed
{{ batch.pending_jobs }}
Pending

Basic Information

Created at
{{ batch.created_at }}
Started at
{% if batch.enqueued_at %}{{ batch.enqueued_at }}{% else %}not started{% endif %}
Finished at
{% if batch.finished_at %}{{ batch.finished_at }}{% else %}{% endif %}
{% if batch.failed_at %}
Failed at
{{ batch.failed_at }}
{% endif %}

Callbacks

{% if callbacks|length > 0 %} {% for cb in callbacks %}
{{ cb.kind }}
{% if cb.job_id %} {{ cb.job_class }} · {{ cb.queue_name }} {% if cb.status %}{{ badges::status_badge(status=cb.status) }}{% endif %} {% else %} {{ cb.job_class }} · {{ cb.queue_name }} · not enqueued yet {% endif %}
{% endfor %} {% else %}
No callbacks configured.
{% endif %}

Metadata

{% if metadata_pretty %}
{{ metadata_pretty }}
{% else %}
No metadata.
{% endif %}

Jobs

{% if jobs_truncated %}showing the newest {{ jobs|length }}{% endif %}
{% if jobs|length > 0 %} {% for job in jobs %} {% endfor %} {% else %} {% endif %}
Job Queue Status Created At Finished At
id: {{ job.id }}
{{ job.queue_name }} {{ badges::status_badge(status=job.status) }} {{ job.created_at }} {% if job.finished_at %}{{ job.finished_at }}{% else %}{% endif %}
No jobs in this batch
{% endblock %}