Skip to content

perf: do not import from @calcom/lib/server barrel file #49334

perf: do not import from @calcom/lib/server barrel file

perf: do not import from @calcom/lib/server barrel file #49334

Triggered via pull request February 26, 2025 20:13
@hbjORbjhbjORbj
synchronize #19579
Status Success
Total duration 25m 29s
Artifacts 9

pr.yml

on: pull_request_target
Detect changes
14s
Detect changes
Check for E2E label
1s
Check for E2E label
Install dependencies  /  Yarn install & cache
1m 34s
Install dependencies / Yarn install & cache
Production builds  /  Build Web App
9m 34s
Production builds / Build Web App
Production builds  /  Build API v1
4m 39s
Production builds / Build API v1
Production builds  /  Build API v2
4m 52s
Production builds / Build API v2
Analyze Build  /  analyze
1m 21s
Analyze Build / analyze
Matrix: Tests / e2e
Merge reports  /  merge-reports
2m 59s
Merge reports / merge-reports
required
3s
required
Publish HTML report  /  publish-report
3m 41s
Publish HTML report / publish-report
Fit to window
Zoom out
Zoom in

Annotations

25 errors, 1 warning, and 1 notice
Linters / lint
Process completed with exit code 2.
Production builds / Build API v1
Type '{ readonly id: 4; readonly username: "pro"; readonly email: "***"; readonly password: { readonly hash: ""; readonly userId: 0; }; readonly completedOnboarding: true; readonly identityProvider: "CAL"; ... 9 more ...; readonly theme: null; }' is not assignable to type 'NonNullable<{ avatar: string; organization: { id: number | null; isOrgAdmin: boolean; metadata: { requestedSlug?: string | null | undefined; paymentId?: string | undefined; subscriptionId?: string | null | undefined; ... 4 more ...; billingPeriod?: BillingPeriod | undefined; } | null; ... 7 more ...; isPlatform?: bo...'.
Production builds / Build API v1
Type '{ readonly id: 4; readonly username: "pro"; readonly email: "***"; readonly password: { readonly hash: ""; readonly userId: 0; }; readonly completedOnboarding: true; readonly identityProvider: "CAL"; ... 9 more ...; readonly theme: null; }' is not assignable to type 'NonNullable<{ avatar: string; organization: { id: number | null; isOrgAdmin: boolean; metadata: { requestedSlug?: string | null | undefined; paymentId?: string | undefined; subscriptionId?: string | null | undefined; ... 4 more ...; billingPeriod?: BillingPeriod | undefined; } | null; ... 7 more ...; isPlatform?: bo...'.
Production builds / Build API v1
Type '{ organization: { id: null; isOrgAdmin: boolean; metadata: {}; requestedSlug: null; }; defaultBookerLayouts: null; selectedCalendars: never[]; destinationCalendar: null; profile: { username: string; ... 8 more ...; bufferTime: number; }; ... 45 more ...; creationSource: $Enums.CreationSource | null; }' is not assignable to type 'NonNullable<{ avatar: string; organization: { id: number | null; isOrgAdmin: boolean; metadata: { requestedSlug?: string | null | undefined; paymentId?: string | undefined; subscriptionId?: string | null | undefined; ... 4 more ...; billingPeriod?: BillingPeriod | undefined; } | null; ... 7 more ...; isPlatform?: bo...'.
Production builds / Build API v1
Type '{ organization: { id: null; isOrgAdmin: boolean; metadata: {}; requestedSlug: null; }; defaultBookerLayouts: null; selectedCalendars: never[]; destinationCalendar: null; profile: { username: string; ... 8 more ...; bufferTime: number; }; ... 45 more ...; creationSource: $Enums.CreationSource | null; }' is not assignable to type 'NonNullable<{ avatar: string; organization: { id: number | null; isOrgAdmin: boolean; metadata: { requestedSlug?: string | null | undefined; paymentId?: string | undefined; subscriptionId?: string | null | undefined; ... 4 more ...; billingPeriod?: BillingPeriod | undefined; } | null; ... 7 more ...; isPlatform?: bo...'.
Production builds / Build API v1
Property 'creationSource' is missing in type '{ teamId: number; role: "MEMBER"; isOrg: boolean; language: string; usernameOrEmail: string[]; }' but required in type '{ creationSource: "API_V1" | "API_V2" | "WEBAPP"; teamId: number; language: string; usernameOrEmail: (string | (string | { email: string; role: "ADMIN" | "MEMBER" | "OWNER"; })[]) & (string | (string | { ...; })[] | undefined); role?: "ADMIN" | ... 2 more ... | undefined; isPlatform?: boolean | undefined; }'.
Production builds / Build API v1
Property 'creationSource' is missing in type '{ teamId: number; role: "MEMBER"; language: string; usernameOrEmail: string[]; }' but required in type '{ creationSource: "API_V1" | "API_V2" | "WEBAPP"; teamId: number; language: string; usernameOrEmail: (string | (string | { email: string; role: "ADMIN" | "MEMBER" | "OWNER"; })[]) & (string | (string | { ...; })[] | undefined); role?: "ADMIN" | ... 2 more ... | undefined; isPlatform?: boolean | undefined; }'.
Production builds / Build API v1
Property 'creationSource' is missing in type '{ teamId: number; role: "MEMBER"; isOrg: boolean; language: string; usernameOrEmail: string; }' but required in type '{ creationSource: "API_V1" | "API_V2" | "WEBAPP"; teamId: number; language: string; usernameOrEmail: (string | (string | { email: string; role: "ADMIN" | "MEMBER" | "OWNER"; })[]) & (string | (string | { ...; })[] | undefined); role?: "ADMIN" | ... 2 more ... | undefined; isPlatform?: boolean | undefined; }'.
Production builds / Build API v1
Property 'creationSource' is missing in type '{ teamId: number; role: "MEMBER"; isOrg: boolean; language: string; usernameOrEmail: string; }' but required in type '{ creationSource: "API_V1" | "API_V2" | "WEBAPP"; teamId: number; language: string; usernameOrEmail: (string | (string | { email: string; role: "ADMIN" | "MEMBER" | "OWNER"; })[]) & (string | (string | { ...; })[] | undefined); role?: "ADMIN" | ... 2 more ... | undefined; isPlatform?: boolean | undefined; }'.
Production builds / Build API v1
Type '{ id: number; name: string; slug: null; appLogo: null; appIconLogo: null; bio: null; hideBranding: false; pendingPayment: false; hideBookATeamMember: false; createdAt: Date; brandColor: string; ... 16 more ...; smsLockReviewedByAdmin: false; }' is not assignable to type 'TeamWithParent'.
Production builds / Build API v1
Argument of type '{ organizationSettings: { id: number; teamId: number; isOrganizationConfigured: boolean; isOrganizationVerified: boolean; orgAutoAcceptEmail: string; organizationId: number; lockEventTypeCreationForUsers: boolean; adminGetsNoSlotsNotification: boolean; isAdminReviewed: boolean; isAdminAPIEnabled: boolean; }; ... 29 ...' is not assignable to parameter of type '{ id: number; name: string; slug: string | null; logoUrl: string | null; ***VideoLogo: string | null; appLogo: string | null; appIconLogo: string | null; bio: string | null; hideBranding: boolean; ... 19 more ...; includeManagedEventsInLimits: boolean; } & { ...; } & { ...; }'.
Production builds / Build Web App
Type '{ readonly id: 4; readonly username: "pro"; readonly email: "***"; readonly password: { readonly hash: ""; readonly userId: 0; }; readonly completedOnboarding: true; readonly identityProvider: "CAL"; ... 9 more ...; readonly theme: null; }' is not assignable to type 'NonNullable<{ avatar: string; organization: { id: number | null; isOrgAdmin: boolean; metadata: { requestedSlug?: string | null | undefined; paymentId?: string | undefined; subscriptionId?: string | null | undefined; ... 4 more ...; billingPeriod?: BillingPeriod | undefined; } | null; ... 7 more ...; isPlatform?: bo...'.
Production builds / Build Web App
Type '{ readonly id: 4; readonly username: "pro"; readonly email: "***"; readonly password: { readonly hash: ""; readonly userId: 0; }; readonly completedOnboarding: true; readonly identityProvider: "CAL"; ... 9 more ...; readonly theme: null; }' is not assignable to type 'NonNullable<{ avatar: string; organization: { id: number | null; isOrgAdmin: boolean; metadata: { requestedSlug?: string | null | undefined; paymentId?: string | undefined; subscriptionId?: string | null | undefined; ... 4 more ...; billingPeriod?: BillingPeriod | undefined; } | null; ... 7 more ...; isPlatform?: bo...'.
Production builds / Build Web App
Type '{ organization: { id: null; isOrgAdmin: boolean; metadata: {}; requestedSlug: null; }; defaultBookerLayouts: null; selectedCalendars: never[]; destinationCalendar: null; profile: { username: string; ... 8 more ...; bufferTime: number; }; ... 45 more ...; creationSource: $Enums.CreationSource | null; }' is not assignable to type 'NonNullable<{ avatar: string; organization: { id: number | null; isOrgAdmin: boolean; metadata: { requestedSlug?: string | null | undefined; paymentId?: string | undefined; subscriptionId?: string | null | undefined; ... 4 more ...; billingPeriod?: BillingPeriod | undefined; } | null; ... 7 more ...; isPlatform?: bo...'.
Production builds / Build Web App
Type '{ organization: { id: null; isOrgAdmin: boolean; metadata: {}; requestedSlug: null; }; defaultBookerLayouts: null; selectedCalendars: never[]; destinationCalendar: null; profile: { username: string; ... 8 more ...; bufferTime: number; }; ... 45 more ...; creationSource: $Enums.CreationSource | null; }' is not assignable to type 'NonNullable<{ avatar: string; organization: { id: number | null; isOrgAdmin: boolean; metadata: { requestedSlug?: string | null | undefined; paymentId?: string | undefined; subscriptionId?: string | null | undefined; ... 4 more ...; billingPeriod?: BillingPeriod | undefined; } | null; ... 7 more ...; isPlatform?: bo...'.
Production builds / Build Web App
Property 'creationSource' is missing in type '{ teamId: number; role: "MEMBER"; isOrg: boolean; language: string; usernameOrEmail: string[]; }' but required in type '{ creationSource: "API_V1" | "API_V2" | "WEBAPP"; teamId: number; language: string; usernameOrEmail: (string | (string | { email: string; role: "ADMIN" | "MEMBER" | "OWNER"; })[]) & (string | (string | { ...; })[] | undefined); role?: "ADMIN" | ... 2 more ... | undefined; isPlatform?: boolean | undefined; }'.
Production builds / Build Web App
Property 'creationSource' is missing in type '{ teamId: number; role: "MEMBER"; language: string; usernameOrEmail: string[]; }' but required in type '{ creationSource: "API_V1" | "API_V2" | "WEBAPP"; teamId: number; language: string; usernameOrEmail: (string | (string | { email: string; role: "ADMIN" | "MEMBER" | "OWNER"; })[]) & (string | (string | { ...; })[] | undefined); role?: "ADMIN" | ... 2 more ... | undefined; isPlatform?: boolean | undefined; }'.
Production builds / Build Web App
Property 'creationSource' is missing in type '{ teamId: number; role: "MEMBER"; isOrg: boolean; language: string; usernameOrEmail: string; }' but required in type '{ creationSource: "API_V1" | "API_V2" | "WEBAPP"; teamId: number; language: string; usernameOrEmail: (string | (string | { email: string; role: "ADMIN" | "MEMBER" | "OWNER"; })[]) & (string | (string | { ...; })[] | undefined); role?: "ADMIN" | ... 2 more ... | undefined; isPlatform?: boolean | undefined; }'.
Production builds / Build Web App
Property 'creationSource' is missing in type '{ teamId: number; role: "MEMBER"; isOrg: boolean; language: string; usernameOrEmail: string; }' but required in type '{ creationSource: "API_V1" | "API_V2" | "WEBAPP"; teamId: number; language: string; usernameOrEmail: (string | (string | { email: string; role: "ADMIN" | "MEMBER" | "OWNER"; })[]) & (string | (string | { ...; })[] | undefined); role?: "ADMIN" | ... 2 more ... | undefined; isPlatform?: boolean | undefined; }'.
Production builds / Build Web App
Type '{ id: number; name: string; slug: null; appLogo: null; appIconLogo: null; bio: null; hideBranding: false; pendingPayment: false; hideBookATeamMember: false; createdAt: Date; brandColor: string; ... 16 more ...; smsLockReviewedByAdmin: false; }' is not assignable to type 'TeamWithParent'.
Production builds / Build Web App
Argument of type '{ organizationSettings: { id: number; teamId: number; isOrganizationConfigured: boolean; isOrganizationVerified: boolean; orgAutoAcceptEmail: string; organizationId: number; lockEventTypeCreationForUsers: boolean; adminGetsNoSlotsNotification: boolean; isAdminReviewed: boolean; isAdminAPIEnabled: boolean; }; ... 29 ...' is not assignable to parameter of type '{ id: number; name: string; slug: string | null; logoUrl: string | null; ***VideoLogo: string | null; appLogo: string | null; appIconLogo: string | null; bio: string | null; hideBranding: boolean; ... 19 more ...; includeManagedEventsInLimits: boolean; } & { ...; } & { ...; }'.
Production builds / Build Web App
RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: CANCEL (err 8)
Production builds / Build Web App
2379 bytes of body are still expected
Production builds / Build Web App
early EOF
Production builds / Build Web App
fetch-pack: invalid index-pack output
Tests / E2E API v2
No files were found with the provided path: test-results. No artifacts will be uploaded.
📋 Published Playwright Test Report
https://calcom.github.io/test-results/reports/perf/do-not-import-from-barrel/13552543966/1

Artifacts

Produced during runtime
Name Size
blob-report-1
146 KB
blob-report-2
8.38 MB
blob-report-3
180 KB
blob-report-4
116 KB
blob-report-app-store
22.8 MB
blob-report-embed-core
47.8 KB
blob-report-embed-react
395 KB
bundle
372 Bytes
html-report--attempt-49334-1
32.3 MB