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
Neto
Neto6mo ago
you can make a separate branch to test stuff vercel deploys branches as well
Andrés
AndrésOP6mo ago
Are you thinking branch previews or setting a separate instance to deploy a branch? From my understanding preview has a few differences from production
Neto
Neto6mo ago
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
Andrés
AndrésOP6mo ago
Thank you, so aside from env var differences, preview behavior should basically be the same as production?
Neto
Neto6mo ago
Pretty much, just the domain won’t be updated directly
Andrés
AndrésOP6mo ago
Wonderful, thank you for clarifying!
Want results from more Discord servers?
Add your server