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: Integrate maintenance mode with current middleware #14571

Merged

Conversation

keithwillcode
Copy link
Contributor

Fixes the check for isInMaintenanceMode that wasn't compatible with our current middleware setup for the API.

@keithwillcode keithwillcode added the High priority Created by Linear-GitHub Sync label Apr 13, 2024
@keithwillcode keithwillcode added this to the v4.0 milestone Apr 13, 2024
@keithwillcode keithwillcode requested review from a team April 13, 2024 15:44
@keithwillcode keithwillcode self-assigned this Apr 13, 2024
@dosubot dosubot bot added api area: API, enterprise API, access token, OAuth core area: core, team members only 🐛 bug Something isn't working labels Apr 13, 2024
Copy link
Contributor

github-actions bot commented Apr 13, 2024

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

Copy link

vercel bot commented Apr 13, 2024

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

Name Status Preview Comments Updated (UTC)
qa-not-in-use 🔄 Building (Inspect) Visit Preview 💬 Add feedback Apr 13, 2024 3:54pm
3 Ignored Deployments
Name Status Preview Comments Updated (UTC)
ai ⬜️ Ignored (Inspect) Visit Preview Apr 13, 2024 3:54pm
cal ⬜️ Ignored (Inspect) Visit Preview Apr 13, 2024 3:54pm
calcom-web-canary ⬜️ Ignored (Inspect) Visit Preview Apr 13, 2024 3:54pm

@keithwillcode keithwillcode changed the title Fix/integrate maintenance mode with current middleware fix: Integrate maintenance mode with current middleware Apr 13, 2024
Copy link
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! 🙌

Copy link

deploysentinel bot commented Apr 13, 2024

Current Playwright Test Results Summary

✅ 302 Passing - ⚠️ 15 Flaky

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

(Last updated on 04/13/2024 04:09:26pm UTC)

Run Details

Running Workflow PR Update on Github Actions

Commit: aae7eeb

Started: 04/13/2024 04:06:19pm UTC

⚠️ Flakes

📄   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 can add multiple organizer address
Retry 1Initial Attempt
1.45% (4) 4 / 275 runs
failed over last 7 days
13.82% (38) 38 / 275 runs
flaked over last 7 days
Event Types tests -- legacy user Different Locations Tests Can add Cal video location and book with it
Retry 1Initial Attempt
0% (0) 0 / 270 runs
failed over last 7 days
1.48% (4) 4 / 270 runs
flaked over last 7 days

📄   apps/web/playwright/eventType/limit-tab.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Limits Tab - Event Type Check the functionalities of the Limits Tab
Retry 1Initial Attempt
0% (0) 0 / 268 runs
failed over last 7 days
2.61% (7) 7 / 268 runs
flaked over last 7 days

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

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Availablity Can manage single schedule
Retry 1Initial Attempt
0.35% (1) 1 / 282 run
failed over last 7 days
25.53% (72) 72 / 282 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 When event is paid and confirmed Paid and confirmed booking should be able to be rescheduled
Retry 1Initial Attempt
0.75% (2) 2 / 267 runs
failed over last 7 days
3% (8) 8 / 267 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 a team inside organization
Retry 1Initial Attempt
1.49% (4) 4 / 269 runs
failed over last 7 days
10.41% (28) 28 / 269 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
0% (0) 0 / 272 runs
failed over last 7 days
65.44% (178) 178 / 272 runs
flaked over last 7 days
Popup Tests should be able to reschedule
Retry 1Initial Attempt
-190.32% (-177) -177 / 93 runs
failed over last 7 days
190.32% (177) 177 / 93 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
-188.17% (-175) -175 / 93 runs
failed over last 7 days
190.32% (177) 177 / 93 runs
flaked over last 7 days
Popup Tests should open Routing Forms embed on click
Retry 1Initial Attempt
-190.32% (-177) -177 / 93 runs
failed over last 7 days
190.32% (177) 177 / 93 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
-194.51% (-177) -177 / 91 runs
failed over last 7 days
194.51% (177) 177 / 91 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
-194.51% (-177) -177 / 91 runs
failed over last 7 days
194.51% (177) 177 / 91 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
-194.51% (-177) -177 / 91 runs
failed over last 7 days
194.51% (177) 177 / 91 runs
flaked over last 7 days
Popup Tests prendered embed should be loaded and apply the config given to it
Retry 1Initial Attempt
-194.51% (-177) -177 / 91 runs
failed over last 7 days
194.51% (177) 177 / 91 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 Routing Link should validate fields
Retry 1Initial Attempt
0.37% (1) 1 / 272 run
failed over last 7 days
5.51% (15) 15 / 272 runs
flaked over last 7 days

View Detailed Build Results


@keithwillcode keithwillcode merged commit ac3d7c9 into main Apr 13, 2024
38 checks passed
@keithwillcode keithwillcode deleted the fix/integrate-maintenance-mode-with-current-middleware branch April 13, 2024 19:27
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 🐛 bug Something isn't working core area: core, team members only foundation High priority Created by Linear-GitHub Sync
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants