Skip to content

fix: Resource owner id check only in case credentialSync is enabled which absolutely need it.#14814

Merged
keithwillcode merged 1 commit intomainfrom
04-30-hotfix-conditional-valid-resource-owner-check
Apr 30, 2024
Merged

fix: Resource owner id check only in case credentialSync is enabled which absolutely need it.#14814
keithwillcode merged 1 commit intomainfrom
04-30-hotfix-conditional-valid-resource-owner-check

Conversation

@hariombalhara
Copy link
Copy Markdown
Member

@hariombalhara hariombalhara commented Apr 30, 2024

What does this PR do?

Fixes weird crash during booking in some cases where credential doesn't have userId.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

@vercel
Copy link
Copy Markdown

vercel bot commented Apr 30, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ai ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 30, 2024 2:46pm
platform-starter-kit ❌ Failed (Inspect) Apr 30, 2024 2:46pm
2 Ignored Deployments
Name Status Preview Comments Updated (UTC)
cal ⬜️ Ignored (Inspect) Apr 30, 2024 2:46pm
calcom-web-canary ⬜️ Ignored (Inspect) Apr 30, 2024 2:46pm

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 30, 2024

Thank you for following the naming conventions! 🙏 Feel free to join our discord and post your PR link.

Copy link
Copy Markdown
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @hariombalhara and the rest of your teammates on Graphite Graphite

@keithwillcode keithwillcode added consumer core area: core, team members only labels Apr 30, 2024
@hariombalhara hariombalhara marked this pull request as ready for review April 30, 2024 14:48
@graphite-app graphite-app bot requested a review from a team April 30, 2024 14:48
@dosubot dosubot bot added app-store area: app store, apps, calendar integrations, google calendar, outlook, lark, apple calendar 🐛 bug Something isn't working labels Apr 30, 2024
Copy link
Copy Markdown
Contributor

@joeauyeung joeauyeung left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@graphite-app
Copy link
Copy Markdown

graphite-app bot commented Apr 30, 2024

Graphite Automations

"Add consumer team as reviewer" took an action on this PR • (04/30/24)

1 reviewer was added to this PR based on Keith Williams's automation.

@hariombalhara hariombalhara changed the title hotfix-conditional-valid-resource-owner-check fix: Resource owner id check only in case credentialSync is enabled which absolutely need it. Apr 30, 2024
@keithwillcode keithwillcode enabled auto-merge (squash) April 30, 2024 14:56
@deploysentinel
Copy link
Copy Markdown

deploysentinel bot commented Apr 30, 2024

Current Playwright Test Results Summary

✅ 315 Passing - ⚠️ 23 Flaky

Run may still be in progress, this comment will be updated as current testing workflow or job completes...

(Last updated on 04/30/2024 03:03:50pm UTC)

Run Details

Running Workflow PR Update on Github Actions

Commit: c84c064

Started: 04/30/2024 02:58:44pm UTC

⚠️ Flakes

📄   apps/web/playwright/webhook.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
BOOKING_RESCHEDULED when rescheduling to a booking that already exists, should send a booking rescheduled event with the existant booking uid
Retry 2Retry 1Initial Attempt
13.30% (25) 25 / 188 runs
failed over last 7 days
42.55% (80) 80 / 188 runs
flaked over last 7 days

📄   apps/web/playwright/managedBooking/advancedOptions.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Check advanced options in a managed team event type Check advanced options in a managed team event type without offer seats
Retry 1Initial Attempt
0% (0) 0 / 177 runs
failed over last 7 days
3.39% (6) 6 / 177 runs
flaked over last 7 days

📄   apps/web/playwright/teams.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Teams - NonOrg -- future Team Onboarding Invite Members
Retry 1Initial Attempt
7.89% (18) 18 / 228 runs
failed over last 7 days
27.63% (63) 63 / 228 runs
flaked over last 7 days

📄   apps/web/playwright/profile.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Update Profile Can update a users email (verification enabled)
Retry 2Retry 1Initial Attempt
10.58% (20) 20 / 189 runs
failed over last 7 days
30.69% (58) 58 / 189 runs
flaked over last 7 days

📄   apps/web/playwright/event-types.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Event Types tests -- legacy user enabling recurring event comes with default options
Retry 1Initial Attempt
0% (0) 0 / 223 runs
failed over last 7 days
3.14% (7) 7 / 223 runs
flaked over last 7 days

📄   apps/web/playwright/settings/upload-avatar.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Team Logo it can upload a team logo image
Retry 1Initial Attempt
0% (0) 0 / 223 runs
failed over last 7 days
0.45% (1) 1 / 223 run
flaked over last 7 days

📄   apps/web/playwright/hash-my-url.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
hash my url generate url hash
Retry 1Initial Attempt
10.23% (18) 18 / 176 runs
failed over last 7 days
29.55% (52) 52 / 176 runs
flaked over last 7 days

📄   apps/web/playwright/organization/organization-invitation.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Organization Email matching orgAutoAcceptEmail and a Verified Organization with DNS Setup Done nonexisting user is invited to Org
Retry 1Initial Attempt
0% (0) 0 / 190 runs
failed over last 7 days
6.32% (12) 12 / 190 runs
flaked over last 7 days

📄   apps/web/playwright/integrations-stripe.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Stripe integration Can book a paid booking
Retry 1Initial Attempt
0% (0) 0 / 210 runs
failed over last 7 days
38.10% (80) 80 / 210 runs
flaked over last 7 days

📄   packages/embeds/embed-react/playwright/tests/basic.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
React Embed Element Click Popup should verify that the iframe got created with correct URL - namespaced
Retry 1Initial Attempt
13.89% (30) 30 / 216 runs
failed over last 7 days
44.91% (97) 97 / 216 runs
flaked over last 7 days

📄   packages/embeds/embed-core/playwright/tests/action-based.e2e.ts • 9 Flakes

Top 1 Common Error Messages

null

9 Test Cases Affected

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Popup Tests should open embed iframe on click - Configured with light theme
Retry 1Initial Attempt
17.65% (39) 39 / 221 runs
failed over last 7 days
51.58% (114) 114 / 221 runs
flaked over last 7 days
Popup Tests should be able to reschedule
Retry 1Initial Attempt
-167.65% (-114) -114 / 68 runs
failed over last 7 days
167.65% (114) 114 / 68 runs
flaked over last 7 days
Popup Tests Floating Button Popup Pro User - Configured in App with default setting of system theme should open embed iframe according to system theme when no theme is configured through Embed API
Retry 1Initial Attempt
-166.18% (-113) -113 / 68 runs
failed over last 7 days
166.18% (113) 113 / 68 runs
flaked over last 7 days
Popup Tests should open Routing Forms embed on click
Retry 1Initial Attempt
-167.65% (-114) -114 / 68 runs
failed over last 7 days
167.65% (114) 114 / 68 runs
flaked over last 7 days
Popup Tests Floating Button Popup Pro User - Configured in App with default setting of system theme should open embed iframe(Booker Profile Page) with dark theme when configured with dark theme using Embed API
Retry 1Initial Attempt
-166.18% (-113) -113 / 68 runs
failed over last 7 days
166.18% (113) 113 / 68 runs
flaked over last 7 days
Popup Tests Floating Button Popup Pro User - Configured in App with default setting of system theme should open embed iframe according to system theme when configured with 'auto' theme using Embed API
Retry 1Initial Attempt
-166.18% (-113) -113 / 68 runs
failed over last 7 days
166.18% (113) 113 / 68 runs
flaked over last 7 days
Popup Tests should open on clicking child element
Retry 1Initial Attempt
-180% (-45) -45 / 25 runs
failed over last 7 days
180% (45) 45 / 25 runs
flaked over last 7 days
Popup Tests prendered embed should be loaded and apply the config given to it
Retry 1Initial Attempt
-166.18% (-113) -113 / 68 runs
failed over last 7 days
166.18% (113) 113 / 68 runs
flaked over last 7 days
Popup Tests Floating Button Popup Pro User - Configured in App with default setting of system theme should open embed iframe(Event Booking Page) with dark theme when configured with dark theme using Embed API
Retry 1Initial Attempt
-166.18% (-113) -113 / 68 runs
failed over last 7 days
166.18% (113) 113 / 68 runs
flaked over last 7 days

📄   packages/embeds/embed-core/playwright/tests/namespacing.e2e.ts • 4 Flakes

Top 1 Common Error Messages

null

4 Test Cases Affected

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Namespacing Inline Embed Add inline embed using a namespace without reload
Retry 1Initial Attempt
0% (0) 0 / 207 runs
failed over last 7 days
56.52% (117) 117 / 207 runs
flaked over last 7 days
Namespacing Inline Embed Double install Embed Snippet with inline embed using a namespace
Retry 1Initial Attempt
0% (0) 0 / 207 runs
failed over last 7 days
56.04% (116) 116 / 207 runs
flaked over last 7 days
Namespacing Inline Embed Double install Embed Snippet with inline embed without a namespace(i.e. default namespace)
Retry 1Initial Attempt
0% (0) 0 / 207 runs
failed over last 7 days
57% (118) 118 / 207 runs
flaked over last 7 days
Namespacing Different namespaces can have different init configs
Retry 1Initial Attempt
0% (0) 0 / 206 runs
failed over last 7 days
55.83% (115) 115 / 206 runs
flaked over last 7 days

View Detailed Build Results


@github-actions
Copy link
Copy Markdown
Contributor

📦 Next.js Bundle Analysis for @calcom/web

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app-store area: app store, apps, calendar integrations, google calendar, outlook, lark, apple calendar 🐛 bug Something isn't working consumer core area: core, team members only

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants