test(vite-plugin-nitro): cover http2 pseudo-headers#2233
test(vite-plugin-nitro): cover http2 pseudo-headers#2233brandonroberts merged 7 commits intoanalogjs:alphafrom
Conversation
✅ Deploy Preview for analog-blog ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for analog-app ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
Important Review skippedToo many files! This PR contains 221 files, which is 71 over the limit of 150. ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (11)
📒 Files selected for processing (221)
You can disable this status message by setting the Use the checkbox below for a quick retry:
📝 WalkthroughWalkthroughA new Vitest specification has been added for the Estimated code review effort🎯 1 (Trivial) | ⏱️ ~5 minutes 🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. 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 |
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…ckage-native resolution (analogjs#2279)
…http2-pseudo-headers
|
@brandonroberts ready to merge |
PR Checklist
Closes #2177
Affected scope
vite-plugin-nitroRecommended merge strategy for maintainer [optional]
Commit preservation note [optional]
What is the new behavior?
Adds a focused regression test around
toWebRequest()to verify that HTTP/2 pseudo-headers are ignored when Analog bridges a Node request into WebHeaders.The implementation already filters pseudo-header keys that start with
:, and this PR turns that existing behavior into an explicit regression guard so the issue can be closed with test coverage.Test plan
nx format:checkpnpm buildpnpm testManual verification:
pnpm nx test vite-plugin-nitro --runTestsByPath packages/vite-plugin-nitro/src/lib/utils/node-web-bridge.spec.tsDoes this PR introduce a breaking change?
Other information
This is a verify-close PR for an issue that already appears fixed in the current implementation. The change is test-only.
[optional] What gif best describes this PR or how it makes you feel?