test(evals): validate delegated error boundary components (#98387)
Fixes false failures in `agent-030-app-router-migration-hard` when `app/error.tsx` delegates to a shared component through an import, re-export, or wrapper. Replaces the source-text regex with a semantic check that follows the exported implementation and validates recovery against the installed Next.js API, accepting supported `retry` or `reset` callbacks. Validated with the corrected Astra runs and nine additional experiment reruns in https://github.com/vercel/next-evals-oss/pull/120. All nine passed under pass@4; published scores are unchanged. Four Grok experiments were blocked by provider access restrictions.
Showing
Please
register
or
sign in
to comment