next.js
6100e81e - eval: verify independent dashboard streaming (#101155)

Commit
24 days ago
eval: verify independent dashboard streaming (#101155) ## Summary The dashboard task asks for a visible static shell and sections that appear as their own data becomes ready. The original fixture used one shared API response, so it could not demonstrate the sections loading independently. Give each section its own data loader and make concurrent loading explicit. The grader holds all three requests, then makes each section ready first on a fresh browser navigation while the other two remain blocked. It checks visible content rather than HTML that React has sent but still keeps hidden. ## Verification Replayed the same implementations on Next.js 16.4.5, without coding-agent reruns: | Implementation | Previous grader (`788c0b8`) | Updated grader | | --- | --- | --- | | Each section appears when its own data is ready | 2/2 | 2/2 | | Revenue also waits for cards; invoices wait for everything | 2/2, incorrectly accepted | 1/2, rejected | | Three async sections share one Suspense boundary | 1/2, rejected | 1/2, rejected | | One component awaits all data before rendering the sections | 1/2, rejected | 1/2, rejected | | Untouched fixture blocks the shell on all data | 1/2, rejected | 1/2, rejected | There are two checks: keeping Cache Components enabled and the streaming behavior. **1/2 means the configuration check passed but the app failed the streaming check.** These rows validate the grader using known good and bad implementations; they are not model scores. The previous grader always released cards first, then revenue, then invoices. That let the cross-dependent implementation pass. The updated grader also tests revenue first and invoices first, exposing those waits. The reference repair passes every arrival order. An earlier raw-HTML check also accepted hidden segments; the browser assertions reject that case. Eval TypeScript and scoped lint pass. Historical model scores are unchanged because this PR changes the task. Measuring model performance on the revised task would be a separate coding-agent run. <!-- NEXT_JS_LLM -->
Author
Parents
Loading