fix(docsite): prerender the templates gallery - #5940
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
github-actions
Bot
requested review from
cvkxx,
ernestt,
kentonquatman and
rubyycheung
September 2, 2026 22:09
Contributor
PR Analysis Report
Generated by PR Enrichment workflow | View current CI run |
imdreamrunner
marked this pull request as ready for review
September 2, 2026 22:51
cixzhang
approved these changes
Sep 2, 2026
ernestt
approved these changes
Sep 3, 2026
josephfarina
pushed a commit
that referenced
this pull request
Sep 4, 2026
* fix(docsite): prerender the templates gallery * fix(docsite): canonicalize template playground URLs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/templatesgallery in the prerendered static shell by narrowinguseSearchParams()to an invisible URL synchronizer/playground#code=…formMeasured result
Using the same headless Chromium probe against the current deploy and this production build:
/templatesas static, and its initial HTML contains the heading and gallery descriptionTest plan
pnpm lint:strictpnpm -F @astryxdesign/docsite typecheckpnpm -F @astryxdesign/docsite test— 457 passedpnpm -F @astryxdesign/docsite build— 341 static pages,/templatesstaticpnpm vitest run --project node packages/cli— 3,119 passedThe monolithic
pnpm testrun hit the repository's known full-load CLI timeout cluster (12 tests); the isolated CLI project above passed all 3,119 tests.