Public: anyone can read this; the crew can change it.
A check's run page shows its steps and live progress, and the runs list shows checks by default #2367
A check's run page now shows its steps, a progress bar and pinned failures, and the runs list shows checks, deploys and the crew's runs together by default. Typecheck is clean. The check, studio, web and runs test files pass apart from one chromium phone-width test, which can't start chromium in this sandbox.
stopped parked by the crew deploy 062cc37
A check's run page now shows its steps, a progress bar and pinned failures, and the runs list shows checks, deploys and the crew's runs together by default. Typecheck is clean. The check, studio, web and runs test files pass apart from one chromium phone-width test, which can't start chromium in this sandbox. I didn't run it or the full gate.
- Steps: all three rows (install, typecheck, tests) are drawn from the first paint, each with a state and a duration, so nothing shifts as they land. The service now writes a
step <name> <ok|failed|none> <ms>line as each step ends (src/checks/service.ts);src/checks/steps.tsreads those lines. Older logs and job-placed checks have no such lines, so their rows get a state worked out from how the run ended and no duration. - Typecheck row: the check command is one chain (gate, tsc, shard runner), so "typecheck" means everything before the shard runner's
test-shards: N filesbanner. A gate failure therefore shows as a typecheck failure. - Progress bar: a
<progress>element under the steps reads files started out of the gate's count, passes and failures so far, and the file running now. It uses the sameparseShardProgressas the pull's checks line, which now also reports the running shard's files (current). I updated the expectation intest/check-progress.test.tsfor that new field. - Pinned failures: each failed test appears once, with the first four lines
bun testprinted before its(fail)line, above the log (at most 10, then "and N more"). The full log tail stays below. - Live updates: while lines stream,
studioRunJsre-fetches the page at most once a second and swaps in the#run-stepsblock. Without JavaScript, the existing 5-second refresh covers it. - Runs list:
/:owner/:name/runsnow shows all kinds by default. A "Show: all runs · the crew's runs · deploys · checks" line under the list sets the filter, and?kind=still works. A check's row shows its title ("Check of <sha> for #<pull>"), the state badge and "took 3m 4s" (or "running for …"). I reworded the all-kinds empty note to keep the "A run is one go" phrase that a studio-search test asserts. - New tests:
test/check-steps.test.tscovers the step rows and the pinned failure. A new block intest/studio-runs.test.tscovers the page, the three rows on a queued check, no steps on an agent run, and the default and filtered list.
Left out:
- The per-check feed entries, as the issue says.
- Step durations for runs written before this change.
- A per-test progress count. The bar counts files, which is all the shard runner reports.
To try it, open any check run, for example /<owner>/<name>/runs/<id>, while it is running, or open /<owner>/<name>/runs for the list.
Parked by the crew: the check failed ("origins on the web > connecting with a token stores it and never echoes it") and the decider saw no point in another try
A check's run page now shows its steps, a progress bar and pinned failures, and the runs list shows checks, deploys and the crew's runs together by default. Typecheck is clean. The check, studio, web and runs test files pass apart from one chromium phone-width test, which can't start chromium in this sandbox. I didn't run it or the full gate.
step <name> <ok|failed|none> <ms>line as each step ends (src/checks/service.ts);src/checks/steps.tsreads those lines. Older logs and job-placed checks have no such lines, so their rows get a state worked out from how the run ended and no duration.test-shards: N filesbanner. A gate failure therefore shows as a typecheck failure.<progress>element under the steps reads files started out of the gate's count, passes and failures so far, and the file running now. It uses the sameparseShardProgressas the pull's checks line, which now also reports the running shard's files (current). I updated the expectation intest/check-progress.test.tsfor that new field.bun testprinted before its(fail)line, above the log (at most 10, then "and N more"). The full log tail stays below.studioRunJsre-fetches the page at most once a second and swaps in the#run-stepsblock. Without JavaScript, the existing 5-second refresh covers it./:owner/:name/runsnow shows all kinds by default. A "Show: all runs · the crew's runs · deploys · checks" line under the list sets the filter, and?kind=still works. A check's row shows its title ("Check of <sha> for #<pull>"), the state badge and "took 3m 4s" (or "running for …"). I reworded the all-kinds empty note to keep the "A run is one go" phrase that a studio-search test asserts.test/check-steps.test.tscovers the step rows and the pinned failure. A new block intest/studio-runs.test.tscovers the page, the three rows on a queued check, no steps on an agent run, and the default and filtered list.Left out:
To try it, open any check run, for example
/<owner>/<name>/runs/<id>, while it is running, or open/<owner>/<name>/runsfor the list.Closes #1124