Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: rescheduling in round robin #14109

Merged
merged 8 commits into from Mar 21, 2024
Merged

fix: rescheduling in round robin #14109

merged 8 commits into from Mar 21, 2024

Conversation

Udit-takkar
Copy link
Contributor

What does this PR do?

Fixes #14108

Requirement/Documentation

  • If there is a requirement document, please, share it here.
  • If there is a UI/UX design document, please, share it here.

Type of change

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

Copy link

vercel bot commented Mar 15, 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 Mar 21, 2024 11:24am
3 Ignored Deployments
Name Status Preview Comments Updated (UTC)
cal ⬜️ Ignored (Inspect) Visit Preview Mar 21, 2024 11:24am
calcom-web-canary ⬜️ Ignored (Inspect) Visit Preview Mar 21, 2024 11:24am
qa ⬜️ Ignored (Inspect) Visit Preview Mar 21, 2024 11:24am

Copy link

graphite-app bot commented Mar 15, 2024

Graphite Automations

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

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

@@ -388,8 +389,7 @@ export default class EventManager {

log.debug("RescheduleOrganizerChanged: Creating Event and Meeting for for new booking");

const newEvent = { ...evt, destinationCalendar: newDestinationCalendar };
const createdEvent = await this.create(newEvent);
const createdEvent = await this.create(originalEvt);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

create function updates the videoCallData in evt(Calendar event object) like
evt.videoCallData = { ... }

but in reschedule function we passed copy of event object to create function in this line which updated the copy of event but not the original event

@github-actions github-actions bot added bookings area: bookings, availability, timezones, double booking High priority Created by Linear-GitHub Sync linear Sync Github Issue from community members to Linear.app teams area: teams, round robin, collective, managed event-types 🐛 bug Something isn't working labels Mar 15, 2024
Copy link
Contributor

github-actions bot commented Mar 15, 2024

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

Copy link
Contributor

github-actions bot commented Mar 15, 2024

📦 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! 🙌

Copy link

deploysentinel bot commented Mar 15, 2024

Current Playwright Test Results Summary

✅ 303 Passing - ⚠️ 14 Flaky

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

(Last updated on 03/21/2024 11:34:28am UTC)

Run Details

Running Workflow PR Update on Github Actions

Commit: b172b90

Started: 03/21/2024 11:31:51am UTC

⚠️ Flakes

📄   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
8.84% (16) 16 / 181 runs
failed over last 7 days
23.76% (43) 43 / 181 runs
flaked over last 7 days

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

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
user can login & logout succesfully -- future login flow user & logout using dashboard
Retry 1Initial Attempt
3.43% (6) 6 / 175 runs
failed over last 7 days
27.43% (48) 48 / 175 runs
flaked over last 7 days

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

Top 1 Common Error Messages

null

8 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
1.65% (3) 3 / 182 runs
failed over last 7 days
49.45% (90) 90 / 182 runs
flaked over last 7 days
Popup Tests should be able to reschedule
Retry 1Initial Attempt
-101.12% (-90) -90 / 89 runs
failed over last 7 days
101.12% (90) 90 / 89 runs
flaked over last 7 days
Popup Tests should open Routing Forms embed on click
Retry 1Initial Attempt
-101.12% (-90) -90 / 89 runs
failed over last 7 days
101.12% (90) 90 / 89 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
-100% (-89) -89 / 89 runs
failed over last 7 days
101.12% (90) 90 / 89 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
-102.27% (-90) -90 / 88 runs
failed over last 7 days
102.27% (90) 90 / 88 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
-102.27% (-90) -90 / 88 runs
failed over last 7 days
102.27% (90) 90 / 88 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
-102.27% (-90) -90 / 88 runs
failed over last 7 days
102.27% (90) 90 / 88 runs
flaked over last 7 days
Popup Tests prendered embed should be loaded and apply the config given to it
Retry 1Initial Attempt
-102.27% (-90) -90 / 88 runs
failed over last 7 days
102.27% (90) 90 / 88 runs
flaked over last 7 days

📄   apps/web/playwright/organization/organization-invitation.e2e.ts • 2 Flakes

Top 1 Common Error Messages

null

2 Test Cases Affected

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Organization Email matching orgAutoAcceptEmail and a Verified Organization nonexisting user is invited to Org
Retry 1Initial Attempt
2.72% (5) 5 / 184 runs
failed over last 7 days
4.89% (9) 9 / 184 runs
flaked over last 7 days
Organization Email matching orgAutoAcceptEmail and a Verified Organization nonexisting user is invited to a team inside organization
Retry 1Initial Attempt
1.65% (3) 3 / 182 runs
failed over last 7 days
9.34% (17) 17 / 182 runs
flaked over last 7 days

📄   packages/embeds/embed-core/playwright/tests/preview.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Preview Preview - embed-core should load
Retry 1Initial Attempt
0% (0) 0 / 181 runs
failed over last 7 days
30.94% (56) 56 / 181 runs
flaked over last 7 days

📄   packages/embeds/embed-core/playwright/tests/inline.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Inline Iframe Inline Iframe - Configured with Dark Theme
Retry 1Initial Attempt
2.20% (4) 4 / 182 runs
failed over last 7 days
39.01% (71) 71 / 182 runs
flaked over last 7 days

View Detailed Build Results


Copy link
Member

@CarinaWolli CarinaWolli left a comment

Choose a reason for hiding this comment

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

fix works as expected 👏🏻

@CarinaWolli CarinaWolli enabled auto-merge (squash) March 20, 2024 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bookings area: bookings, availability, timezones, double booking 🐛 bug Something isn't working consumer core area: core, team members only High priority Created by Linear-GitHub Sync linear Sync Github Issue from community members to Linear.app teams area: teams, round robin, collective, managed event-types
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incorrect location in round robin rescheduling
3 participants