Sign in

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

vole
Site
Clone

Read only, no credentials:

https://rodent.software/vole.git

Write over SSH with a registered key:

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

Self-hosted forge that lives in your Git repo.

Make run pages step-aware and easier to scan

e653853a52ede660a589caeddd1bf46d5101f853 · Keenan Nemetz · 17d ago · parent fdd0b3e8

Make run pages step-aware and easier to scan

Stream structured step events from the runner so a running attempt can show per-step tabs and tail the selected step's log. Keep one log pane for finished runs, label run timings, let queued and running durations tick client-side, and fix long branch names. Polish the runs list with filter totals, a real subtitle, and clearer stop/cancel labels.

server/workflows_test.go +3−3

@@ -80,7 +80,7 @@ jobs:
80 80
81 81 sess, cookie := f.browserSession(t, f.ownerID)
82 82 resp, body := f.browserGet(t, "/"+f.repo+"/runs/01M5R8XR12EZ5WYJDM0F1928D1", cookie)
83 if resp.StatusCode != 200 || !strings.Contains(body, "Cancel queued run") || strings.Contains(body, ">Rerun<") {
83 if resp.StatusCode != 200 || !strings.Contains(body, "Cancel run") || strings.Contains(body, ">Rerun<") {
84 84 t.Fatalf("queued run actions = %d:\n%s", resp.StatusCode, body)
85 85 }
86 86 if !strings.Contains(body, "db") || !strings.Contains(body, "postgres:17") {
@@ -157,7 +157,7 @@ func TestStoppingARunningRunFromTheBrowser(t *testing.T) {
157 157
158 158 sess, cookie := f.browserSession(t, f.ownerID)
159 159 resp, body := f.browserGet(t, "/"+f.repo+"/runs/"+id, cookie)
160 if resp.StatusCode != 200 || !strings.Contains(body, "Stop running run") {
160 if resp.StatusCode != 200 || !strings.Contains(body, "Stop run") {
161 161 t.Fatalf("running run page = %d:\n%s", resp.StatusCode, body)
162 162 }
163 163
@@ -177,7 +177,7 @@ func TestStoppingARunningRunFromTheBrowser(t *testing.T) {
177 177 // The page says the stop is on its way, and does not offer the button again.
178 178 resp, body = f.browserGet(t, "/"+f.repo+"/runs/"+id, cookie)
179 179 if resp.StatusCode != 200 || !strings.Contains(body, "Stopping") ||
180 !strings.Contains(body, f.ownerID) || strings.Contains(body, "Stop running run") {
180 !strings.Contains(body, f.ownerID) || strings.Contains(body, "Stop run") {
181 181 t.Fatalf("page while stopping = %d:\n%s", resp.StatusCode, body)
182 182 }
183 183