Skip to content

fix: Fairness when routing #45885

fix: Fairness when routing

fix: Fairness when routing #45885

Triggered via pull request January 29, 2025 20:44
@CarinaWolliCarinaWolli
synchronize #18550
Status Failure
Total duration 15m 58s
Artifacts 1

pr.yml

on: pull_request_target
Detect changes
13s
Detect changes
Check for E2E label
1s
Check for E2E label
Install dependencies  /  Yarn install & cache
1m 59s
Install dependencies / Yarn install & cache
Production builds  /  Build Web App
6m 43s
Production builds / Build Web App
Production builds  /  Build API v1
3m 0s
Production builds / Build API v1
Production builds  /  Build API v2
4m 41s
Production builds / Build API v2
Analyze Build  /  analyze
1m 50s
Analyze Build / analyze
Matrix: Tests / e2e
Waiting for pending jobs
Tests  /  E2E App Store
Tests / E2E App Store
Tests  /  E2E Embed Core
Tests / E2E Embed Core
Tests  /  E2E Embed React
Tests / E2E Embed React
Tests  /  E2E API v2
Tests / E2E API v2
Tests  /  Integration
Tests / Integration
Merge reports  /  merge-reports
4m 22s
Merge reports / merge-reports
required
0s
required
Publish HTML report  /  publish-report
48s
Publish HTML report / publish-report
Fit to window
Zoom out
Zoom in

Annotations

17 errors
Type check / check-types
Process completed with exit code 2.
Linters / lint
Process completed with exit code 129.
packages/lib/bookings/findQualifiedHosts.test.ts > findQualifiedHosts > should return qualified hosts based on mock of filterHostsByLeadThreshold: packages/lib/bookings/findQualifiedHosts.test.ts#L80
AssertionError: expected { qualifiedHosts: [ { …(5) }, …(1) ] } to strictly equal { …(2) } - Expected + Received Object { - "fallbackHosts": Array [], "qualifiedHosts": Array [ Object { "createdAt": 2025-01-29T20:49:53.555Z, "isFixed": true, "priority": undefined, "user": Object { "credentials": Array [], "email": "[email protected]", "id": 2, "userLevelSelectedCalendars": Array [], }, "weight": undefined, }, Object { "createdAt": 2025-01-29T20:49:53.555Z, "isFixed": false, "priority": undefined, "user": Object { "credentials": Array [], "email": "[email protected]", "id": 1, "userLevelSelectedCalendars": Array [], }, "weight": undefined, }, ], } ❯ packages/lib/bookings/findQualifiedHosts.test.ts:80:20
packages/lib/bookings/getRoutedUsers.test.ts > getRoutedHostsWithContactOwnerAndFixedHosts > should return all hosts when routedTeamMemberIds is null: packages/lib/bookings/getRoutedUsers.test.ts#L19
TypeError: getRoutedHostsWithContactOwnerAndFixedHosts is not a function ❯ packages/lib/bookings/getRoutedUsers.test.ts:19:20
packages/lib/bookings/getRoutedUsers.test.ts > getRoutedHostsWithContactOwnerAndFixedHosts > should return an empty array when no hosts match the criteria: packages/lib/bookings/getRoutedUsers.test.ts#L51
TypeError: getRoutedHostsWithContactOwnerAndFixedHosts is not a function ❯ packages/lib/bookings/getRoutedUsers.test.ts:51:20
apps/web/test/lib/getSchedule.test.ts > getSchedule > Round robin event > Reschedule: should show timeslots of the same host if rescheduleWithSameRoundRobinHost is true: apps/web/test/lib/getSchedule.test.ts#L2297
Error: has incorrect timeslots for 2024-05-23. - Expected + Received Array [ + "2024-05-23T04:30:00.000Z", + "2024-05-23T05:30:00.000Z", + "2024-05-23T06:30:00.000Z", + "2024-05-23T07:30:00.000Z", + "2024-05-23T08:30:00.000Z", + "2024-05-23T09:30:00.000Z", + "2024-05-23T10:30:00.000Z", "2024-05-23T11:30:00.000Z", "2024-05-23T12:30:00.000Z", "2024-05-23T13:30:00.000Z", "2024-05-23T14:30:00.000Z", "2024-05-23T15:30:00.000Z", ] ❯ apps/web/test/lib/getSchedule.test.ts:2297:24
packages/features/bookings/lib/handleNewBooking/global-booking-limits.test.ts > handleNewBooking > Team Booking Limits > Booking limits per week : packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.ts#L160
Error: no_available_users_found_error ❯ Module.ensureAvailableUsers packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.ts:160:11 ❯ handler packages/features/bookings/lib/handleNewBooking.ts:642:26 ❯ packages/features/bookings/lib/handleNewBooking/global-booking-limits.test.ts:181:32
packages/features/bookings/lib/handleNewBooking/global-booking-limits.test.ts > handleNewBooking > Team Booking Limits > Booking limits per day: packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.ts#L160
Error: no_available_users_found_error ❯ Module.ensureAvailableUsers packages/features/bookings/lib/handleNewBooking/ensureAvailableUsers.ts:160:11 ❯ handler packages/features/bookings/lib/handleNewBooking.ts:642:26 ❯ packages/features/bookings/lib/handleNewBooking/global-booking-limits.test.ts:272:32
Production builds / Build API v1
Process completed with exit code 1.
Production builds / Build API v2
Process completed with exit code 1.
required
Process completed with exit code 1.
Merge reports / merge-reports
Process completed with exit code 1.
Publish HTML report / publish-report
Unable to download artifact(s): Artifact not found for name: html-report--attempt-45885-1 Please ensure that your artifact is not expired and the artifact was uploaded using a compatible version of toolkit/upload-artifact. For more information, visit the GitHub Artifacts FAQ: https://github.com/actions/toolkit/blob/main/packages/artifact/docs/faq.md

Artifacts

Produced during runtime
Name Size
bundle
788 Bytes