Skip to content

Sync the vendored stream file with the prepared TanStack upstream patch - #176

Merged
trueadm merged 2 commits into
mainfrom
claude/vendor-upstream-sync
Jul 19, 2026
Merged

trueadm merged 2 commits into
mainfrom
claude/vendor-upstream-sync

Conversation

@trueadm

@trueadm trueadm commented Jul 19, 2026 •

Copy link
Copy Markdown
Collaborator

Follow-up to #168/#174. The native-injection renderRouterToStream was prepared as a ready-to-apply patch for TanStack/router#7847 (taren/framework-adapter @ 753f919e — the exact commit the vendor tree came from). This keeps the vendored copy byte-identical to that patch (the delta was comment-only; the code already matched), so vendor-vs-upstream diffs stay clean and the file becomes verbatim again the moment upstream applies it.

Also documents the one deliberate vendor divergence in the package README, which still claimed the entire tree was verbatim.

Verified: injection contract tests 18/18, website ssr-hydration e2e 32/32 (cold vite cache), format clean.

🤖 Generated with Claude Code


Note

Low Risk
Documentation and comment alignment only; no new SSR logic in this diff beyond matching the already-applied upstream patch text.

Overview
Adds tanstack-octane-native-injection.patch as the canonical copy of the TanStack/router#7847 change and updates @octanejs/tanstack-start README so maintenance docs no longer imply all of vendor/ is verbatim.

The vendored renderRouterToStream.ts is brought byte-identical to that patch (comment-only delta vs the prior “OCTANE PATCH” wording); runtime behavior was already on octane’s native StreamOptions.injection path. Reviewers can verify with git apply --check on the upstream PR branch until upstream lands the same file.

Reviewed by Cursor Bugbot for commit 25a2bbd. Bugbot is set up for automated code reviews on this repo. Configure here.

The native-injection renderRouterToStream was upstreamed as a ready-to-apply
patch against TanStack/router#7847 (taren/framework-adapter @ 753f919e — the
exact commit the vendor tree came from). Keep the vendored copy
byte-identical to that patch (comment-only delta) so vendor-vs-upstream
diffs stay clean, and document the one deliberate vendor divergence in the
package README, which still claimed the whole tree was verbatim.

Co-Authored-By: Claude Fable 5 <[email protected]>
@vercel

vercel Bot commented Jul 19, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
octane-website Ready Ready Preview, Comment Jul 19, 2026 8:39pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
octane-website-mcp Skipped Skipped Jul 19, 2026 8:39pm

Request Review

@vercel
vercel Bot temporarily deployed to Preview – octane-website July 19, 2026 00:32 Inactive

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit fd5a4e3. Configure here.

Comment thread packages/tanstack-start/README.md Resolved
@trueadm trueadm closed this Jul 19, 2026
@trueadm trueadm reopened this Jul 19, 2026
The README referenced the prepared TanStack patch by a machine-local home
path other maintainers cannot open. The patch now lives next to the package
(packages/tanstack-start/tanstack-octane-native-injection.patch) and the
README points at it, so the byte-identity claim is verifiable from any
checkout: the patch applies clean on TanStack/router#7847's branch and
reproduces the vendored renderRouterToStream.ts exactly (both re-verified).

Co-Authored-By: Claude Fable 5 <[email protected]>
@vercel
vercel Bot temporarily deployed to Preview – octane-website-mcp July 19, 2026 20:38 Inactive
@vercel
vercel Bot temporarily deployed to Preview – octane-website July 19, 2026 20:39 Inactive
@trueadm
trueadm merged commit 06a95fa into main Jul 19, 2026
22 checks passed
@trueadm
trueadm deleted the claude/vendor-upstream-sync branch July 19, 2026 20:53

This branch was previously deployed

2 inactive deployments
Preview – octane-website — 25a2bbdf Deployed Jul 19, 2026 by vercel[bot]
Preview – octane-website-mcp — 25a2bbdf Deployed Jul 19, 2026 by vercel[bot]
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