jingleberry
jingleberry
TTCTheo's Typesafe Cult
Created by jingleberry on 4/23/2023 in #questions
How do you do safe rollouts of new features?
Looking to discuss and have everyone share their opinions on the topic. I mostly have used feature flags for toggling features in production. However, Vercel’s instant rollback feature looks very promising for smaller projects. Instead of having to flag something, I can just revert if something goes wrong. How does everyone else perform their feature rollouts in a safe manner?
10 replies
TTCTheo's Typesafe Cult
Created by jingleberry on 4/7/2023 in #questions
Webhooks with Google calendar API on Vercel
Looking for any general advice on listening to events from google calendar, in order to sync changes via the Google Calendar UI to my database. The calendar api is a bit different from how Stripe or Clerk does webhooks. You need to create a transient notification channel which needs to be renewed after an interval (e.g 1 day or 1 week). My initial thoughts are to just use a vercel cron job or similar to get the job done. Happy to take alternative suggestions though.
2 replies
TTCTheo's Typesafe Cult
Created by jingleberry on 3/26/2023 in #questions
Vitest, Clerk and TRPC integration
1 replies
TTCTheo's Typesafe Cult
Created by jingleberry on 3/26/2023 in #questions
Backwards compatible deployments with trpc?
Throwing this in a thread to see if anyone’s got some opinions on this topic. Due to the zod validation in the trpc handlers, your frontend and backend deployments must always be in sync in order to avoid runtime errors. If you make a breaking change and somehow an outdated/stale bit of frontend code hits a newer deployment of the API, things will break. I feel like this possibility is not often discussed or even encountered as we tend to use trpc with next js and vercel. So coincidentally the frontend and backend deployments stay in sync.
21 replies