Runs list
QA Wolf, 2025
At QA Wolf, I rebuilt the Runs list, the page where customers and our QA engineers see every test run, on a platform running about 70,000 tests a day. The redesign grouped runs by status, and the database didn’t store one. That gap shaped the whole page, including its one known flaw.
The old page showed one long list. The new one split it into In progress, Completed, and a collapsed group for everything else. A run stayed in progress after it failed, until our QA engineers had investigated each failure as a flake to fix by hand or a real bug to report to the customer. Status was computed from normalized data on every load. Filtering on it efficiently would have taken a schema change, which was outside the page’s scope.
The old page loaded up to about 1,000 runs at once. The new one loaded 100, newest first, with “load more” for the next 100.
Here’s the flaw. Say a customer has five runs in progress, hundreds finished, and one in-progress run from months ago. You scroll to the bottom and hit “load more”. The old run finally loads and slots into In progress, at the top of the page. You’re at the bottom, so you never see it.
My first try was to fetch my way out, thousands of rows at a time, so the old runs would already be on the page. The responses came back too slowly, and they ran into how much TanStack Query could keep cached in the browser. Smaller pages fixed both and brought the jump back.
I’d seen it coming, roughly, and testing showed how much it limited the page. My team lead, the engineer who owned most of the run-status code, and I called the jump an acceptable trade-off. We told product why the page behaved that way, and designed around it.
The fix we’d scoped out, a denormalized status column, stayed the plan for later. Then one of the people driving it moved teams, my team’s work moved off the page, and later never came.
The rest of the page held up. The row was my own call. It used one link, absolutely positioned to fill the row, with the “more” menu and tooltip triggers as siblings stacked above it. The whole row was a click target, and it still worked from the keyboard.
The rebuild also moved the page from GraphQL to tRPC, and from the Next.js pages router to the app router. So teams could migrate page by page, I built tRPC versions of the GraphQL hooks with the same API, mapping Apollo’s options onto TanStack Query’s, and inferring types from the tRPC router where GraphQL had used codegen.
Store what you group by. If a page groups or filters on a value, the database needs that value. I saw that early, and the gap was in how hard I pushed. The real question was a scope trade: could we afford the column now, or could it wait? Next time I’d make the case for now.
On Algomart, we did precompute, because the slow pages were the product. The Runs list wasn’t the most visible page on the platform. Same root problem, different priority.