Sign in

Search issue titles and bodies, change requests and comments. Private repositories you cannot read are not included.

vole
Clone

Read only, no credentials:

https://rodent.software/vole.git

Write over SSH with a registered key:

git clone ssh://git@rodent.software:2222/vole.git

A free and open-source forge that lives in your Git repo.

Add the workflow list and run cancel/rerun actions

0b26547e3ead573cfa604260d5f0bde83bcf18b0 · Keenan Nemetz · 15d ago · parent 455835e7

Add the workflow list and run cancel/rerun actions

The Runs tab now links to /r/{name}/workflows, which reads the default branch with the same validator the push boundary uses and shows triggers, jobs, runner labels, image, steps, outputs, and each job's latest run.

Maintainers can cancel a queued run or rerun a finished one. Rerun is another attempt on the same queue row, not a second row: the queue deliberately has one run per (repo, ref, sha, workflow, job), and attempts already carry their own logs and attestations. Running jobs are not interrupted. Both actions carry CSRF and are audited.

server/web/templates/runners.html +12

@@ -52,6 +52,18 @@ with <code>vole runner --remote ssh://git@&lt;host&gt;</code>. If a job asks for
52 52 · {{since .Run.Created.Unix}}
53 53 </p>
54 54 </div>
55 {{if or .CanCancel .CanRerun}}
56 <div class="page-head-actions">
57 {{if .CanCancel}}<form class="inline" method="post" action="/r/{{.Name}}/runs/{{.Run.ID}}/cancel">
58 <input type="hidden" name="csrf" value="{{.CSRF}}">
59 <button type="submit" class="warn">{{icon "circle-x"}}Cancel queued run</button>
60 </form>{{end}}
61 {{if .CanRerun}}<form class="inline" method="post" action="/r/{{.Name}}/runs/{{.Run.ID}}/rerun">
62 <input type="hidden" name="csrf" value="{{.CSRF}}">
63 <button type="submit" class="secondary">{{icon "rotate-ccw"}}Rerun</button>
64 </form>{{end}}
65 </div>
66 {{end}}
55 67 </div>
56 68 {{if .Run.OS}}<p class="muted">ran on {{.Run.OS}}/{{.Run.Arch}}{{if .Run.Image}} · in {{if .Run.ImageFile}}image-file <code>{{.Run.ImageFile}}</code> ({{short .Run.ImageSHA}}){{else}}<code>{{.Run.Image}}</code>{{end}} via {{.Run.Runtime}}{{end}}</p>{{end}}
57 69 {{if .Attestation}}<p class="muted">reported by <strong>{{.Signer}}</strong>{{if .Attestation.CommitID}} · <a href="/r/{{.Name}}/commit/{{.Attestation.CommitID}}">the commit that records it</a>{{end}} · the instance accepted this from that account's key at the push boundary, and logged it</p>{{end}}