Add PPR evals and fix env loading for agent-eval 0.9.5#92063
Add PPR evals and fix env loading for agent-eval 0.9.5#92063
Conversation
Stats from current PR🔴 3 regressions
📊 All Metrics📖 Metrics GlossaryDev Server Metrics:
Build Metrics:
Change Thresholds:
⚡ Dev Server
📦 Dev Server (Webpack) (Legacy)📦 Dev Server (Webpack)
⚡ Production Builds
📦 Production Builds (Webpack) (Legacy)📦 Production Builds (Webpack)
📦 Bundle SizesBundle Sizes⚡ TurbopackClient Main Bundles
Server Middleware
Build DetailsBuild Manifests
📦 WebpackClient Main Bundles
Polyfills
Pages
Server Edge SSR
Middleware
Build DetailsBuild Manifests
Build Cache
🔄 Shared (bundler-independent)Runtimes
📝 Changed Files (4 files)Files with changes:
View diffspages-api-tu..ntime.dev.jsDiff too large to display pages-api-tu..time.prod.jsDiff too large to display pages-turbo...ntime.dev.jsDiff too large to display pages-turbo...time.prod.jsDiff too large to display 📎 Tarball URL |
Failing test suitesCommit: 9972d1b | About building and testing Next.js
Expand output● app-dir - server-action-period-hash › should have same manifest between continuous two builds ● app-dir - server-action-period-hash › should have different manifest between two builds with period hash
Expand output● segment cache (per-page dynamic stale time) › two dynamic pages with different stale times behave independently ● segment cache (per-page dynamic stale time) › per-page value overrides global staleTimes.dynamic regardless of direction
Expand output● app dir - navigation › navigating to dynamic params & changing the casing › should load the page correctly |
Upgrades
@vercel/agent-evalfrom 0.8.0 to 0.9.5. The new version loads.env/.env.localfrom its own cwd (evals/) rather than inheriting from the parent process, so the oldprocess.loadEnvFile()call no longer works. Instead,run-evals.jsnow symlinks the root env files intoevals/before spawning the harness.evals/.envis added to.gitignoreto keep secrets out of the tree.Two new evals exercise PPR knowledge:
agent-041-optimize-ppr-shellchecks that the agent decomposes a monolithicloading.tsxinto granularSuspenseboundaries, andagent-042-enable-pprverifies the agent knows PPR is enabled viacacheComponents: true(not the oldexperimental.pprflag).