{% extends "base.html" %} {% block title %}Indexing Status — Canon Admin{% endblock %} {% block content %}

Indexing Status

Monitor and manage search indexing across all installations

{% if indexing.active_tasks %}

Active Tasks

{% for task in indexing.active_tasks %} {% if task.status in ('pending', 'running') %}
{{ task.status }} {{ task.org_login }} (task {{ task.task_id }})
{{ task.repos_done }}/{{ task.repos_total }} repos
{% if task.repos_total > 0 %}
{{ task.specs_indexed }} specs indexed {% if task.errors > 0 %} {{ task.errors }} errors {% endif %}
{% endif %}
{% endif %} {% endfor %}
{% endif %}

Installations

{% if indexing.installations %}
{% for inst in indexing.installations %} {% endfor %}
Organization Installation ID Status Repos Last Indexed Actions
{{ inst.org_login }} {{ inst.installation_id }} {{ inst.status }} {{ inst.repos_count }} {% if inst.last_indexed_at %} {{ inst.last_indexed_at.strftime('%Y-%m-%d %H:%M') }} {% else %} Never {% endif %} {% if inst.status == 'active' %}
{% endif %}
{% else %}

No installations registered yet.

Installations are automatically registered when the GitHub App is installed on an organization.

{% endif %} {% if indexing.recent_jobs %}

Recent Index Jobs

{% for job in indexing.recent_jobs %} {% endfor %}
Repository Status Specs Errors Completed
{{ job.repo }} {{ job.status }} {{ job.specs_indexed }} {{ job.errors }} {% if job.completed_at %} {{ job.completed_at.strftime('%Y-%m-%d %H:%M') }} {% elif job.started_at %} Running... {% else %} Pending {% endif %}
{% endif %} {% endblock %}