Problem
app/page.tsx reads searchParams.page synchronously, but on Next 15+ searchParams is a Promise: .page is always undefined, so page links always render page 1. The sibling run page already awaits it correctly.
Where
app/page.tsx vs app/runs/[id]/page.tsx (await searchParams).
Acceptance
Add a failing test/typecheck first asserting searchParams is awaited (or tsc passes against Next 15+ types). Then fix like the run page.
Problem
app/page.tsxreadssearchParams.pagesynchronously, but on Next 15+searchParamsis a Promise:.pageis alwaysundefined, so page links always render page 1. The sibling run page alreadyawaits it correctly.Where
app/page.tsxvsapp/runs/[id]/page.tsx(await searchParams).Acceptance
Add a failing test/typecheck first asserting
searchParamsis awaited (ortscpasses against Next 15+ types). Then fix like the run page.