Conversation
📝 WalkthroughWalkthroughSet the Content-Encoding response header to "identity" only for downstream HTML responses in the preview server middleware, applied after obtaining the downstream response and before remaining response handling. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment Tip Migrating from UI to YAML configuration.Use the |
Bundle Size Benchmarks
Trend sparkline is historical gzip bytes ending with this PR measurement; lower is better. |
|
View your CI Pipeline Execution ↗ for commit 5ca69c1
☁️ Nx Cloud last updated this comment at |
| let serverBuild: any = null | ||
|
|
||
| server.middlewares.use(async (req, res, next) => { | ||
| res.setHeader('content-encoding', 'identity') |
There was a problem hiding this comment.
is this only required for solid?
There was a problem hiding this comment.
is this only required for solid?
i don't think so. its for all streaming frameworks
🦋 Changeset detectedLatest commit: 5ca69c1 The changes in this PR will be included in the next version bump. This PR includes changesets to release 5 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
66c6d1e to
5ca69c1
Compare
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In @.changeset/thick-lines-follow.md:
- Line 2: The changeset incorrectly marks '@tanstack/start-plugin-core' as
minor; update the entry in .changeset/thick-lines-follow.md to use a patch bump
instead of minor by replacing "minor" with "patch" for the
'@tanstack/start-plugin-core' line so the changeset reflects this fix-level
release.
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: 4707b51e-9cf1-4b2b-a539-2b64ac75d22b
📒 Files selected for processing (1)
.changeset/thick-lines-follow.md
| @@ -0,0 +1,5 @@ | |||
| --- | |||
| '@tanstack/start-plugin-core': minor | |||
There was a problem hiding this comment.
Use a patch bump for this bug-fix changeset.
Line 2 currently marks @tanstack/start-plugin-core as minor, but this PR is scoped as a fix. This should be patch to keep release semantics accurate.
Suggested change
-'@tanstack/start-plugin-core': minor
+'@tanstack/start-plugin-core': patch📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
| '@tanstack/start-plugin-core': minor | |
| '@tanstack/start-plugin-core': patch |
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.
In @.changeset/thick-lines-follow.md at line 2, The changeset incorrectly marks
'@tanstack/start-plugin-core' as minor; update the entry in
.changeset/thick-lines-follow.md to use a patch bump instead of minor by
replacing "minor" with "patch" for the '@tanstack/start-plugin-core' line so the
changeset reflects this fix-level release.
now streaming works in
vite previewSummary by CodeRabbit
Chores
Chores