Tags: calcom/cal.com
Tags
perf: rename eventTypes.heavy to eventTypesHeavy (#24630) * Rename eventTypes.heavy to eventTypesHeavy * Update eventTypes lib types * Remove trpc and trpc client heavy resolve endpoint * Update shared file * Fix comments * Rename path * Fix wait for URL path * Fix API endpoint in event-types.e2e.ts test * fix: Import WorkflowType from enums instead of client The WorkflowType enum should be imported from @calcom/prisma/enums rather than @calcom/prisma/client. This was causing integration tests to fail with 'Cannot read properties of undefined (reading EVENT_TYPE)' because the enum wasn't being properly exported from the client. This fixes the remaining integration test failures after the Prisma 6.16 upgrade. Co-Authored-By: [email protected] <[email protected]> --------- Co-authored-by: Keith Williams <[email protected]> Co-authored-by: Anik Dhabal Babu <[email protected]> Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: [email protected] <[email protected]>
fix: provide meetingStartTime for test preview to prevent 'Meeting st… …art time is required' crash (#24379) * fix: provide meetingStartTime for test preview to prevent RR timestamp error When Round Robin timestamp basis is set to START_TIME, the system requires a meeting start time to calculate the interval for load balancing. Test Preview doesn't have a real meeting time since it's just simulating the routing logic. This fix provides the current time (new Date()) as the meetingStartTime when calling getOrderedListOfLuckyUsers in test preview mode. This allows the Round Robin calculation to proceed using the current interval for realistic ordering while still being in preview mode. Fixes the 'Meeting start time is required' error that occurs when users click Test Preview on routing forms with Round Robin timestamp basis set to START_TIME. Co-Authored-By: [email protected] <[email protected]> * add comment --------- Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
PreviousNext