test(e2e): Add integration tests for Fastify#8061
Conversation
🦋 Changeset detectedLatest commit: 688887a The changes in this PR will be included in the next version bump. This PR includes changesets to release 0 packagesWhen changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types 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 |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
@clerk/agent-toolkit
@clerk/astro
@clerk/backend
@clerk/chrome-extension
@clerk/clerk-js
@clerk/dev-cli
@clerk/expo
@clerk/expo-passkeys
@clerk/express
@clerk/fastify
@clerk/hono
@clerk/localizations
@clerk/nextjs
@clerk/nuxt
@clerk/react
@clerk/react-router
@clerk/shared
@clerk/tanstack-react-start
@clerk/testing
@clerk/ui
@clerk/upgrade
@clerk/vue
commit: |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository YAML (base), Organization UI (inherited) Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (16)
📝 WalkthroughWalkthroughThis change introduces Fastify as a new supported application framework for integration testing. It adds a Fastify preset configuration, a complete Fastify + Vite template with Clerk authentication wiring on both client and server sides, and comprehensive integration tests covering authenticated and unauthenticated access as well as frontend API proxy behavior. The CI workflow is updated to include Fastify in the integration-tests matrix, and a new npm script is added for running Fastify-specific integration tests. 🚥 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. 📝 Coding Plan
Comment |
Description
@clerk/fastifycovering basic auth flows and frontend API proxy modefastify-vitetest template app with Fastify server + Vite client, using Express as a bridge to serve the Vite frontendx-forwarded-*headers are used to derive the public origin instead of localhosttest:integration:fastifyscriptChecklist
pnpm testruns as expected.pnpm buildruns as expected.Type of change
Summary by CodeRabbit
New Features
Tests