-
Notifications
You must be signed in to change notification settings - Fork 7k
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: downgrade react query atoms #14328
Conversation
Thank you for following the naming conventions! 🙏 Feel free to join our discord and post your PR link. |
Removed dependencies detected. Learn more about Socket for GitHub ↗︎ 🚮 Removed packages: npm/graphql@16.8.1 |
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 4 Ignored Deployments
|
Graphite Automations"Add foundation team as reviewer" took an action on this PR • (04/04/24)1 reviewer was added to this PR based on Keith Williams's automation. "Add consumer team as reviewer" took an action on this PR • (04/04/24)1 reviewer was added to this PR based on Keith Williams's automation. "Add platform team as reviewer" took an action on this PR • (04/04/24)1 reviewer was added to this PR based on Keith Williams's automation. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I understand this works and im happy with this downgrade. Lets just make sure for context wise that we are aware isLoading !== isPending
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also just spotted type check failing in embed still
Looks like there is a use of isPending
Thanks for checking the PR! Type check now passes! |
📦 Next.js Bundle Analysis for @calcom/webThis analysis was generated by the Next.js Bundle Analysis action. 🤖 Ten Pages Changed SizeThe following pages changed size from the code in this PR compared to its base branch:
DetailsOnly the gzipped size is provided here based on an expert tip. First Load is the size of the global bundle plus the bundle for the individual page. If a user were to show up to your website and land on a given page, the first load size represents the amount of javascript that user would need to download. If Any third party scripts you have added directly to your app using the The "Budget %" column shows what percentage of your performance budget the First Load total takes up. For example, if your budget was 100kb, and a given page's first load size was 10kb, it would be 10% of your budget. You can also see how much this has increased or decreased compared to the base branch of your PR. If this percentage has increased by 20% or more, there will be a red status indicator applied, indicating that special attention should be given to this. If you see "+/- <0.01%" it means that there was a change in bundle size, but it is a trivial enough amount that it can be ignored. |
Current Playwright Test Results Summary✅ 300 Passing - Run may still be in progress, this comment will be updated as current testing workflow or job completes... (Last updated on 04/04/2024 10:07:51am UTC) Run DetailsRunning Workflow PR Update on Github Actions Commit: 0ff2893 Started: 04/04/2024 10:03:42am UTC
|
Test Case | Last 7 days Failures | Last 7 days Flakes |
---|---|---|
Update Profile Can update a users email (verification enabled)
Retry 1 • Initial Attempt |
6.50% (13)13 / 200 runsfailed over last 7 days |
28.50% (57)57 / 200 runsflaked over last 7 days |
📄 apps/web/playwright/integrations-stripe.e2e.ts • 2 Flakes
Top 1 Common Error Messages
|
2 Test Cases Affected |
Test Case Results
Test Case | Last 7 days Failures | Last 7 days Flakes |
---|---|---|
Stripe integration Can book a paid booking
Retry 1 • Initial Attempt |
6.19% (13)13 / 210 runsfailed over last 7 days |
33.33% (70)70 / 210 runsflaked over last 7 days |
Stripe integration Pending payment booking should not be confirmed by default
Retry 1 • Initial Attempt |
1.51% (3)3 / 199 runsfailed over last 7 days |
18.09% (36)36 / 199 runsflaked over last 7 days |
📄 packages/app-store/routing-forms/playwright/tests/basic.e2e.ts • 2 Flakes
Top 1 Common Error Messages
|
2 Test Cases Affected |
Test Case Results
Test Case | Last 7 days Failures | Last 7 days Flakes |
---|---|---|
Routing Forms Seeded Routing Form Router URL should work
Retry 1 • Initial Attempt |
1% (2)2 / 200 runsfailed over last 7 days |
13.50% (27)27 / 200 runsflaked over last 7 days |
Routing Forms Seeded Routing Form Test preview should return correct route
Retry 1 • Initial Attempt |
0% (0)0 / 199 runsfailed over last 7 days |
13.57% (27)27 / 199 runsflaked over last 7 days |
📄 apps/web/playwright/team/team-invitation.e2e.ts • 1 Flake
Test Case Results
Test Case | Last 7 days Failures | Last 7 days Flakes |
---|---|---|
Team Invitation (non verified)
Retry 1 • Initial Attempt |
0% (0)0 / 205 runsfailed over last 7 days |
6.83% (14)14 / 205 runsflaked over last 7 days |
📄 apps/web/playwright/settings-admin.e2e.ts • 1 Flake
Test Case Results
Test Case | Last 7 days Failures | Last 7 days Flakes |
---|---|---|
Settings/admin tests -- future should render /settings/admin page
Retry 1 • Initial Attempt |
2.37% (5)5 / 211 runsfailed over last 7 days |
0.95% (2)2 / 211 runsflaked over last 7 days |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thanks for making them changes - Lets keep an eye out to see if we see anything un expected with using isLoading > isPending
One of platform customers uses React 16 while react-query v5 requires at least React 18, so react-query is downgraded to v4.
Only difference is that queries do not return "isPending" but "isLoading", so refactored that in code.
Tested with examples app and it runs.