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: Adds missing dependecy #15139

Conversation

zomars
Copy link
Member

@zomars zomars commented May 20, 2024

What does this PR do?

Fixes error when trying to build on a fresh install:

error: Module *"@calcom/platform-types"' has no exported member 'SubscribeTeamInput'

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)

How should this be tested?

  • On a freshly installed repo. run yarn build

Copy link

linear bot commented May 20, 2024

@graphite-app graphite-app bot requested a review from a team May 20, 2024 23:07
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.

@zomars zomars requested a review from a team May 20, 2024 23:07
@github-actions github-actions bot added High priority Created by Linear-GitHub Sync ⬆️ dependencies Pull requests that update a dependency file 🐛 bug Something isn't working labels May 20, 2024
@keithwillcode keithwillcode added core area: core, team members only foundation labels May 20, 2024
@@ -34,6 +34,7 @@
"@calcom/embed-snippet": "workspace:*",
"@calcom/features": "*",
"@calcom/lib": "*",
"@calcom/platform-types": "*",
Copy link
Member Author

Choose a reason for hiding this comment

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

Turbo repo already builds dependencies before building web. And since we're importing types in apps/web, we need to set a explicit dependency here.

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 20, 2024 11:35pm
2 Ignored Deployments
Name Status Preview Comments Updated (UTC)
cal ⬜️ Ignored (Inspect) Visit Preview May 20, 2024 11:35pm
calcom-web-canary ⬜️ Ignored (Inspect) Visit Preview May 20, 2024 11:35pm

Copy link

graphite-app bot commented May 20, 2024

Graphite Automations

"Add foundation 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.

Copy link

deploysentinel bot commented May 20, 2024

Current Playwright Test Results Summary

✅ 34 Passing - ⚠️ 2 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 01:03:44am UTC)

Run Details

Running Workflow PR Update on Github Actions

Commit: 2cedd87

Started: 05/21/2024 01:02:39am UTC

⚠️ Flakes

📄   apps/web/playwright/profile.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
Update Profile Can update a users email (verification enabled)
Retry 1Initial Attempt
39.17% (94) 94 / 240 runs
failed over last 7 days
32.50% (78) 78 / 240 runs
flaked over last 7 days
Update Profile Can resend verification link if the secondary email is unverified
Retry 1Initial Attempt
11.16% (27) 27 / 242 runs
failed over last 7 days
31.40% (76) 76 / 242 runs
flaked over last 7 days

View Detailed Build Results


Copy link

Copy link
Contributor

📦 Next.js Bundle Analysis for @calcom/web

This analysis was generated by the Next.js Bundle Analysis action. 🤖

Eighty-one Pages Changed Size

The following pages changed size from the code in this PR compared to its base branch:

Page Size (compressed) First Load % of Budget (350 KB)
/[user]/[type] 413.08 KB 641.63 KB 183.32% (🟡 +0.25%)
/[user]/[type]/embed 413.08 KB 641.63 KB 183.32% (🟡 +0.25%)
/apps 281.1 KB 509.65 KB 145.61% (🟡 +0.25%)
/apps/[slug] 298.6 KB 527.15 KB 150.61% (🟡 +0.25%)
/apps/[slug]/[...pages] 589.61 KB 818.16 KB 233.76% (🟡 +0.24%)
/apps/categories 258.83 KB 487.38 KB 139.25% (🟡 +0.24%)
/apps/categories/[category] 263.18 KB 491.73 KB 140.49% (🟡 +0.25%)
/apps/installed/[category] 282.37 KB 510.92 KB 145.98% (🟡 +0.24%)
/auth/platform/authorize 88.16 KB 316.71 KB 90.49% (🟡 +0.26%)
/availability 429.85 KB 658.4 KB 188.11% (🟡 +0.25%)
/availability/[schedule] 413.58 KB 642.13 KB 183.47% (🟡 +0.24%)
/bookings/[status] 326.65 KB 555.2 KB 158.63% (🟡 +0.24%)
/d/[link]/[slug] 412.89 KB 641.44 KB 183.27% (🟡 +0.25%)
/enterprise 258.89 KB 487.44 KB 139.27% (🟡 +0.24%)
/event-types 558.6 KB 787.15 KB 224.90% (🟡 +0.24%)
/event-types/[type] 438.49 KB 667.04 KB 190.58% (🟡 +0.25%)
/insights 477.8 KB 706.35 KB 201.81% (🟡 +0.25%)
/more 258.4 KB 486.95 KB 139.13% (🟡 +0.24%)
/org/[orgSlug]/[user]/[type] 413.28 KB 641.83 KB 183.38% (🟡 +0.25%)
/org/[orgSlug]/[user]/[type]/embed 413.3 KB 641.85 KB 183.39% (🟡 +0.24%)
/org/[orgSlug]/instant-meeting/team/[slug]/[type] 412.9 KB 641.45 KB 183.27% (🟡 +0.25%)
/org/[orgSlug]/team/[slug]/[type] 413.1 KB 641.65 KB 183.33% (🟡 +0.25%)
/settings/admin 264.49 KB 493.04 KB 140.87% (🟡 +0.24%)
/settings/admin/apps 277.62 KB 506.17 KB 144.62% (🟡 +0.24%)
/settings/admin/apps/[category] 277.6 KB 506.15 KB 144.62% (🟡 +0.24%)
/settings/admin/flags 268.6 KB 497.15 KB 142.04% (🟡 +0.25%)
/settings/admin/impersonation 264.97 KB 493.52 KB 141.01% (🟡 +0.24%)
/settings/admin/lockedSMS 285.67 KB 514.22 KB 146.92% (🟡 +0.24%)
/settings/admin/oAuth 276.65 KB 505.2 KB 144.34% (🟡 +0.25%)
/settings/admin/orgMigrations/_OrgMigrationLayout 253.4 KB 481.95 KB 137.70% (🟡 +0.24%)
/settings/admin/orgMigrations/moveTeamToOrg 302.56 KB 531.11 KB 151.74% (🟡 +0.25%)
/settings/admin/orgMigrations/moveUserToOrg 321.99 KB 550.54 KB 157.30% (🟡 +0.24%)
/settings/admin/orgMigrations/removeTeamFromOrg 302.3 KB 530.85 KB 151.67% (🟡 +0.24%)
/settings/admin/orgMigrations/removeUserFromOrg 302.32 KB 530.87 KB 151.68% (🟡 +0.24%)
/settings/admin/organizations 266.06 KB 494.61 KB 141.32% (🟡 +0.24%)
/settings/admin/organizations/[id]/edit 264.87 KB 493.42 KB 140.98% (🟡 +0.24%)
/settings/admin/users 266.74 KB 495.29 KB 141.51% (🟡 +0.24%)
/settings/admin/users/[id]/edit 395.42 KB 623.97 KB 178.28% (🟡 +0.24%)
/settings/admin/users/add 395.15 KB 623.7 KB 178.20% (🟡 +0.24%)
/settings/billing 264.59 KB 493.14 KB 140.90% (🟡 +0.24%)
/settings/developer/api-keys 268.65 KB 497.2 KB 142.06% (🟡 +0.24%)
/settings/developer/webhooks 268.74 KB 497.29 KB 142.08% (🟡 +0.25%)
/settings/developer/webhooks/[id] 269.74 KB 498.29 KB 142.37% (🟡 +0.24%)
/settings/developer/webhooks/new 269.74 KB 498.29 KB 142.37% (🟡 +0.24%)
/settings/my-account/appearance 317.45 KB 546 KB 156.00% (🟡 +0.24%)
/settings/my-account/calendars 275.17 KB 503.72 KB 143.92% (🟡 +0.24%)
/settings/my-account/conferencing 276.44 KB 504.99 KB 144.28% (🟡 +0.25%)
/settings/my-account/general 380.37 KB 608.92 KB 173.98% (🟡 +0.24%)
/settings/my-account/out-of-office 269.27 KB 497.82 KB 142.23% (🟡 +0.25%)
/settings/my-account/profile 407.91 KB 636.46 KB 181.85% (🟡 +0.24%)
/settings/organizations/admin-api 264.49 KB 493.04 KB 140.87% (🟡 +0.24%)
/settings/organizations/appearance 288.55 KB 517.1 KB 147.74% (🟡 +0.25%)
/settings/organizations/billing 264.67 KB 493.22 KB 140.92% (🟡 +0.24%)
/settings/organizations/dsync 296.78 KB 525.33 KB 150.09% (🟡 +0.25%)
/settings/organizations/general 352.34 KB 580.89 KB 165.97% (🟡 +0.24%)
/settings/organizations/members 402.13 KB 630.68 KB 180.19% (🟡 +0.25%)
/settings/organizations/privacy 270.26 KB 498.81 KB 142.52% (🟡 +0.24%)
/settings/organizations/profile 400.67 KB 629.21 KB 179.78% (🟡 +0.24%)
/settings/organizations/sso 275.34 KB 503.89 KB 143.97% (🟡 +0.24%)
/settings/organizations/teams/other 265.24 KB 493.79 KB 141.08% (🟡 +0.25%)
/settings/organizations/teams/other/[id]/appearance 277.39 KB 505.94 KB 144.55% (🟡 +0.25%)
/settings/organizations/teams/other/[id]/members 272.33 KB 500.88 KB 143.11% (🟡 +0.24%)
/settings/organizations/teams/other/[id]/profile 471.48 KB 700.03 KB 200.01% (🟡 +0.24%)
/settings/platform 262.92 KB 491.47 KB 140.42% (🟡 +0.26%)
/settings/platform/oauth-clients/[clientId]/edit 261.62 KB 490.17 KB 140.05% (🟡 +0.29%)
/settings/platform/oauth-clients/create 260.77 KB 489.32 KB 139.81% (🟡 +0.28%)
/settings/security/impersonation 269.5 KB 498.05 KB 142.30% (🟡 +0.24%)
/settings/security/password 307.06 KB 535.61 KB 153.03% (🟡 +0.24%)
/settings/security/sso 274.66 KB 503.21 KB 143.78% (🟡 +0.24%)
/settings/security/two-factor-auth 272.93 KB 501.48 KB 143.28% (🟡 +0.24%)
/settings/teams 264.16 KB 492.71 KB 140.77% (🟡 +0.25%)
/settings/teams/[id]/appearance 277.37 KB 505.92 KB 144.55% (🟡 +0.24%)
/settings/teams/[id]/billing 264.67 KB 493.22 KB 140.92% (🟡 +0.24%)
/settings/teams/[id]/members 382.37 KB 610.92 KB 174.55% (🟡 +0.24%)
/settings/teams/[id]/profile 472.31 KB 700.86 KB 200.25% (🟡 +0.24%)
/team/[slug]/[type] 413.07 KB 641.62 KB 183.32% (🟡 +0.25%)
/team/[slug]/[type]/embed 413.09 KB 641.64 KB 183.33% (🟡 +0.25%)
/teams 258.62 KB 487.17 KB 139.19% (🟡 +0.24%)
/upgrade 258.74 KB 487.29 KB 139.23% (🟡 +0.24%)
/workflows 290.12 KB 518.67 KB 148.19% (🟡 +0.24%)
/workflows/[workflow] 413.02 KB 641.57 KB 183.31% (🟡 +0.24%)
Details

Only 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 next/link is used, subsequent page loads would only need to download that page's bundle (the number in the "Size" column), since the global bundle has already been downloaded.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

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.

@zomars zomars merged commit 0b9133c into main May 21, 2024
41 checks passed
@zomars zomars deleted the zomars/cal-3768-missing-module-calcomplatform-types-when-freshly-building branch May 21, 2024 01:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working core area: core, team members only ⬆️ dependencies Pull requests that update a dependency file foundation High priority Created by Linear-GitHub Sync
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[CAL-3768] Missing module "@calcom/platform-types" when freshly building web
2 participants