Repository navigation
feat(website): deploy TanStack Start SSR to Cloudflare Workers - #117
Merged
Merged
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
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
Move the website from a Pages SPA to TanStack Start SSR on Workers with
rsbuild-plugin-cloudflare, preservingrstack.config.ts, therscommands, and build-time history fetching. Timestamps and the refresh countdown stay empty during SSR and appear in local time after hydration; the timeline still renders initial rows on the server. Configure a root not-found page for unknown paths.Apply a temporary pnpm patch for development CSS (TanStack/router#8886) and upgrade Rstack to 0.9 / Rsbuild 2.3 for the SSR define fix.
Cloudflare Workers Builds owns builds and deployments. The existing hourly GitHub workflow triggers a Workers Deploy Hook; configure
CLOUDFLARE_WORKERS_DEPLOY_HOOK_URLand the build/deploy commands inwebsite/README.md. No additional website CI workflow or smoke-check script is added.Validate the first Worker deployment before moving the custom domain and disabling Pages Git deployments. This PR does not change dashboard settings or live domains. Workflow changes need no action release or upstream SHA pin updates.
CI setup-node steps read the repository
.nvmrc(Node 24.22.0), including all stack build actions, binding preparation, and history updates, to satisfy the new Cloudflare CLI dependency's engine requirement.Validation
pnpm install --frozen-lockfileon Node 24.22.0.nvmrcpnpm checkpnpm --filter ecosystem-ci-website exec tsc --noEmitpnpm build:websitepnpm --filter ecosystem-ci-website deploy:prebuilt --dry-runRelated links