From a6565ebfc4e9a321d16fe58be0c2ba50743c393d Mon Sep 17 00:00:00 2001 From: Harenome Ranaivoarivony-Razanajato Date: Mon, 16 Nov 2026 16:29:13 +0100 Subject: [PATCH 1/3] feat(runs): call what one press of Run starts a launch, and each of its jobs a run A run's page named the whole execution the run: its state and its log. They are now the launch's state and the Launch log. A launch that cannot be deleted has runs Nullius did not start, not jobs it did not run, and a run Harbor never closed says this run was stopped. --- app/templates/runs/_execution.html | 6 +++--- app/templates/runs/index.html | 2 +- app/ui_tests/test_run_routes.py | 2 +- app/ui_tests/test_runs_by_launch.py | 2 +- app/web/runs.py | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/app/templates/runs/_execution.html b/app/templates/runs/_execution.html index 155cf039..f3f22009 100644 --- a/app/templates/runs/_execution.html +++ b/app/templates/runs/_execution.html @@ -14,7 +14,7 @@ {{ shown }}{% if not own and ex.step and ex.state in ('preparing', 'running') %} · {{ ex.step }}{% endif %} on {{ ex.plan.host.label if ex.plan.host else 'this machine' }} {% if ex.error and not own %}{{ ex.error }}{% endif %} - · the run: {{ ex.state }}{% if ex.error %} · {{ ex.error }}{% endif %} + · the launch: {{ ex.state }}{% if ex.error %} · {{ ex.error }}{% endif %} {% if ex.state in ('preparing', 'running', 'paused') %}{% endif %} {#- a launch goes as one, from the Runs page: never this job alone #} {% if deletable %}Delete its launch…{% endif %} @@ -37,7 +37,7 @@ {# a part downloading: its file, how much of it, as a bar #} -
Run log
+
Launch log