fix: Multiple rr-hosts combine to create erroneous availability #45946
pr.yml
on: pull_request_target
Detect changes
13s
Production builds
/
Build API v1
Production builds
/
Build API v2
Type check
/
check-types
2m 32s
Linters
/
lint
1m 56s
Tests
/
Unit
2m 26s
Production builds
/
Build Atoms
Production builds
/
Build Docs
Analyze Build
/
analyze
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
Annotations
12 errors
Linters / lint
Process completed with exit code 129.
|
apps/web/test/lib/getSchedule.test.ts > getSchedule > User Event > correctly identifies unavailable slots from Cal Bookings in different status:
apps/web/test/lib/getSchedule.test.ts#L639
Error: has incorrect timeslots for 2025-02-01.
- Expected
+ Received
Array [
- "2025-02-01T04:00:00.000Z",
- "2025-02-01T04:45:00.000Z",
- "2025-02-01T05:30:00.000Z",
- "2025-02-01T06:15:00.000Z",
- "2025-02-01T07:00:00.000Z",
- "2025-02-01T07:45:00.000Z",
- "2025-02-01T08:30:00.000Z",
- "2025-02-01T09:15:00.000Z",
- "2025-02-01T10:00:00.000Z",
- "2025-02-01T10:45:00.000Z",
- "2025-02-01T11:30:00.000Z",
+ "2025-02-01T04:15:00.000Z",
+ "2025-02-01T05:00:00.000Z",
+ "2025-02-01T05:45:00.000Z",
+ "2025-02-01T06:30:00.000Z",
+ "2025-02-01T07:15:00.000Z",
+ "2025-02-01T08:00:00.000Z",
+ "2025-02-01T08:45:00.000Z",
+ "2025-02-01T09:30:00.000Z",
+ "2025-02-01T10:15:00.000Z",
+ "2025-02-01T11:00:00.000Z",
+ "2025-02-01T11:45:00.000Z",
]
❯ apps/web/test/lib/getSchedule.test.ts:639:43
|
apps/web/test/lib/getSchedule.test.ts > getSchedule > User Event > slots are available as per `length`, `slotInterval` of the event:
apps/web/test/lib/getSchedule.test.ts#L775
Error: has incorrect timeslots for 2025-02-01.
- Expected
+ Received
Array [
- "2025-02-01T04:30:00.000Z",
- "2025-02-01T06:30:00.000Z",
- "2025-02-01T08:30:00.000Z",
- "2025-02-01T10:30:00.000Z",
- "2025-02-01T12:30:00.000Z",
+ "2025-02-01T05:30:00.000Z",
+ "2025-02-01T07:30:00.000Z",
+ "2025-02-01T09:30:00.000Z",
+ "2025-02-01T11:30:00.000Z",
]
❯ apps/web/test/lib/getSchedule.test.ts:775:67
|
apps/web/test/lib/getSchedule.test.ts > getSchedule > User Event > afterBuffer and beforeBuffer tests - Non Cal Busy Time:
apps/web/test/lib/getSchedule.test.ts#L921
Error: has incorrect timeslots for 2025-02-02.
- Expected
+ Received
Array [
- "2025-02-02T08:00:00.000Z",
- "2025-02-02T10:00:00.000Z",
- "2025-02-02T12:00:00.000Z",
+ "2025-02-02T09:00:00.000Z",
]
❯ apps/web/test/lib/getSchedule.test.ts:921:55
|
apps/web/test/lib/getSchedule.test.ts > getSchedule > User Event > afterBuffer and beforeBuffer tests - Cal Busy Time:
apps/web/test/lib/getSchedule.test.ts#L996
Error: has no timeslots for 2025-02-01
❯ apps/web/test/lib/getSchedule.test.ts:996:52
|
apps/web/test/lib/getSchedule.test.ts > getSchedule > User Event > Start times are offset (offsetStart):
apps/web/test/lib/getSchedule.test.ts#L1055
Error: has incorrect timeslots for 2025-02-01.
- Expected
+ Received
Array [
- "2025-02-01T04:05:00.000Z",
- "2025-02-01T04:35:00.000Z",
- "2025-02-01T05:05:00.000Z",
- "2025-02-01T05:35:00.000Z",
- "2025-02-01T06:05:00.000Z",
- "2025-02-01T06:35:00.000Z",
- "2025-02-01T07:05:00.000Z",
- "2025-02-01T07:35:00.000Z",
- "2025-02-01T08:05:00.000Z",
- "2025-02-01T08:35:00.000Z",
- "2025-02-01T09:05:00.000Z",
- "2025-02-01T09:35:00.000Z",
- "2025-02-01T10:05:00.000Z",
- "2025-02-01T10:35:00.000Z",
- "2025-02-01T11:05:00.000Z",
- "2025-02-01T11:35:00.000Z",
- "2025-02-01T12:05:00.000Z",
+ "2025-02-01T04:25:00.000Z",
+ "2025-02-01T04:55:00.000Z",
+ "2025-02-01T05:25:00.000Z",
+ "2025-02-01T05:55:00.000Z",
+ "2025-02-01T06:25:00.000Z",
+ "2025-02-01T06:55:00.000Z",
+ "2025-02-01T07:25:00.000Z",
+ "2025-02-01T07:55:00.000Z",
+ "2025-02-01T08:25:00.000Z",
+ "2025-02-01T08:55:00.000Z",
+ "2025-02-01T09:25:00.000Z",
+ "2025-02-01T09:55:00.000Z",
+ "2025-02-01T10:25:00.000Z",
+ "2025-02-01T10:55:00.000Z",
+ "2025-02-01T11:25:00.000Z",
+ "2025-02-01T11:55:00.000Z",
]
❯ apps/web/test/lib/getSchedule.test.ts:1055:24
|
apps/web/test/lib/getSchedule.test.ts > getSchedule > User Event > that a user is considered busy when there's a booking they host:
apps/web/test/lib/getSchedule.test.ts#L1199
Error: has incorrect timeslots for 2025-02-01.
- Expected
+ Received
Array [
- "2025-02-01T04:15:00.000Z",
- "2025-02-01T05:00:00.000Z",
- "2025-02-01T05:45:00.000Z",
- "2025-02-01T06:30:00.000Z",
- "2025-02-01T07:15:00.000Z",
- "2025-02-01T08:00:00.000Z",
- "2025-02-01T08:45:00.000Z",
- "2025-02-01T09:30:00.000Z",
- "2025-02-01T10:15:00.000Z",
- "2025-02-01T11:00:00.000Z",
- "2025-02-01T11:45:00.000Z",
+ "2025-02-01T04:45:00.000Z",
+ "2025-02-01T05:30:00.000Z",
+ "2025-02-01T06:15:00.000Z",
+ "2025-02-01T07:00:00.000Z",
+ "2025-02-01T07:45:00.000Z",
+ "2025-02-01T08:30:00.000Z",
+ "2025-02-01T09:15:00.000Z",
+ "2025-02-01T10:00:00.000Z",
+ "2025-02-01T10:45:00.000Z",
+ "2025-02-01T11:30:00.000Z",
+ "2025-02-01T12:15:00.000Z",
]
❯ apps/web/test/lib/getSchedule.test.ts:1199:36
|
apps/web/test/lib/getSchedule.test.ts > getSchedule > User Event > a slot counts as being busy when the eventType is requiresConfirmation and requiresConfirmationWillBlockSlot:
apps/web/test/lib/getSchedule.test.ts#L1736
Error: has incorrect timeslots for 2025-02-01.
- Expected
+ Received
Array [
- "2025-02-01T04:15:00.000Z",
- "2025-02-01T05:00:00.000Z",
- "2025-02-01T05:45:00.000Z",
- "2025-02-01T06:30:00.000Z",
- "2025-02-01T07:15:00.000Z",
- "2025-02-01T08:00:00.000Z",
- "2025-02-01T08:45:00.000Z",
- "2025-02-01T09:30:00.000Z",
- "2025-02-01T10:15:00.000Z",
- "2025-02-01T11:00:00.000Z",
- "2025-02-01T11:45:00.000Z",
+ "2025-02-01T04:45:00.000Z",
+ "2025-02-01T05:30:00.000Z",
+ "2025-02-01T06:15:00.000Z",
+ "2025-02-01T07:00:00.000Z",
+ "2025-02-01T07:45:00.000Z",
+ "2025-02-01T08:30:00.000Z",
+ "2025-02-01T09:15:00.000Z",
+ "2025-02-01T10:00:00.000Z",
+ "2025-02-01T10:45:00.000Z",
+ "2025-02-01T11:30:00.000Z",
+ "2025-02-01T12:15:00.000Z",
]
❯ apps/web/test/lib/getSchedule.test.ts:1736:36
|
apps/web/test/lib/getSchedule.test.ts > getSchedule > Team Event > correctly identifies unavailable slots from calendar for all users in collective scheduling, considers bookings of users in other events as well:
apps/web/test/lib/getSchedule.test.ts#L1835
Error: has incorrect timeslots for 2025-01-31.
- Expected
+ Received
Array [
- "2025-01-31T04:00:00.000Z",
- "2025-01-31T04:45:00.000Z",
- "2025-01-31T05:30:00.000Z",
- "2025-01-31T06:15:00.000Z",
- "2025-01-31T07:00:00.000Z",
- "2025-01-31T07:45:00.000Z",
- "2025-01-31T08:30:00.000Z",
- "2025-01-31T09:15:00.000Z",
- "2025-01-31T10:00:00.000Z",
- "2025-01-31T10:45:00.000Z",
- "2025-01-31T11:30:00.000Z",
+ "2025-01-31T04:15:00.000Z",
+ "2025-01-31T05:00:00.000Z",
+ "2025-01-31T05:45:00.000Z",
+ "2025-01-31T06:30:00.000Z",
+ "2025-01-31T07:15:00.000Z",
+ "2025-01-31T08:00:00.000Z",
+ "2025-01-31T08:45:00.000Z",
+ "2025-01-31T09:30:00.000Z",
+ "2025-01-31T10:15:00.000Z",
+ "2025-01-31T11:00:00.000Z",
+ "2025-01-31T11:45:00.000Z",
]
❯ apps/web/test/lib/getSchedule.test.ts:1835:55
|
apps/web/test/lib/getSchedule.test.ts > getSchedule > Team Event > correctly identifies unavailable slots from calendar for all users in Round Robin scheduling, considers bookings of users in other events as well:
apps/web/test/lib/getSchedule.test.ts#L1975
Error: has incorrect timeslots for 2025-02-01.
- Expected
+ Received
Array [
- "2025-02-01T04:00:00.000Z",
+ "2025-02-01T04:15:00.000Z",
"2025-02-01T04:45:00.000Z",
"2025-02-01T05:30:00.000Z",
"2025-02-01T06:15:00.000Z",
"2025-02-01T07:00:00.000Z",
"2025-02-01T07:45:00.000Z",
"2025-02-01T08:30:00.000Z",
"2025-02-01T09:15:00.000Z",
"2025-02-01T10:00:00.000Z",
"2025-02-01T10:45:00.000Z",
"2025-02-01T11:30:00.000Z",
+ "2025-02-01T05:45:00.000Z",
+ "2025-02-01T06:30:00.000Z",
+ "2025-02-01T07:15:00.000Z",
+ "2025-02-01T08:00:00.000Z",
+ "2025-02-01T08:45:00.000Z",
+ "2025-02-01T09:30:00.000Z",
+ "2025-02-01T10:15:00.000Z",
+ "2025-02-01T11:00:00.000Z",
+ "2025-02-01T11:45:00.000Z",
]
❯ apps/web/test/lib/getSchedule.test.ts:1975:90
|
apps/web/test/lib/getSchedule.test.ts > getSchedule > Team Event > getSchedule can get slots of org's member event type when orgSlug, eventTypeSlug passed as input:
apps/web/test/lib/getSchedule.test.ts#L2069
Error: has incorrect timeslots for 2025-02-01.
- Expected
+ Received
Array [
- "2025-02-01T04:00:00.000Z",
- "2025-02-01T04:45:00.000Z",
- "2025-02-01T05:30:00.000Z",
- "2025-02-01T06:15:00.000Z",
- "2025-02-01T07:00:00.000Z",
- "2025-02-01T07:45:00.000Z",
- "2025-02-01T08:30:00.000Z",
- "2025-02-01T09:15:00.000Z",
- "2025-02-01T10:00:00.000Z",
- "2025-02-01T10:45:00.000Z",
- "2025-02-01T11:30:00.000Z",
+ "2025-02-01T04:15:00.000Z",
+ "2025-02-01T05:00:00.000Z",
+ "2025-02-01T05:45:00.000Z",
+ "2025-02-01T06:30:00.000Z",
+ "2025-02-01T07:15:00.000Z",
+ "2025-02-01T08:00:00.000Z",
+ "2025-02-01T08:45:00.000Z",
+ "2025-02-01T09:30:00.000Z",
+ "2025-02-01T10:15:00.000Z",
+ "2025-02-01T11:00:00.000Z",
+ "2025-02-01T11:45:00.000Z",
]
❯ apps/web/test/lib/getSchedule.test.ts:2069:30
|
required
Process completed with exit code 1.
|