fix: Fairness when routing #45885
Triggered via pull request
January 29, 2025 20:44
CarinaWolli
synchronize
#18550
Status
Failure
Total duration
15m 58s
Artifacts
1
pr.yml
on: pull_request_target
Detect changes
13s
Production builds
/
Build API v1
3m 0s
Production builds
/
Build API v2
4m 41s
Type check
/
check-types
2m 8s
Linters
/
lint
2m 22s
Tests
/
Unit
2m 27s
Production builds
/
Build Atoms
5m 17s
Production builds
/
Build Docs
1m 30s
Analyze Build
/
analyze
1m 50s
Matrix: Tests / e2e
Waiting for pending jobs
Tests
/
E2E App Store
Tests
/
E2E Embed Core
Tests
/
E2E Embed React
required
0s
Publish HTML report
/
publish-report
48s
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 all hosts when routedTeamMemberIds is empty - We don't want to enter a scenario where we have no team members to be booked:
packages/lib/bookings/getRoutedUsers.test.ts#L28
TypeError: getRoutedHostsWithContactOwnerAndFixedHosts is not a function
❯ packages/lib/bookings/getRoutedUsers.test.ts:28:20
|
packages/lib/bookings/getRoutedUsers.test.ts > getRoutedHostsWithContactOwnerAndFixedHosts > should filter hosts based on routedTeamMemberIds, isFixed, and contactOwnerEmail:
packages/lib/bookings/getRoutedUsers.test.ts#L37
TypeError: getRoutedHostsWithContactOwnerAndFixedHosts is not a function
❯ packages/lib/bookings/getRoutedUsers.test.ts:37: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
|
packages/lib/bookings/getRoutedUsers.test.ts > getRoutedHostsWithContactOwnerAndFixedHosts > should return fixed hosts even if routedTeamMemberIds and contactOwnerEmail are invalid :
packages/lib/bookings/getRoutedUsers.test.ts#L60
TypeError: getRoutedHostsWithContactOwnerAndFixedHosts is not a function
❯ packages/lib/bookings/getRoutedUsers.test.ts:60:20
|
apps/web/test/lib/getSchedule.test.ts > getSchedule > Round robin lead skip(i.e. use contact owner specified by teamMemberEmail) - CRM > correctly get slots for event with only round robin hosts - When no availability is found:
apps/web/test/lib/getSchedule.test.ts#L406
Error: has timeslots for 2024-05-23
❯ apps/web/test/lib/getSchedule.test.ts:406:36
|
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 |
|