testing in production setup Next JS Vercel
Hey everyone, the testing in production video inspired this question.
As I’m building out my code pipeline, I’m at a crossroads. Do I go down the feature flag route or create a separate vercel instance attached to a custom domain for production testing.
My objective is to separate my main production build from testing as much as possible. Which I guess is not possible with feature flags. I currently have 3 users and will be onboarding around 3/week for the next month.
I’m curious to see what you guys are doing.
Thank you
6 Replies
you can make a separate branch to test stuff
vercel deploys branches as well
Are you thinking branch previews or setting a separate instance to deploy a branch?
From my understanding preview has a few differences from production
If it’s a one off preview, then making env vars specifically to preview should be fine
If you will have rolling feature for test, then feature flags is the way to go
Thank you, so aside from env var differences, preview behavior should basically be the same as production?
Pretty much, just the domain won’t be updated directly
Wonderful, thank you for clarifying!