Skip to content

chore: uses safeGet to be more explicit#13543

Merged
keithwillcode merged 5 commits intomainfrom
chore_uses_safeGet_to_be_more_explicit
Feb 5, 2024
Merged

chore: uses safeGet to be more explicit#13543
keithwillcode merged 5 commits intomainfrom
chore_uses_safeGet_to_be_more_explicit

Conversation

@zomars
Copy link
Copy Markdown
Contributor

@zomars zomars commented Feb 5, 2024

What does this PR do?

Makes safeGet function so it's more explicit that this is the pattern to use when accessing edge configs.

@vercel
Copy link
Copy Markdown

vercel Bot commented Feb 5, 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 Feb 5, 2024 8:15pm
api ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 5, 2024 8:15pm
5 Ignored Deployments
Name Status Preview Comments Updated (UTC)
cal ⬜️ Ignored (Inspect) Visit Preview Feb 5, 2024 8:15pm
cal-demo ⬜️ Ignored (Inspect) Visit Preview Feb 5, 2024 8:15pm
calcom-web-canary ⬜️ Ignored (Inspect) Visit Preview Feb 5, 2024 8:15pm
qa ⬜️ Ignored (Inspect) Visit Preview Feb 5, 2024 8:15pm
ui ⬜️ Ignored (Inspect) Visit Preview Feb 5, 2024 8:15pm

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Feb 5, 2024

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

@zomars
Copy link
Copy Markdown
Contributor Author

zomars commented Feb 5, 2024

Current dependencies on/for this PR:

This stack of pull requests is managed by Graphite.

@keithwillcode keithwillcode added api area: API, enterprise API, access token, OAuth core area: core, team members only foundation labels Feb 5, 2024
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Feb 5, 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! 🙌

@deploysentinel
Copy link
Copy Markdown

deploysentinel Bot commented Feb 5, 2024

Current Playwright Test Results Summary

✅ 440 Passing - ⚠️ 19 Flaky

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

(Last updated on 02/05/2024 08:18:38pm UTC)

Run Details

Running Workflow PR Update on Github Actions

Commit: 41cc649

Started: 02/05/2024 08:09:02pm UTC

⚠️ Flakes

📄   apps/web/playwright/booking/selectQuestion.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
Booking With Phone Question and Each Other Question Booking With Select Question and Address Question Select required and Address required
Retry 1Initial Attempt
0% (0) 0 / 254 runs
failed over last 7 days
3.54% (9) 9 / 254 runs
flaked over last 7 days
Booking With Phone Question and Each Other Question Booking With Select Question and Number Question Select and Number not required
Retry 1Initial Attempt
0% (0) 0 / 250 runs
failed over last 7 days
2% (5) 5 / 250 runs
flaked over last 7 days
Booking With Phone Question and Each Other Question Booking With Select Question and Radio group Question Select required and Radio group required
Retry 1Initial Attempt
0% (0) 0 / 248 runs
failed over last 7 days
6.05% (15) 15 / 248 runs
flaked over last 7 days

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

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Booking page with no questions Booking page with 1920x1080 resolution
Retry 1Initial Attempt
0% (0) 0 / 255 runs
failed over last 7 days
2.75% (7) 7 / 255 runs
flaked over last 7 days

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

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Booking With Long Text Question and Each Other Question Booking With Long Text Question and Phone Question Long Text required and Phone not required
Retry 1Initial Attempt
0.38% (1) 1 / 265 run
failed over last 7 days
3.40% (9) 9 / 265 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% (8) 8 / 267 runs
failed over last 7 days
40.07% (107) 107 / 267 runs
flaked over last 7 days

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

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Booking With Radio Question and Each Other Question Booking With Radio Question and Address Question Booking With Radio Question and Phone Question Radio and Phone not required
Retry 1Initial Attempt
0.38% (1) 1 / 261 run
failed over last 7 days
3.83% (10) 10 / 261 runs
flaked over last 7 days

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

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Booking With Checkbox Group Question and Each Other Question Booking With Checkbox Group Question and Address Question Booking With Checkbox Group Question and Multi email Question Checkbox Group and Multi email not required
Retry 1Initial Attempt
0% (0) 0 / 275 runs
failed over last 7 days
5.45% (15) 15 / 275 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
-3.50% (-10) -10 / 286 runs
failed over last 7 days
46.15% (132) 132 / 286 runs
flaked over last 7 days
Popup Tests should be able to reschedule
Retry 1Initial Attempt
-80.98% (-132) -132 / 163 runs
failed over last 7 days
80.98% (132) 132 / 163 runs
flaked over last 7 days
Popup Tests should open Routing Forms embed on click
Retry 1Initial Attempt
-69.94% (-114) -114 / 163 runs
failed over last 7 days
72.39% (118) 118 / 163 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
-74.21% (-118) -118 / 159 runs
failed over last 7 days
74.21% (118) 118 / 159 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
-74.21% (-118) -118 / 159 runs
failed over last 7 days
74.21% (118) 118 / 159 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
-74.21% (-118) -118 / 159 runs
failed over last 7 days
74.21% (118) 118 / 159 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
-74.21% (-118) -118 / 159 runs
failed over last 7 days
74.21% (118) 118 / 159 runs
flaked over last 7 days
Popup Tests prendered embed should be loaded and apply the config given to it
Retry 1Initial Attempt
-74.21% (-118) -118 / 159 runs
failed over last 7 days
74.21% (118) 118 / 159 runs
flaked over last 7 days

📄   apps/web/playwright/booking/phoneQuestion.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
Booking With Phone Question and Each Other Question Booking With Phone Question and Address Question Booking With Phone Question and checkbox Question Phone and checkbox required
Retry 1Initial Attempt
0.73% (2) 2 / 275 runs
failed over last 7 days
4.73% (13) 13 / 275 runs
flaked over last 7 days
Booking With Phone Question and Each Other Question Booking With Phone Question and Address Question Booking With Phone Question and checkbox Question Phone required and checkbox not required
Retry 1Initial Attempt
0.73% (2) 2 / 275 runs
failed over last 7 days
7.27% (20) 20 / 275 runs
flaked over last 7 days
Booking With Phone Question and Each Other Question Booking With Phone Question and Address Question Booking With Phone Question and Long text Question Phone and Long text required
Retry 1Initial Attempt
0.36% (1) 1 / 274 run
failed over last 7 days
4.74% (13) 13 / 274 runs
flaked over last 7 days

View Detailed Build Results


Comment thread apps/web/middleware.ts Outdated
Comment thread apps/web/middleware.ts Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api area: API, enterprise API, access token, OAuth core area: core, team members only foundation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants