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.

Finish the live log card

257e0d81c4502684727186b0a1231596c5d8791e · Keenan Nemetz · 11d ago · parent 7c94596a

Finish the live log card

Drop the stale size line and only show attempt chips when there is more than one
attempt. The live viewer updates its state label to complete when the server marks
the log final.

server/web/templates/run.html +4−5

@@ -60,15 +60,14 @@
60 60
61 61 <h2>{{icon "terminal"}}Logs</h2>
62 62 {{if .HasLog}}
63 <div class="run-logbar">
64 <span class="muted">{{bytes .LogBytes}} {{if .Live}}streaming{{else}}log{{end}}</span>
65 {{if gt (len .Logs) 1}}{{range .Logs}}<a class="chip" href="/r/{{$.Name}}/runs/{{$.Run.ID}}/log?attempt={{.Attempt}}">{{icon "file"}}attempt {{.Attempt}}</a> {{end}}{{end}}
66 </div>
63 {{if gt (len .Logs) 1}}<div class="run-logbar">
64 {{range .Logs}}<a class="chip" href="/r/{{$.Name}}/runs/{{$.Run.ID}}/log?attempt={{.Attempt}}">{{icon "file"}}attempt {{.Attempt}}</a> {{end}}
65 </div>{{end}}
67 66 <div class="card run-log-card">
68 67 <details class="run-log run-log-live" {{if .Live}}open{{end}}>
69 68 <summary>
70 69 {{icon "terminal"}}<span class="run-log-title">Job output</span>
71 <span class="run-log-meta">attempt {{.LogAttempt}}{{if .Live}} · live{{else}} · complete{{end}}</span>
70 <span class="run-log-meta">attempt {{.LogAttempt}} · <span class="run-log-state">{{if .Live}}live{{else}}complete{{end}}</span></span>
72 71 </summary>
73 72 <pre class="run-log-text" data-log-stream
74 73 data-log-url="/r/{{.Name}}/runs/{{.Run.ID}}/log?attempt={{.LogAttempt}}"