Files
OpenBench/Templates/OpenBench/pipelines.html
T
claude 8077809d0b Pipelines: New pipeline is one branch and Enter
The button now opens a page that asks for the dev branch and nothing else,
like Create Test does. The engine, repository, default network, time control,
options, bounds and base branch come from the same presets Create Test uses,
and the default plan is STC, then LTC if it passes. Presets, the base branch,
a name and the engine are there for whoever wants them, under More options.

Enter creates the pipeline and starts it. If the first test cannot be made
(a branch that does not exist, Github down) the pipeline is not left behind,
and the page comes back with the branch still typed in. Save without running
is the other button.

The flow editor stays as it was, and is one click away from the list and from
the new page, for retries, branching on a failure, tunes and datagen.
2026-10-14 20:29:02 +02:00

78 lines
2.6 KiB
HTML

{% extends "OpenBench/base.html" %}
{% block page_head %}
<div>
<h1 class="page-title">Pipelines</h1>
<p class="page-sub">Run a test, then let its result decide what runs next</p>
</div>
<div class="page-actions">
<a class="anchorbutton btn-blue" href="/pipelines/quick/">New pipeline</a>
<a class="anchorbutton btn-start" href="/pipelines/new/">Flow editor</a>
</div>
{% endblock %}
{% block content %}
<div class="stat-grid">
<div class="stat-card stat-green">
<div class="stat-icon"><i class="fa-solid fa-play"></i></div>
<div>
<div class="stat-value">{{ running }}</div>
<div class="stat-label">Running now</div>
</div>
</div>
<div class="stat-card">
<div class="stat-icon"><i class="fa-solid fa-diagram-project"></i></div>
<div>
<div class="stat-value">{{ total }}</div>
<div class="stat-label">Pipelines</div>
</div>
</div>
<div class="stat-card stat-yellow">
<div class="stat-icon"><i class="fa-solid fa-pause"></i></div>
<div>
<div class="stat-value">{{ paused }}</div>
<div class="stat-label">Paused</div>
</div>
</div>
</div>
{% if rows %}
<table class="hoverable">
<tr class="table-header">
<th>Pipeline</th>
<th>Author</th>
<th class="numeric">Steps</th>
<th>Last run</th>
<th>Status</th>
</tr>
{% for row in rows %}
<tr data-href="/pipelines/{{ row.pipeline.id }}/">
<td class="col-test"><a href="/pipelines/{{ row.pipeline.id }}/">{{ row.pipeline.name }}</a></td>
<td>{{ row.pipeline.author|capfirst }}</td>
<td class="numeric">{{ row.steps }}</td>
<td class="col-date">{% if row.run %}<span class="timestamp">{{ row.run.started|date:"U" }}</span>{% else %}None yet{% endif %}</td>
<td><span class="badge {{ row.state.badge }}">{{ row.state.label }}</span></td>
</tr>
{% endfor %}
</table>
{% else %}
<div class="card">
<div class="empty-state">
<i class="fa-solid fa-diagram-project"></i>
<p>No pipelines yet.</p>
<p class="muted-small">A pipeline starts a test and picks the next one from the result. Use New pipeline to create the first one.</p>
</div>
</div>
{% endif %}
{% endblock %}