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: return 200 status code #15134

Merged
merged 4 commits into from
May 21, 2024
Merged

fix: return 200 status code #15134

merged 4 commits into from
May 21, 2024

Conversation

Udit-takkar
Copy link
Contributor

@Udit-takkar Udit-takkar commented May 20, 2024

What does this PR do?

Not a bug but while testing recording locally app.cal.com/api/recorded-daily-video get triggered and as booking reference is not found in prod db it would return 404

#15078 (comment)

Screenshot 2024-05-20 at 10 58 35 PM

Mandatory Tasks (DO NOT REMOVE)

  • I have self-reviewed the code (A decent size PR without self-review might be rejected)
  • I have added a Docs issue here if this PR makes changes that would require a documentation change
  • I have added or modified automated tests that prove my fix is effective or that my feature works (PRs might be rejected if logical changes are not properly tested)

@graphite-app graphite-app bot requested a review from a team May 20, 2024 17:28
Copy link
Contributor

github-actions bot commented May 20, 2024

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

@keithwillcode keithwillcode added consumer core area: core, team members only labels May 20, 2024
@dosubot dosubot bot added the 🐛 bug Something isn't working label May 20, 2024
Copy link

vercel bot commented May 20, 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 May 21, 2024 7:05am
2 Ignored Deployments
Name Status Preview Comments Updated (UTC)
cal ⬜️ Ignored (Inspect) Visit Preview May 21, 2024 7:05am
calcom-web-canary ⬜️ Ignored (Inspect) Visit Preview May 21, 2024 7:05am

Copy link

graphite-app bot commented May 20, 2024

Graphite Automations

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

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

})
);
return res.status(404).send({ message: "Booking reference not found" });
Copy link
Contributor Author

Choose a reason for hiding this comment

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

if daily webhook return non 20x(status code) response 3 consecutive times then it wouldn't get triggered again.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

we shouldn't block webhooks for everyone if it didn't work on some edge case.

Copy link
Contributor

github-actions bot commented May 20, 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! 🙌

@@ -87,7 +87,7 @@ export const CalAiTranscribe = () => {
textShadow: "0 0 20px black, 0 0 20px black, 0 0 20px black",
}}
ref={transcriptRef}
className="max-h-full overflow-x-hidden overflow-y-scroll p-8 text-center text-white">
className="max-h-full overflow-x-hidden overflow-y-scroll p-2 text-center text-white">
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Regression from #15044. This div was blocking the start recording button

Copy link

deploysentinel bot commented May 20, 2024

Current Playwright Test Results Summary

✅ 321 Passing - ⚠️ 15 Flaky

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

(Last updated on 05/21/2024 07:16:55am UTC)

Run Details

Running Workflow PR Update on Github Actions

Commit: c865a20

Started: 05/21/2024 07:13:34am UTC

⚠️ Flakes

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

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Stripe integration Change stripe presented currency Should be able to change currency
Retry 1Initial Attempt
0% (0) 0 / 197 runs
failed over last 7 days
0.51% (1) 1 / 197 run
flaked over last 7 days

📄   apps/web/playwright/event-types.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
Event Types tests -- future user Different Locations Tests Can add Link Meeting as location and book with it
Retry 1Initial Attempt
0.45% (1) 1 / 223 run
failed over last 7 days
15.25% (34) 34 / 223 runs
flaked over last 7 days
Event Types tests -- legacy user Different Locations Tests can select 'display on booking page' option when multiple organizer input type are present
Retry 1Initial Attempt
0.46% (1) 1 / 219 run
failed over last 7 days
5.48% (12) 12 / 219 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 / 213 runs
failed over last 7 days
65.26% (139) 139 / 213 runs
flaked over last 7 days
Namespacing Different namespaces can have different init configs
Retry 1Initial Attempt
0% (0) 0 / 212 runs
failed over last 7 days
63.21% (134) 134 / 212 runs
flaked over last 7 days
Namespacing Inline Embed Double install Embed Snippet with inline embed using a namespace
Retry 1Initial Attempt
0.47% (1) 1 / 213 run
failed over last 7 days
62.91% (134) 134 / 213 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 / 213 runs
failed over last 7 days
65.73% (140) 140 / 213 runs
flaked over last 7 days

📄   packages/app-store/routing-forms/playwright/tests/basic.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Routing Forms Seeded Routing Form Test preview should return correct route
Retry 1Initial Attempt
0.47% (1) 1 / 212 run
failed over last 7 days
29.72% (63) 63 / 212 runs
flaked over last 7 days

📄   apps/web/playwright/profile.e2e.ts • 3 Flakes

Top 1 Common Error Messages

null

3 Test Cases Affected

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Update Profile Can update a users email (verification enabled)
Retry 1Initial Attempt
39.34% (96) 96 / 244 runs
failed over last 7 days
32.79% (80) 80 / 244 runs
flaked over last 7 days
Update Profile Can verify the newly added secondary email
Retry 1Initial Attempt
2.44% (6) 6 / 246 runs
failed over last 7 days
21.95% (54) 54 / 246 runs
flaked over last 7 days
Update Profile Can resend verification link if the secondary email is unverified
Retry 1Initial Attempt
11.38% (28) 28 / 246 runs
failed over last 7 days
31.30% (77) 77 / 246 runs
flaked over last 7 days

📄   apps/web/playwright/teams.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
Teams - NonOrg -- future Can create a booking for Round Robin EventType
Retry 2Retry 1Initial Attempt
9.73% (22) 22 / 226 runs
failed over last 7 days
24.78% (56) 56 / 226 runs
flaked over last 7 days
Teams - NonOrg -- legacy Can create a booking for Round Robin EventType
Retry 1Initial Attempt
7.96% (18) 18 / 226 runs
failed over last 7 days
30.97% (70) 70 / 226 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
19.65% (45) 45 / 229 runs
failed over last 7 days
33.19% (76) 76 / 229 runs
flaked over last 7 days

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

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Bookings Team Event Can create a booking for Round Robin EventType
Retry 1Initial Attempt
6.82% (15) 15 / 220 runs
failed over last 7 days
30.91% (68) 68 / 220 runs
flaked over last 7 days

View Detailed Build Results


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 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.

None yet

3 participants