
Omar LópezandDevin AI
179a547bd0
feat: add race condition test for calendar-cache-serve booking flow (#22170)
* feat: add race condition test for calendar-cache-serve booking flow
- Reproduces double-booking when two guests book same timeslot 1-2s apart
- Enables both calendar-cache and calendar-cache-serve feature flags
- Uses parallel browser contexts to simulate concurrent booking attempts
- Verifies both bookings succeed and create double-booking scenario
Co-Authored-By: zomars@cal.com <zomars@me.com>
* fix: correct page reference in race condition test timeout
- Change page.waitForTimeout(1500) to use correct page context
- Fix timeslot selection to ensure both contexts book same slot
- Remove incorrect host assertion and add logging to demonstrate race condition
- Test now successfully reproduces double-booking bug locally
- Fixes 'end of central directory record signature not found' error
Co-Authored-By: zomars@cal.com <zomars@me.com>
* Update booking-race-condition.e2e.ts
* Update booking-race-condition.e2e.ts
* Update booking-race-condition.e2e.ts
* Update booking-race-condition.e2e.ts
* Create scratchpad.md
* Update booking-race-condition.e2e.ts
* Delete scratchpad.md
* Update booking-race-condition.e2e.ts
* Update booking-race-condition.e2e.ts
---------
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2025-07-09 10:33:13 -04:00
..
2025-05-07 14:41:46 -04:00
2025-03-16 18:22:48 -07:00
2025-06-20 23:00:39 +05:30
2025-06-25 15:59:03 -03:00
2025-03-31 08:53:48 +00:00
2023-03-02 12:13:55 +00:00
2025-06-20 23:00:39 +05:30
2025-06-25 16:58:18 +03:00
2025-04-07 19:43:01 +00:00
2025-06-10 22:23:28 +02:00
2025-02-14 16:31:21 -05:00
2023-10-23 11:54:33 -07:00
2025-01-13 15:46:56 +05:30
2024-12-06 02:53:00 +00:00
2023-08-16 12:49:10 -07:00
2025-03-26 12:42:40 -04:00
2025-03-10 07:39:58 +00:00
2025-06-07 22:30:54 +02:00
2025-07-09 10:33:13 -04:00
2025-03-20 21:30:51 -03:00
2025-05-23 15:30:33 -07:00
2024-09-20 22:47:21 +05:30
2025-03-31 21:18:06 +05:30
2025-04-04 15:33:14 -04:00
2025-02-25 06:27:23 -05:00
2025-02-14 16:31:21 -05:00
2025-06-20 23:00:39 +05:30
2025-05-30 12:56:49 +00:00
2025-05-30 12:56:49 +00:00
2025-05-07 18:04:06 +05:30
2025-03-25 13:55:29 +05:30
2024-11-26 12:52:21 -03:00
2024-09-18 23:25:44 +09:00
2025-05-27 17:47:40 +02:00
2025-02-26 14:39:49 +01:00
2025-05-22 08:46:51 +00:00
2024-12-23 19:16:38 +00:00
2025-03-10 07:39:58 +00:00
2025-04-04 15:33:14 -04:00
2025-06-16 09:51:37 +00:00
2023-06-06 18:02:32 +00:00
2025-03-26 12:42:40 -04:00
2023-10-09 16:30:30 +01:00
2025-06-20 23:00:39 +05:30
2025-04-07 19:43:01 +00:00
2025-03-11 14:01:48 +00:00
2024-09-26 15:27:56 -04:00
2025-03-20 12:14:51 +00:00
2025-05-22 08:46:51 +00:00
2024-09-18 23:25:44 +09:00
2025-04-08 16:33:44 +00:00
2024-12-06 02:53:00 +00:00
2025-04-04 15:33:14 -04:00
2025-06-07 22:30:54 +02:00
2025-01-10 17:17:12 +05:30
2024-10-29 12:49:21 -03:00
2025-06-10 22:23:28 +02:00
2025-04-01 10:57:36 +01:00
2025-06-10 22:23:28 +02:00
2024-08-05 23:38:45 +01:00
2025-03-24 16:50:55 -03:00
2025-04-09 10:45:27 +05:30
2025-01-20 09:18:12 -05:00
2024-09-12 12:33:10 -07:00