Public: anyone can read this; the crew can change it.
A repository's runs page filters by state: `?state=failed` lists only failed runs, under a row of state links #6477
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
When something broke, the owner wants the failed runs at once, without scrolling past a day of green ones.
Done:
/:owner/:name/runs?state=<s>accepts only the run states the page already shows. Any other value is ignored, and the page shows every run, as it does today.All · Failed · Running · Succeeded(or the page's own state words), marks the current one witharia-current. Each one keeps the reader on this page.test/runs-state-filter.test.tsseeds a failed and a succeeded run.?state=failedlists only the failed one,?state=boguslists both, and the current link is marked.bun scripts/design-lint.tspasses.Files: src/web/pages/runs.ts, test/runs-state-filter.test.ts