
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-07-07 10:20:24 +01:00
2025-07-09 09:26:01 +01:00
2022-08-30 12:25:24 -06:00
2023-12-17 08:21:22 +10:00
2025-07-04 21:08:05 +01:00
2025-07-09 09:26:01 +01:00
2025-07-09 12:15:09 +01:00
2025-07-09 10:33:13 -04:00
2025-07-09 09:26:01 +01:00
2025-05-13 20:48:14 +00:00
2025-07-09 09:26:01 +01:00
2025-05-01 10:35:17 +01:00
2025-07-09 12:15:09 +01:00
2024-10-31 14:57:07 +00:00
2023-03-15 15:01:04 -07:00
2025-05-09 19:44:48 +00:00
2023-09-14 08:58:08 +02:00
2023-11-06 13:30:37 +05:30
2025-05-06 15:19:47 +00:00
2024-12-11 14:18:32 +01:00
2025-02-10 03:35:17 +00:00
2025-07-01 19:26:51 +00:00
2025-05-08 20:14:47 -07:00
2025-05-05 11:47:27 -04:00
2025-05-05 11:47:27 -04:00
2022-07-22 11:27:06 -06:00
2025-06-02 19:21:38 +01:00
2025-07-09 00:00:28 +00:00
2025-04-20 16:16:48 +00:00
2025-05-14 12:21:13 +00:00
2025-05-14 12:21:13 +00:00
2025-05-01 10:35:17 +01:00
2025-03-03 15:53:28 -03:00
2025-05-22 18:31:02 +00:00