Skip to content

feat: Round robin reassignment via round robin algorithm [CAL-3138] #26026

feat: Round robin reassignment via round robin algorithm [CAL-3138]

feat: Round robin reassignment via round robin algorithm [CAL-3138] #26026

Triggered via pull request June 12, 2024 23:36
@joeauyeungjoeauyeung
synchronize #14308
Status Success
Total duration 15s
Artifacts

semantic-pull-requests.yml

on: pull_request_target
Validate PR title
5s
Validate PR title
Fit to window
Zoom out
Zoom in

Annotations

125 warnings
apps/web/playwright/teams.e2e.ts#L152
[@typescript-eslint/no-non-null-assertion] Forbidden non-null assertion.
apps/web/playwright/teams.e2e.ts#L162
[@typescript-eslint/no-non-null-assertion] Forbidden non-null assertion.
apps/web/components/settings/platform/oauth-clients/oauth-client-form/index.tsx#L44
[@typescript-eslint/no-unused-vars] 't' is assigned a value but never used. Allowed unused vars must match /^_/u.
packages/app-store/_utils/getCrm.ts#L7
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
apps/web/playwright/teams.e2e.ts#L167
[playwright/no-skipped-test] Unexpected use of the `.skip()` annotation.
packages/app-store/_utils/getCrm.ts#L7
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
apps/web/lib/apps/[slug]/getStaticProps.tsx#L13
[@typescript-eslint/no-unused-vars] 'md' is assigned a value but never used. Allowed unused vars must match /^_/u.
apps/web/playwright/teams.e2e.ts#L202
[playwright/no-skipped-test] Unexpected use of the `.skip()` annotation.
packages/app-store/_utils/useAddAppMutation.ts#L30
[@typescript-eslint/no-unused-vars] 'useAddAppMutationVariables' is defined but never used. Allowed unused vars must match /^_/u.
apps/web/lib/orgMigration.test.ts#L1001
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
apps/web/playwright/teams.e2e.ts#L205
[@typescript-eslint/no-non-null-assertion] Forbidden non-null assertion.
packages/app-store/googlecalendar/tests/google-calendar.e2e.ts#L25
[playwright/no-skipped-test] Unexpected use of the `.skip()` annotation.
apps/web/playwright/webhook.e2e.ts#L489
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
apps/web/lib/orgMigration.test.ts#L1082
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
packages/app-store/googlecalendar/tests/google-calendar.e2e.ts#L38
[playwright/no-skipped-test] Unexpected use of the `.skip()` annotation.
apps/web/test/lib/team-event-types.test.ts#L79
[@typescript-eslint/no-unused-vars] 'test' is assigned a value but never used. Allowed unused vars must match /^_/u.
apps/web/lib/orgMigration.test.ts#L1154
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
packages/app-store/googlecalendar/tests/google-calendar.e2e.ts#L41
[playwright/no-skipped-test] Unexpected use of the `.skip()` annotation.
apps/web/test/utils/bookingScenario/bookingScenario.ts#L139
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
apps/web/lib/orgMigration.test.ts#L1265
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
apps/web/test/utils/bookingScenario/bookingScenario.ts#L211
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
packages/app-store/googlecalendar/tests/google-calendar.e2e.ts#L42
[playwright/no-skipped-test] Unexpected use of the `.skip()` annotation.
apps/web/lib/orgMigration.test.ts#L1304
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
apps/web/test/utils/bookingScenario/bookingScenario.ts#L220
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
packages/app-store/googlecalendar/tests/google-calendar.e2e.ts#L60
[playwright/no-skipped-test] Unexpected use of the `.skip()` annotation.
apps/web/lib/orgMigration.test.ts#L1353
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
apps/web/test/utils/bookingScenario/bookingScenario.ts#L221
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
packages/app-store/googlecalendar/tests/google-calendar.e2e.ts#L72
[playwright/no-skipped-test] Unexpected use of the `.skip()` annotation.
apps/web/lib/orgMigration.ts#L261
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
apps/web/test/utils/bookingScenario/bookingScenario.ts#L222
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
packages/app-store/googlecalendar/tests/google-calendar.e2e.ts#L77
[playwright/no-skipped-test] Unexpected use of the `.skip()` annotation.
apps/web/lib/orgMigration.ts#L377
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
apps/web/test/utils/bookingScenario/bookingScenario.ts#L223
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
packages/app-store/googlecalendar/tests/google-calendar.e2e.ts#L104
[playwright/no-skipped-test] Unexpected use of the `.skip()` annotation.
apps/web/lib/team/[slug]/[type]/getServerSideProps.tsx#L26
[@typescript-eslint/no-unused-vars] 'queryDuration' is assigned a value but never used. Allowed unused vars must match /^_/u.
apps/web/test/utils/bookingScenario/bookingScenario.ts#L368
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
packages/app-store/googlecalendar/tests/testUtils.ts#L110
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
apps/web/middleware.ts#L14
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
apps/web/test/utils/bookingScenario/bookingScenario.ts#L369
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
packages/app-store/hubspot/lib/CrmService.ts#L25
[@typescript-eslint/no-unused-vars] 'CustomPublicObjectInput' is defined but never used. Allowed unused vars must match /^_/u.
apps/web/test/utils/bookingScenario/bookingScenario.ts#L499
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
apps/web/modules/event-types/views/event-types-single-view.tsx#L230
[react-hooks/exhaustive-deps] React Hook useEffect has missing dependencies: 'eventType.hosts.length' and 'team'. Either include them or remove the dependency array.
packages/app-store/jelly/lib/VideoApiAdapter.ts#L11
[@typescript-eslint/no-unused-vars] 'event' is defined but never used. Allowed unused args must match /^_/u.
apps/web/test/utils/bookingScenario/bookingScenario.ts#L500
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
apps/web/modules/users/views/users-public-view.tsx#L29
[@typescript-eslint/no-unused-vars] 't' is assigned a value but never used. Allowed unused vars must match /^_/u.
packages/app-store/jelly/lib/VideoApiAdapter.ts#L32
[@typescript-eslint/no-unused-vars] 'event' is defined but never used. Allowed unused args must match /^_/u.
apps/web/test/utils/bookingScenario/bookingScenario.ts#L501
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
apps/web/modules/videos/ai/ai-transcribe.tsx#L10
[@typescript-eslint/no-unused-vars] 't' is assigned a value but never used. Allowed unused vars must match /^_/u.
packages/app-store/jelly/lib/VideoApiAdapter.ts#L41
[@typescript-eslint/no-unused-vars] 'uid' is defined but never used. Allowed unused args must match /^_/u.
apps/web/test/utils/bookingScenario/bookingScenario.ts#L504
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
apps/web/modules/videos/ai/ai-transcribe.tsx#L27
[@typescript-eslint/no-unused-vars] 'ev' is defined but never used. Allowed unused args must match /^_/u.
packages/app-store/jelly/lib/VideoApiAdapter.ts#L45
[@typescript-eslint/no-unused-vars] 'dateFrom' is defined but never used. Allowed unused args must match /^_/u.
apps/web/test/utils/bookingScenario/bookingScenario.ts#L507
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
apps/web/modules/videos/ai/ai-transcribe.tsx#L38
[@typescript-eslint/no-unused-vars] 'ev' is defined but never used. Allowed unused args must match /^_/u.
packages/app-store/jelly/lib/VideoApiAdapter.ts#L45
[@typescript-eslint/no-unused-vars] 'dateTo' is defined but never used. Allowed unused args must match /^_/u.
apps/web/test/utils/bookingScenario/bookingScenario.ts#L673
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
apps/web/pages/api/auth/two-factor/totp/disable.ts#L26
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
packages/app-store/paypal/components/EventTypeAppSettingsInterface.tsx#L35
[@typescript-eslint/no-unused-vars] 'setRequirePayment' is assigned a value but never used. Allowed unused elements of array destructuring patterns must match /^_/u.
apps/web/test/utils/bookingScenario/bookingScenario.ts#L1545
[@typescript-eslint/no-unused-vars] 'app' is assigned a value but never used. Allowed unused vars must match /^_/u.
apps/web/pages/api/auth/two-factor/totp/setup.ts#L28
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
packages/app-store/paypal/components/EventTypeAppSettingsInterface.tsx#L48
[react-hooks/exhaustive-deps] React Hook useEffect has missing dependencies: 'getAppData', 'requirePayment', and 'setAppData'. Either include them or remove the dependency array. If 'getAppData' changes too often, find the parent component that defines it and wrap that definition in useCallback.
apps/web/test/utils/bookingScenario/expects.ts#L174
[@typescript-eslint/no-non-null-assertion] Forbidden non-null assertion.
apps/web/pages/api/send-daily-video-transcript.ts#L71
[@typescript-eslint/no-unused-vars] 'meeting_id' is assigned a value but never used. Allowed unused vars must match /^_/u.
packages/app-store/routing-forms/components/getServerSidePropsSingleForm.ts#L92
[@typescript-eslint/no-unused-vars] 'u' is assigned a value but never used. Allowed unused vars must match /^_/u.
apps/web/test/utils/bookingScenario/expects.ts#L390
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
packages/app-store/routing-forms/pages/route-builder/[...appPages].tsx#L149
[react-hooks/exhaustive-deps] React Hook useEffect has missing dependencies: 'eventOptions' and 'route'. Either include them or remove the dependency array. If 'setCustomEventTypeSlug' needs the current value of 'route', you can also switch to useReducer instead of useState and read 'route' in the reducer.
apps/web/pages/apps/installation/[[...step]].tsx#L126
[react-hooks/exhaustive-deps] React Hook useEffect has a missing dependency: 'formMethods'. Either include it or remove the dependency array.
apps/web/test/utils/bookingScenario/expects.ts#L773
[@typescript-eslint/no-unused-vars] 'organizer' is defined but never used. Allowed unused args must match /^_/u.
packages/app-store/routing-forms/trpc/forms.handler.ts#L40
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
apps/web/pages/settings/my-account/calendars.tsx#L12
[@typescript-eslint/no-unused-vars] 'SkeletonLoader' is assigned a value but never used. Allowed unused vars must match /^_/u.
packages/app-store/salesforce/components/EventTypeAppCardInterface.tsx#L17
[@typescript-eslint/no-unused-vars] 'disabled' is assigned a value but never used. Allowed unused vars must match /^_/u.
apps/web/pages/settings/my-account/profile.tsx#L507
[@typescript-eslint/no-unused-vars] 'isFallbackImg' is defined but never used. Allowed unused args must match /^_/u.
packages/app-store/salesforce/lib/CrmService.ts#L23
[@typescript-eslint/no-unused-vars] 'ContactSearchResult' is defined but never used. Allowed unused vars must match /^_/u.
apps/web/pages/settings/my-account/profile.tsx#L509
[@typescript-eslint/no-unused-vars] 'userOrganization' is defined but never used. Allowed unused args must match /^_/u.
packages/app-store/salesforce/lib/CrmService.ts#L40
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
apps/web/pages/settings/organizations/new/index.tsx#L13
[@typescript-eslint/no-unused-vars] 'querySlug' is defined but never used. Allowed unused args must match /^_/u.
packages/app-store/stripepayment/components/EventTypeAppCardInterface.tsx#L25
[@typescript-eslint/no-unused-vars] 'setRequirePayment' is assigned a value but never used. Allowed unused elements of array destructuring patterns must match /^_/u.
apps/web/pages/settings/platform/oauth-clients/[clientId]/edit/index.tsx#L51
[@typescript-eslint/no-unused-vars] 'userPermissions' is assigned a value but never used. Allowed unused vars must match /^_/u.
packages/app-store/zapier/api/subscriptions/listBookings.ts#L18
[@typescript-eslint/no-unused-vars] 'userInfo' is assigned a value but never used. Allowed unused vars must match /^_/u.
apps/web/playwright/ab-tests-redirect.e2e.ts#L27
[playwright/no-conditional-in-test] Avoid having conditionals in tests
packages/app-store/zapier/api/subscriptions/listBookings.ts#L23
[@typescript-eslint/no-unused-vars] 'teamInfo' is assigned a value but never used. Allowed unused vars must match /^_/u.
apps/web/playwright/ab-tests-redirect.e2e.ts#L43
[playwright/no-conditional-in-test] Avoid having conditionals in tests
packages/app-store/zohocalendar/lib/CalendarService.ts#L283
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
apps/web/playwright/ab-tests-redirect.e2e.ts#L59
[playwright/no-conditional-in-test] Avoid having conditionals in tests
packages/app-store/zohocalendar/lib/CalendarService.ts#L284
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
apps/web/playwright/ab-tests-redirect.e2e.ts#L75
[playwright/no-conditional-in-test] Avoid having conditionals in tests
packages/ui/components/dialog/Dialog.tsx#L214
[@typescript-eslint/no-unused-vars] 'DialogCloseProps' is defined but never used. Allowed unused vars must match /^_/u.
apps/web/playwright/ab-tests-redirect.e2e.ts#L91
[playwright/no-conditional-in-test] Avoid having conditionals in tests
packages/ui/components/form/datepicker/DatePicker.tsx#L17
[@typescript-eslint/no-unused-vars] 'minDate' is defined but never used. Allowed unused args must match /^_/u.
apps/web/playwright/ab-tests-redirect.e2e.ts#L107
[playwright/no-conditional-in-test] Avoid having conditionals in tests
packages/ui/components/image-uploader/BannerUploader.tsx#L130
[react-hooks/exhaustive-deps] React Hook useEffect has missing dependencies: 'height', 't', and 'width'. Either include them or remove the dependency array.
apps/web/playwright/ab-tests-redirect.e2e.ts#L123
[playwright/no-conditional-in-test] Avoid having conditionals in tests
apps/web/app/WithAppDirSsg.tsx#L5
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
apps/web/playwright/app-store.e2e.ts#L13
[playwright/no-skipped-test] Unexpected use of the `.skip()` annotation.
apps/web/app/WithAppDirSsr.tsx#L5
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
apps/web/playwright/fixtures/bookings.ts#L94
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
apps/web/app/WithEmbedSSR.tsx#L12
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
apps/web/playwright/fixtures/bookings.ts#L94
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
apps/web/app/future/apps/[slug]/[...pages]/page.tsx#L130
[@typescript-eslint/no-non-null-assertion] Forbidden non-null assertion.
apps/web/playwright/fixtures/users.ts#L602
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
apps/web/app/layoutHOC.tsx#L9
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
apps/web/playwright/fixtures/users.ts#L624
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
apps/web/app/layoutHOC.tsx#L16
[@typescript-eslint/no-explicit-any] Unexpected any. Specify a different type.
apps/web/playwright/fixtures/users.ts#L654
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
apps/web/components/apps/AppPage.tsx#L130
[react-hooks/exhaustive-deps] React Hook useEffect has missing dependencies: 'mutation', 'searchParams', 'slug', 'type', and 'variant'. Either include them or remove the dependency array.
apps/web/playwright/fixtures/users.ts#L655
[@calcom/eslint/no-prisma-include-true] Do not pass argument object with include: { AnyPropertyName: true } to prisma methods
apps/web/components/apps/installation/ConfigureStepCard.tsx#L63
[react-hooks/exhaustive-deps] React Hook useEffect has missing dependencies: 'categories', 'credentialId', 'getAppDataSetter', and 'slug'. Either include them or remove the dependency array.
apps/web/playwright/organization/booking.e2e.ts#L407
[playwright/no-conditional-in-test] Avoid having conditionals in tests
apps/web/components/apps/installation/ConfigureStepCard.tsx#L151
[react-hooks/exhaustive-deps] React Hook useEffect has a missing dependency: 'setConfigureStep'. Either include it or remove the dependency array. If 'setConfigureStep' changes too often, find the parent component that defines it and wrap that definition in useCallback.
apps/web/playwright/out-of-office.e2e.ts#L14
[playwright/no-skipped-test] Unexpected use of the `.skip()` annotation.
apps/web/components/dialog/ReassignDialog.tsx#L75
[@typescript-eslint/no-unused-vars] 'ReassignDialog' is assigned a value but never used. Allowed unused vars must match /^_/u.
apps/web/playwright/out-of-office.e2e.ts#L33
[playwright/no-skipped-test] Unexpected use of the `.skip()` annotation.
apps/web/components/eventtype/AIEventController.tsx#L100
[@typescript-eslint/no-unused-vars] 'err' is defined but never used. Allowed unused args must match /^_/u.
apps/web/playwright/payment-apps.e2e.ts#L235
[playwright/no-conditional-in-test] Avoid having conditionals in tests
apps/web/components/eventtype/EventAvailabilityTab.tsx#L226
[react-hooks/exhaustive-deps] React Hook useEffect has missing dependencies: 'eventType.schedule', 'eventType.scheduleName', 'getValues', 'isChildrenManagedEventType', 'isManagedEventType', 'setValue', 't', and 'watchSchedule'. Either include them or remove the dependency array.
apps/web/playwright/payment-apps.e2e.ts#L281
[playwright/no-conditional-in-test] Avoid having conditionals in tests
apps/web/components/eventtype/EventTeamTab.tsx#L283
[@typescript-eslint/no-unused-vars] 't' is assigned a value but never used. Allowed unused vars must match /^_/u.
apps/web/playwright/payment.e2e.ts#L17
[playwright/no-skipped-test] Unexpected use of the `.skip()` annotation.
apps/web/components/eventtype/EventTypeSingleLayout.tsx#L287
[react-hooks/exhaustive-deps] React Hook useMemo has missing dependencies: 'eventType.id' and 'formMethods'. Either include them or remove the dependency array.
apps/web/playwright/payment.e2e.ts#L18
[playwright/no-skipped-test] Unexpected use of the `.skip()` annotation.
apps/web/components/eventtype/EventTypeSingleLayout.tsx#L299
[react-hooks/exhaustive-deps] React Hook useMemo has a complex expression in the dependency array. Extract it to a separate variable so it can be statically checked.
apps/web/playwright/profile.e2e.ts#L395
[playwright/no-conditional-in-test] Avoid having conditionals in tests
apps/web/components/settings/SecondaryEmailModal.tsx#L49
[react-hooks/exhaustive-deps] React Hook useEffect has missing dependencies: 'clearErrorMessage' and 'formMethods'. Either include them or remove the dependency array. If 'clearErrorMessage' changes too often, find the parent component that defines it and wrap that definition in useCallback.
apps/web/playwright/signup.e2e.ts#L194
[@typescript-eslint/no-non-null-assertion] Forbidden non-null assertion.
apps/web/playwright/teams.e2e.ts#L22
[playwright/no-skipped-test] Unexpected use of the `.skip()` annotation.