chore: Add Prisma extension to block deleteMany/updateMany with undefined 'in' #25873
Triggered via pull request
July 18, 2024 22:27
keithwillcode
synchronize
#15721
Status
Failure
Total duration
6h 3m 9s
Artifacts
9
pr.yml
on: pull_request_target
Detect changes
11s
Production builds
/
Build API v1
3m 59s
Production builds
/
Build API v2
5m 28s
Type check
/
check-types
2m 13s
Linters
/
lint
3m 5s
Tests
/
Unit
2m 29s
Analyze Build
/
analyze
2m 6s
Matrix: Tests / e2e
Tests
/
Integration
1m 36s
Tests
/
E2E App Store
2m 48s
Tests
/
E2E Embed Core
3m 5s
Tests
/
E2E Embed React
3m 3s
required
4s
Annotations
17 errors, 3 warnings, and 7 notices
[@calcom/web] › apps/web/playwright/settings-admin.e2e.ts:9:7 › Settings/admin tests -- future › should render /settings/admin page:
apps/web/playwright/settings-admin.e2e.ts#L21
1) [@***com/web] › apps/web/playwright/settings-admin.e2e.ts:9:7 › Settings/admin tests -- future › should render /settings/admin page
Error: Timed out 30000ms waiting for expect(received).toBeVisible()
Call log:
- expect.toBeVisible with timeout 30000ms
- waiting for getByRole('heading', { name: 'Feature Flags' })
- waiting for getByRole('heading', { name: 'Feature Flags' })
19 | const locator = page.getByRole("heading", { name: "Feature Flags" });
20 |
> 21 | await expect(locator).toBeVisible();
| ^
22 | });
23 | });
24 |
at /home/runner/actions-runner/_work/***.com/***.com/apps/web/playwright/settings-admin.e2e.ts:21:27
|
[@calcom/web] › apps/web/playwright/webhook.e2e.ts:481:7 › MEETING_ENDED:
apps/web/playwright/fixtures/bookings.ts#L45
2) [@***com/web] › apps/web/playwright/webhook.e2e.ts:481:7 › MEETING_ENDED, MEETING_STARTED › should create/remove scheduledWebhookTriggers for existing bookings
PrismaClientKnownRequestError:
Invalid `prisma.booking.create()` invocation in
/home/runner/actions-runner/_work/***.com/***.com/apps/web/playwright/fixtures/bookings.ts:45:44
42 const startDate = startDateParam || dayjs().add(1, "day").toDate();
43 const seed = `${username}:${dayjs(startDate).utc().format()}:${new Date().getTime()}`;
44 const uid = translator.fromUUID(uuidv5(seed, uuidv5.URL));
→ 45 const booking = await prisma.booking.create(
Unique constraint failed on the fields: (`uid`)
at apps/web/playwright/fixtures/bookings.ts:45
43 | const seed = `${username}:${dayjs(startDate).utc().format()}:${new Date().getTime()}`;
44 | const uid = translator.fromUUID(uuidv5(seed, uuidv5.URL));
> 45 | const booking = await prisma.booking.create({
| ^
46 | data: {
47 | uid: uid,
48 | title: title || "30min",
at Cn.handleRequestError (/home/runner/actions-runner/_work/***.com/***.com/node_modules/@prisma/client/runtime/library.js:123:6817)
at Cn.handleAndLogRequestError (/home/runner/actions-runner/_work/***.com/***.com/node_modules/@prisma/client/runtime/library.js:123:6206)
at Cn.request (/home/runner/actions-runner/_work/***.com/***.com/node_modules/@prisma/client/runtime/library.js:123:5926)
at l (/home/runner/actions-runner/_work/***.com/***.com/node_modules/@prisma/client/runtime/library.js:128:9968)
at Object.create (/home/runner/actions-runner/_work/***.com/***.com/apps/web/playwright/fixtures/bookings.ts:45:23)
|
[@calcom/web] › apps/web/playwright/webhook.e2e.ts:481:7 › MEETING_ENDED:
apps/web/playwright/webhook.e2e.ts#L1
2) [@***com/web] › apps/web/playwright/webhook.e2e.ts:481:7 › MEETING_ENDED, MEETING_STARTED › should create/remove scheduledWebhookTriggers for existing bookings
Test timeout of 60000ms exceeded.
|
[@calcom/web] › apps/web/playwright/webhook.e2e.ts:481:7 › MEETING_ENDED:
apps/web/playwright/webhook.e2e.ts#L1
2) [@***com/web] › apps/web/playwright/webhook.e2e.ts:481:7 › MEETING_ENDED, MEETING_STARTED › should create/remove scheduledWebhookTriggers for existing bookings
Pending operations:
- page.goto at apps/web/playwright/webhook.e2e.ts:494:16
|
[@calcom/web] › apps/web/playwright/integrations-stripe.e2e.ts:111:7 › Stripe integration skip true › Can book a paid booking:
apps/web/playwright/fixtures/users.ts#L929
1) [@***com/web] › apps/web/playwright/integrations-stripe.e2e.ts:111:7 › Stripe integration skip true › Can book a paid booking
page.waitForURL: Timeout 30000ms exceeded.
=========================== logs ===========================
waiting for navigation to "/payment/*" until "load"
navigated to "http://***:3000/booking/4qTfwW9J5oLsDaocJvaXZ5?isSuccessBookingPage=true&email=test%40example.com&eventTypeSlug=paid"
============================================================
at apps/web/playwright/fixtures/users.ts:929
927 | await page.fill('[name="email"]', "test@example.com");
928 |
> 929 | await Promise.all([page.waitForURL("/payment/*"), page.press('[name="email"]', "Enter")]);
| ^
930 |
931 | await makePaymentUsingStripe(page);
932 | }
at bookAndPayEvent (/home/runner/actions-runner/_work/***.com/***.com/apps/web/playwright/fixtures/users.ts:929:27)
at /home/runner/actions-runner/_work/***.com/***.com/apps/web/playwright/integrations-stripe.e2e.ts:119:5
|
[@calcom/web] › apps/web/playwright/integrations-stripe.e2e.ts:357:7 › Stripe integration with the new app install flow skip flase › Pending payment booking should not be confirmed by default skip false:
apps/web/playwright/integrations-stripe.e2e.ts#L376
2) [@***com/web] › apps/web/playwright/integrations-stripe.e2e.ts:357:7 › Stripe integration with the new app install flow skip flase › Pending payment booking should not be confirmed by default skip false
expect.toBeVisible: Error: strict mode violation: getByText('Unconfirmed') resolved to 3 elements:
1) <div class="flex items-center gap-x-2"> Unconfirmed</div> aka getByTestId('horizontal-tab-unconfirmed')
2) <div class="font-medium inline-flex items-center just…>Unconfirmed</div> aka getByRole('link', { name: 'Thu, 1 Aug 9:00am - 9:30am Unconfirmed' })
3) <div class="font-medium inline-flex items-center just…>Unconfirmed</div> aka getByRole('link', { name: 'Paid between Nameless and Stripe Stripeson Pending payment You and Stripe Stripeson' })
=========================== logs ===========================
expect.toBeVisible with timeout 30000ms
waiting for getByText('Unconfirmed')
============================================================
374 | await page.goto(`/bookings/upcoming`);
375 |
> 376 | await expect(page.getByText("Unconfirmed")).toBeVisible();
| ^
377 | await expect(page.getByText("Pending payment").last()).toBeVisible();
378 | });
379 |
at /home/runner/actions-runner/_work/***.com/***.com/apps/web/playwright/integrations-stripe.e2e.ts:376:49
|
[@calcom/web] › apps/web/playwright/organization/organization-invitation.e2e.ts:94:9 › Organization › Email not matching orgAutoAcceptEmail › nonexisting user invited to a Team inside organization:
apps/web/playwright/organization/organization-invitation.e2e.ts#L481
1) [@***com/web] › apps/web/playwright/organization/organization-invitation.e2e.ts:94:9 › Organization › Email not matching orgAutoAcceptEmail › nonexisting user invited to a Team inside organization
page.waitForURL: Timeout 30000ms exceeded.
=========================== logs ===========================
waiting for navigation to "/getting-started?from=signup" until "load"
============================================================
479 | await signupPage.locator("input[name=password]").fill(`P4ssw0rd!`);
480 | await signupPage.locator("button[type=submit]").click();
> 481 | await signupPage.waitForURL("/getting-started?from=signup");
| ^
482 | await context.close();
483 | await signupPage.close();
484 | }
at signupFromEmailInviteLink (/home/runner/actions-runner/_work/***.com/***.com/apps/web/playwright/organization/organization-invitation.e2e.ts:481:20)
at /home/runner/actions-runner/_work/***.com/***.com/apps/web/playwright/organization/organization-invitation.e2e.ts:140:9
at /home/runner/actions-runner/_work/***.com/***.com/apps/web/playwright/organization/organization-invitation.e2e.ts:105:7
|
[@calcom/web] › apps/web/playwright/organization/organization-invitation.e2e.ts:94:9 › Organization › Email not matching orgAutoAcceptEmail › nonexisting user invited to a Team inside organization:
apps/web/playwright/organization/organization-invitation.e2e.ts#L481
1) [@***com/web] › apps/web/playwright/organization/organization-invitation.e2e.ts:94:9 › Organization › Email not matching orgAutoAcceptEmail › nonexisting user invited to a Team inside organization
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
page.waitForURL: Timeout 30000ms exceeded.
=========================== logs ===========================
waiting for navigation to "/getting-started?from=signup" until "load"
============================================================
479 | await signupPage.locator("input[name=password]").fill(`P4ssw0rd!`);
480 | await signupPage.locator("button[type=submit]").click();
> 481 | await signupPage.waitForURL("/getting-started?from=signup");
| ^
482 | await context.close();
483 | await signupPage.close();
484 | }
at signupFromEmailInviteLink (/home/runner/actions-runner/_work/***.com/***.com/apps/web/playwright/organization/organization-invitation.e2e.ts:481:20)
at /home/runner/actions-runner/_work/***.com/***.com/apps/web/playwright/organization/organization-invitation.e2e.ts:140:9
at /home/runner/actions-runner/_work/***.com/***.com/apps/web/playwright/organization/organization-invitation.e2e.ts:105:7
|
[@calcom/web] › apps/web/playwright/organization/organization-invitation.e2e.ts:94:9 › Organization › Email not matching orgAutoAcceptEmail › nonexisting user invited to a Team inside organization:
apps/web/playwright/organization/organization-invitation.e2e.ts#L481
1) [@***com/web] › apps/web/playwright/organization/organization-invitation.e2e.ts:94:9 › Organization › Email not matching orgAutoAcceptEmail › nonexisting user invited to a Team inside organization
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
page.waitForURL: Timeout 30000ms exceeded.
=========================== logs ===========================
waiting for navigation to "/getting-started?from=signup" until "load"
============================================================
479 | await signupPage.locator("input[name=password]").fill(`P4ssw0rd!`);
480 | await signupPage.locator("button[type=submit]").click();
> 481 | await signupPage.waitForURL("/getting-started?from=signup");
| ^
482 | await context.close();
483 | await signupPage.close();
484 | }
at signupFromEmailInviteLink (/home/runner/actions-runner/_work/***.com/***.com/apps/web/playwright/organization/organization-invitation.e2e.ts:481:20)
at /home/runner/actions-runner/_work/***.com/***.com/apps/web/playwright/organization/organization-invitation.e2e.ts:140:9
at /home/runner/actions-runner/_work/***.com/***.com/apps/web/playwright/organization/organization-invitation.e2e.ts:105:7
|
[@calcom/web] › apps/web/playwright/organization/organization-invitation.e2e.ts:314:9 › Organization › Email matching orgAutoAcceptEmail and a Verified Organization with DNS Setup Done › nonexisting user is invited to a team inside organization:
apps/web/playwright/organization/organization-invitation.e2e.ts#L481
2) [@***com/web] › apps/web/playwright/organization/organization-invitation.e2e.ts:314:9 › Organization › Email matching orgAutoAcceptEmail and a Verified Organization with DNS Setup Done › nonexisting user is invited to a team inside organization
page.waitForURL: Timeout 30000ms exceeded.
=========================== logs ===========================
waiting for navigation to "/getting-started?from=signup" until "load"
============================================================
479 | await signupPage.locator("input[name=password]").fill(`P4ssw0rd!`);
480 | await signupPage.locator("button[type=submit]").click();
> 481 | await signupPage.waitForURL("/getting-started?from=signup");
| ^
482 | await context.close();
483 | await signupPage.close();
484 | }
at signupFromEmailInviteLink (/home/runner/actions-runner/_work/***.com/***.com/apps/web/playwright/organization/organization-invitation.e2e.ts:481:20)
at /home/runner/actions-runner/_work/***.com/***.com/apps/web/playwright/organization/organization-invitation.e2e.ts:364:9
at /home/runner/actions-runner/_work/***.com/***.com/apps/web/playwright/organization/organization-invitation.e2e.ts:332:7
|
[@calcom/web] › apps/web/playwright/organization/organization-invitation.e2e.ts:314:9 › Organization › Email matching orgAutoAcceptEmail and a Verified Organization with DNS Setup Done › nonexisting user is invited to a team inside organization:
apps/web/playwright/organization/organization-invitation.e2e.ts#L481
2) [@***com/web] › apps/web/playwright/organization/organization-invitation.e2e.ts:314:9 › Organization › Email matching orgAutoAcceptEmail and a Verified Organization with DNS Setup Done › nonexisting user is invited to a team inside organization
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
page.waitForURL: Timeout 30000ms exceeded.
=========================== logs ===========================
waiting for navigation to "/getting-started?from=signup" until "load"
============================================================
479 | await signupPage.locator("input[name=password]").fill(`P4ssw0rd!`);
480 | await signupPage.locator("button[type=submit]").click();
> 481 | await signupPage.waitForURL("/getting-started?from=signup");
| ^
482 | await context.close();
483 | await signupPage.close();
484 | }
at signupFromEmailInviteLink (/home/runner/actions-runner/_work/***.com/***.com/apps/web/playwright/organization/organization-invitation.e2e.ts:481:20)
at /home/runner/actions-runner/_work/***.com/***.com/apps/web/playwright/organization/organization-invitation.e2e.ts:364:9
at /home/runner/actions-runner/_work/***.com/***.com/apps/web/playwright/organization/organization-invitation.e2e.ts:332:7
|
[@calcom/web] › apps/web/playwright/organization/organization-invitation.e2e.ts:314:9 › Organization › Email matching orgAutoAcceptEmail and a Verified Organization with DNS Setup Done › nonexisting user is invited to a team inside organization:
apps/web/playwright/organization/organization-invitation.e2e.ts#L481
2) [@***com/web] › apps/web/playwright/organization/organization-invitation.e2e.ts:314:9 › Organization › Email matching orgAutoAcceptEmail and a Verified Organization with DNS Setup Done › nonexisting user is invited to a team inside organization
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
page.waitForURL: Timeout 30000ms exceeded.
=========================== logs ===========================
waiting for navigation to "/getting-started?from=signup" until "load"
============================================================
479 | await signupPage.locator("input[name=password]").fill(`P4ssw0rd!`);
480 | await signupPage.locator("button[type=submit]").click();
> 481 | await signupPage.waitForURL("/getting-started?from=signup");
| ^
482 | await context.close();
483 | await signupPage.close();
484 | }
at signupFromEmailInviteLink (/home/runner/actions-runner/_work/***.com/***.com/apps/web/playwright/organization/organization-invitation.e2e.ts:481:20)
at /home/runner/actions-runner/_work/***.com/***.com/apps/web/playwright/organization/organization-invitation.e2e.ts:364:9
at /home/runner/actions-runner/_work/***.com/***.com/apps/web/playwright/organization/organization-invitation.e2e.ts:332:7
|
[@calcom/web] › apps/web/playwright/manage-booking-questions.e2e.ts:29:9 › Manage Booking Questions › For User EventType › Do a booking with a Address type question and verify a few thing in b/w:
apps/web/playwright/manage-booking-questions.e2e.ts#L1
3) [@***com/web] › apps/web/playwright/manage-booking-questions.e2e.ts:29:9 › Manage Booking Questions › For User EventType › Do a booking with a Address type question and verify a few thing in b/w
Test timeout of 180000ms exceeded.
|
[@calcom/web] › apps/web/playwright/manage-booking-questions.e2e.ts:29:9 › Manage Booking Questions › For User EventType › Do a booking with a Address type question and verify a few thing in b/w:
apps/web/playwright/manage-booking-questions.e2e.ts#L515
3) [@***com/web] › apps/web/playwright/manage-booking-questions.e2e.ts:29:9 › Manage Booking Questions › For User EventType › Do a booking with a Address type question and verify a few thing in b/w
locator.click: Target closed
=========================== logs ===========================
waiting for locator('[id=test-field-type]').first()
============================================================
513 | }) {
514 | const locatorForSelect = page.locator(selector.selector).nth(selector.nth);
> 515 | await locatorForSelect.click();
| ^
516 | await locatorForSelect.locator(`text="${optionText}"`).click();
517 | }
518 |
at selectOption (/home/runner/actions-runner/_work/***.com/***.com/apps/web/playwright/manage-booking-questions.e2e.ts:515:26)
at addQuestionAndSave (/home/runner/actions-runner/_work/***.com/***.com/apps/web/playwright/manage-booking-questions.e2e.ts:535:11)
at /home/runner/actions-runner/_work/***.com/***.com/apps/web/playwright/manage-booking-questions.e2e.ts:283:5
at runTestStepsCommonForTeamAndUserEventType (/home/runner/actions-runner/_work/***.com/***.com/apps/web/playwright/manage-booking-questions.e2e.ts:282:3)
at /home/runner/actions-runner/_work/***.com/***.com/apps/web/playwright/manage-booking-questions.e2e.ts:47:7
|
[@calcom/web] › apps/web/playwright/manage-booking-questions.e2e.ts:29:9 › Manage Booking Questions › For User EventType › Do a booking with a Address type question and verify a few thing in b/w:
apps/web/playwright/manage-booking-questions.e2e.ts#L1
3) [@***com/web] › apps/web/playwright/manage-booking-questions.e2e.ts:29:9 › Manage Booking Questions › For User EventType › Do a booking with a Address type question and verify a few thing in b/w
Pending operations:
- locator.click at apps/web/playwright/manage-booking-questions.e2e.ts:515:26
|
[@calcom/web] › apps/web/playwright/managed-event-types.e2e.ts:17:7 › Managed Event Types › Can create managed event type:
apps/web/playwright/managed-event-types.e2e.ts#L1
4) [@***com/web] › apps/web/playwright/managed-event-types.e2e.ts:17:7 › Managed Event Types › Can create managed event type
Test timeout of 60000ms exceeded while tearing down "context".
|
required
Process completed with exit code 1.
|
🎭 Playwright Run Summary
5 skipped
10 passed (30.9s)
|
🎭 Playwright Run Summary
1 skipped
2 passed (3.5s)
|
🎭 Playwright Run Summary
3 skipped
21 passed (44.0s)
|
🎭 Playwright Run Summary
2 flaky
[@***com/web] › apps/web/playwright/settings-admin.e2e.ts:9:7 › Settings/admin tests -- future › should render /settings/admin page
[@***com/web] › apps/web/playwright/webhook.e2e.ts:481:7 › MEETING_ENDED, MEETING_STARTED › should create/remove scheduledWebhookTriggers for existing bookings
18 skipped
72 passed (1.5m)
|
🎭 Playwright Run Summary
2 flaky
[@***com/web] › apps/web/playwright/integrations-stripe.e2e.ts:111:7 › Stripe integration skip true › Can book a paid booking
[@***com/web] › apps/web/playwright/integrations-stripe.e2e.ts:357:7 › Stripe integration with the new app install flow skip flase › Pending payment booking should not be confirmed by default skip false
9 skipped
92 passed (3.1m)
|
🎭 Playwright Run Summary
2 failed
[@***com/web] › apps/web/playwright/organization/organization-invitation.e2e.ts:94:9 › Organization › Email not matching orgAutoAcceptEmail › nonexisting user invited to a Team inside organization
[@***com/web] › apps/web/playwright/organization/organization-invitation.e2e.ts:314:9 › Organization › Email matching orgAutoAcceptEmail and a Verified Organization with DNS Setup Done › nonexisting user is invited to a team inside organization
2 flaky
[@***com/web] › apps/web/playwright/manage-booking-questions.e2e.ts:29:9 › Manage Booking Questions › For User EventType › Do a booking with a Address type question and verify a few thing in b/w
[@***com/web] › apps/web/playwright/managed-event-types.e2e.ts:17:7 › Managed Event Types › Can create managed event type
6 skipped
32 passed (3.2m)
|
🎭 Playwright Run Summary
4 skipped
132 passed (3.7m)
|
Linters / lint
The following actions uses Node.js version which is deprecated and will be forced to run on node20: ataylorme/eslint-annotate-action@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Analyze Build / analyze
The following actions uses Node.js version which is deprecated and will be forced to run on node20: dawidd6/action-download-artifact@v2, peter-evans/find-comment@v2, peter-evans/create-or-update-comment@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Analyze Build / analyze
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
app-store-results
|
196 KB |
|
bundle
|
2.31 KB |
|
embed-core-results
|
195 KB |
|
embed-react-results
|
177 KB |
|
lint-results
|
341 KB |
|
test-results-1_4
|
272 KB |
|
test-results-2_4
|
28.1 MB |
|
test-results-3_4
|
72.2 MB |
|
test-results-4_4
|
1.21 MB |
|