Skip to content

Apply title templates to default error page titles. - #827

Merged
cpojer merged 1 commit into
mainfrom
codex/error-page-title-templates
Nov 14, 2026
Merged

cpojer merged 1 commit into
mainfrom
codex/error-page-title-templates

Conversation

@cpojer

@cpojer cpojer commented Nov 14, 2026

Copy link
Copy Markdown
Member

Default 404 and 500 boundary titles were added after head resolution, so they bypassed titleTemplate. Apply project or middleware templates to those default titles while preserving explicit titles and the correct title when a failing 404 boundary escalates to a 500 boundary.

Covers HTML responses, Pages navigation payloads, and browser tab titles across React, Vue, Svelte, and Solid. A custom error-page title API remains separate from this fix.

Validation:

  • Seven default-title regression cases fail before the fix.
  • Focused boundary, head, and four-adapter integration tests pass independently.
  • Combined fix-batch verification: 13,338 affected tests, 17,009 full-suite tests with vp test run --pool forks, vp run build:all, vp run check, formatting, linting, and build-artifact checks.

The default full-suite run hit a native Node 24/V8 WebAssembly JIT assertion (end > addr); forked-worker verification completed successfully.

Refs #825.

@cpojer
cpojer merged commit 7d34d61 into main Nov 14, 2026
20 checks passed
@cpojer
cpojer deleted the codex/error-page-title-templates branch November 14, 2026 02:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant