-
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
test: Scenario that replicates the crash in production #19071
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
2 Skipped Deployments
|
Hariom Balhara seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
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:
|
@@ -409,7 +409,14 @@ async function _getAvailableSlots({ input, ctx }: GetScheduleOptions): Promise<I | |||
minimumBookingNotice: eventType.minimumBookingNotice, | |||
frequency: eventType.slotInterval || input.duration || eventType.length, | |||
organizerTimeZone: eventTimeZone, | |||
datesOutOfOffice: !isTeamEvent ? allUsersAvailability[0]?.datesOutOfOffice : undefined, | |||
datesOutOfOffice: { | |||
"2020-06-01": { |
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.
This is a an old date before current time causing the error.
Hi @hariombalhara I'd love to merge this test if it passes when the cause of crash is reverted. So we cover this scenario the next time. |
What does this PR do?
Mandatory Tasks (DO NOT REMOVE)
How should this be tested?
Checklist