-
Notifications
You must be signed in to change notification settings - Fork 8.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: handle dry-run for slot reservation #18865
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ |
Hey there and thank you for opening this pull request! 👋🏼 We require pull request titles to follow the Conventional Commits specification and it looks like your proposed title needs to be adjusted. Details:
|
@@ -4,6 +4,8 @@ import Head from "next/head"; | |||
|
|||
import type { inferSSRProps } from "@calcom/types/inferSSRProps"; | |||
|
|||
import PageWrapper from "@components/PageWrapper"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixes the issue of invisible page when /router has missing required fields
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just documented this, while identify what all could be not handled by dry-run. Could be useful for later as well.
@@ -54,7 +54,7 @@ export const reserveSlotHandler = async ({ ctx, input }: ReserveSlotOptions) => | |||
} | |||
} | |||
|
|||
if (eventType && shouldReserveSlot) { | |||
if (eventType && shouldReserveSlot && !_isDryRun) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't reserve slots through dry run
Graphite Automations"Add consumer team as reviewer" took an action on this PR • (01/24/25)1 reviewer was added to this PR based on Keith Williams's automation. |
E2E results are ready! |
What does this PR do?
Also fixes invisible page when required param is missing in headless router(i.e. /router)
Mandatory Tasks (DO NOT REMOVE)