Add cooperative task recovery and persistent live status
Build custom container images / build (map[base_image:php:8-fpm-alpine build_args:PHP_VERSION=8 context:php8-pgsql fingerprint_command:{ apk info -v | LC_ALL=C sort; find /usr/local/lib/php/extensions /usr/local/etc/php/conf.d -type f -exec sha256sum {} + | LC_ALL=C sort; } name:ph… (push) Successful in 40s
Build custom container images / build (map[base_image:postgres:18 build_args:PG_VERSION=18 POSTGIS_VERSION=3 VCHORD_VERSION=0.5.3 context:postgres fingerprint_command:{ dpkg-query -W -f='${binary:Package}=${Version}\n' | LC_ALL=C sort; find /usr/lib/postgresql -type f -exec sha256su… (push) Successful in 49s
Build custom container images / build (map[base_image:python:3 build_args:PYTHON_VERSION=3 context:python-tools fingerprint_command:{ dpkg-query -W -f='${binary:Package}=${Version}\n' | LC_ALL=C sort; pip freeze | LC_ALL=C sort; } name:python-tools oci_labels:org.opencontainers.ima… (push) Successful in 1m37s
Build custom container images / build (map[base_image:python:3.12-slim build_args:PYTHON_VERSION=3.12-slim context:linkki-tiedotus fingerprint_command:{ dpkg-query -W -f='${binary:Package}=${Version}\n' | LC_ALL=C sort; pip freeze | LC_ALL=C sort; } name:linkki-tiedotus oci_labels:… (push) Successful in 36s
Build custom container images / build (map[base_image:python:3.12-slim build_args:PYTHON_VERSION=3.12-slim context:timepoll fingerprint_command:{ dpkg-query -W -f='${binary:Package}=${Version}\n' | LC_ALL=C sort; pip freeze | LC_ALL=C sort; } name:timepoll oci_labels:org.opencontai… (push) Successful in 42s

This commit is contained in:
ajp_anton committed 2026-10-29 22:12:04 +00:00
1 parent 034fecbd51
commit 3bfd199b9c
28 files changed
+2356 -172

No files matched your search

+12 -3
View File
@@ -1,4 +1,5 @@
{% extends "base.html" %}
{% from "task_status.html" import task_status, live_state_data %}
{% block title %}Run {{ run.id }} · Server Maintenance{% endblock %}
{% block content %}
<p>
@@ -8,7 +9,10 @@
<h1>{{ run.target_kind|title }} run #{{ run.id }}</h1>
<dl>
<dt>Target</dt><dd>{{ run.target_path }}</dd>
<dt>Status</dt><dd id="run-status" data-state-url="{{ url_for('run_state', run_id=run.id) }}">{{ run.status }}</dd>
<dt>Status</dt><dd id="run-status" data-run-status="{{ run.status }}" data-state-url="{{ url_for('run_state', run_id=run.id) }}">{{ display_status }}</dd>
<dt>Progress</dt><dd id="run-progress" class="run-progress">{{ progress or "—" }}</dd>
{% if run.recovery_of_run_id is not none %}<dt>Recovery of</dt><dd><a href="{{ url_for('run_detail', run_id=run.recovery_of_run_id) }}">Run #{{ run.recovery_of_run_id }}</a></dd>{% endif %}
{% if recovery_run %}<dt>Recovery run</dt><dd><a href="{{ recovery_run.detail_url }}">Run #{{ recovery_run.run_id }}</a> · {{ recovery_run.display_status }}</dd>{% endif %}
<dt>Started</dt><dd>{{ run.started_at|timestamp }}</dd>
<dt>Finished</dt><dd>{{ run.finished_at|timestamp }}</dd>
<dt>Exit code</dt><dd>{{ run.exit_code if run.exit_code is not none else "—" }}</dd>
@@ -20,8 +24,13 @@
</form>
{% endif %}
{% if execution_task %}
<form method="post" action="{{ url_for('execute_dry_run', run_id=run.id) }}">
<button type="submit">{{ execution_task.execution.field.options[1].label }}</button>
{{ live_state_data(live_states) }}
{% set state = live_states.tasks[execution_task.id] %}
<form method="post" action="{{ url_for('execute_dry_run', run_id=run.id) }}" data-task-id="{{ execution_task.id }}">
<fieldset class="task-controls"{% if state.active_run or state.blocked_by %} disabled{% endif %}>
<button type="submit">{{ execution_task.execution.field.options[1].label }}</button>
</fieldset>
{{ task_status(state) }}
</form>
{% endif %}
{% if children %}