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

chore: adds useful SQL scripts for devops #14068

Merged
merged 2 commits into from
Mar 28, 2024
Merged

Conversation

zomars
Copy link
Member

@zomars zomars commented Mar 12, 2024

What does this PR do?

  • Shares useful SQL scripts for devops for:
    • Finding email duplicates
    • Finding idle connections and flush them
    • Finding faulty google credentials
    • Auto grant table permissions on table creation

Type of change

  • Chore (refactoring code, technical debt, workflow improvements)

Copy link

vercel bot commented Mar 12, 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 28, 2024 6:34pm
3 Ignored Deployments
Name Status Preview Comments Updated (UTC)
cal ⬜️ Ignored (Inspect) Visit Preview Mar 28, 2024 6:34pm
calcom-web-canary ⬜️ Ignored (Inspect) Visit Preview Mar 28, 2024 6:34pm
qa ⬜️ Ignored (Inspect) Visit Preview Mar 28, 2024 6:34pm

@graphite-app graphite-app bot requested a review from a team March 12, 2024 19:05
Copy link
Contributor

github-actions bot commented Mar 12, 2024

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

Copy link

graphite-app bot commented Mar 12, 2024

Graphite Automations

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

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

Copy link
Contributor

github-actions bot commented Mar 12, 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 12, 2024

Current Playwright Test Results Summary

✅ 310 Passing - ❌ 1 Failing - ⚠️ 11 Flaky

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

(Last updated on 03/12/2024 07:19:02pm UTC)

Run Details

Running Workflow PR Update on Github Actions

Commit: 20b2c94

Started: 03/12/2024 07:16:13pm UTC

❌ Failures

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

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Stripe integration Pending payment booking should not be confirmed by default
Retry 2Retry 1Initial Attempt
Error: page.waitForURL: Timeout 30000ms exceeded....
page.waitForURL: Timeout 30000ms exceeded.
=========================== logs ===========================
waiting for navigation to "/payment/*" until "load"
  navigated to "http://localhost:3000/booking/fVMggrfG9Pw1CjXXYxYvaV?isSuccessBookingPage=true&email=test%40example.com&eventTypeSlug=paid"
  navigated to "http://localhost:3000/booking/fVMggrfG9Pw1CjXXYxYvaV?isSuccessBookingPage=true&email=test%40example.com&eventTypeSlug=paid"
============================================================
5.81% (14) 14 / 241 runs
failed over last 7 days
21.99% (53) 53 / 241 runs
flaked over last 7 days

⚠️ Flakes

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

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
FORM_SUBMITTED on submitting team form, triggers team webhook
Retry 1Initial Attempt
1.73% (4) 4 / 231 runs
failed over last 7 days
17.75% (41) 41 / 231 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
Login and logout tests -- legacy Login flow validations -- legacy Should warn when user does not exist
Retry 1Initial Attempt
0% (0) 0 / 227 runs
failed over last 7 days
2.64% (6) 6 / 227 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
5.37% (13) 13 / 242 runs
failed over last 7 days
43.80% (106) 106 / 242 runs
flaked over last 7 days
Popup Tests should be able to reschedule
Retry 1Initial Attempt
-86.18% (-106) -106 / 123 runs
failed over last 7 days
86.18% (106) 106 / 123 runs
flaked over last 7 days
Popup Tests should open Routing Forms embed on click
Retry 1Initial Attempt
-85.37% (-105) -105 / 123 runs
failed over last 7 days
85.37% (105) 105 / 123 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
-85.37% (-105) -105 / 123 runs
failed over last 7 days
85.37% (105) 105 / 123 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
-85.37% (-105) -105 / 123 runs
failed over last 7 days
85.37% (105) 105 / 123 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
-85.37% (-105) -105 / 123 runs
failed over last 7 days
85.37% (105) 105 / 123 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
-85.37% (-105) -105 / 123 runs
failed over last 7 days
85.37% (105) 105 / 123 runs
flaked over last 7 days
Popup Tests prendered embed should be loaded and apply the config given to it
Retry 1Initial Attempt
-85.37% (-105) -105 / 123 runs
failed over last 7 days
85.37% (105) 105 / 123 runs
flaked over last 7 days

📄   apps/web/playwright/dynamic-booking-pages.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
dynamic booking
Retry 1Initial Attempt
1.24% (3) 3 / 241 runs
failed over last 7 days
0.41% (1) 1 / 241 run
flaked over last 7 days

View Detailed Build Results


@keithwillcode keithwillcode enabled auto-merge (squash) March 28, 2024 18:14
@zomars zomars merged commit 159bbb5 into main Mar 28, 2024
22 of 24 checks passed
@zomars zomars deleted the chore/add-useful-sql-scripts branch March 28, 2024 18:36
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.

2 participants