Skip to content

fix: Unbork Team POST API#14803

Merged
emrysal merged 2 commits intomainfrom
fix/team-api-v1-borked
Apr 29, 2024
Merged

fix: Unbork Team POST API#14803
emrysal merged 2 commits intomainfrom
fix/team-api-v1-borked

Conversation

@alishaz-polymath
Copy link
Copy Markdown
Member

@alishaz-polymath alishaz-polymath commented Apr 29, 2024

What does this PR do?

Add newly added mandatory fields to partial to allow Team creation using API V1

Type of change

  • Bug fix (non-breaking change which fixes an issue)

How should this be tested?

Mandatory Tasks

  • Make sure you have self-reviewed the code. A decent size PR without self-review might be rejected.

Checklist

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 29, 2024

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

@keithwillcode keithwillcode added the core area: core, team members only label Apr 29, 2024
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 29, 2024

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

Name Status Preview Comments Updated (UTC)
platform-starter-kit ❌ Failed (Inspect) Apr 29, 2024 3:48pm
3 Ignored Deployments
Name Status Preview Comments Updated (UTC)
ai ⬜️ Ignored (Inspect) Visit Preview Apr 29, 2024 3:48pm
cal ⬜️ Ignored (Inspect) Visit Preview Apr 29, 2024 3:48pm
calcom-web-canary ⬜️ Ignored (Inspect) Visit Preview Apr 29, 2024 3:48pm

@github-actions
Copy link
Copy Markdown
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! 🙌

@deploysentinel
Copy link
Copy Markdown

deploysentinel bot commented Apr 29, 2024

Current Playwright Test Results Summary

✅ 315 Passing - ⚠️ 12 Flaky

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

(Last updated on 04/29/2024 04:05:57pm UTC)

Run Details

Running Workflow PR Update on Github Actions

Commit: 5c4fab8

Started: 04/29/2024 04:02:57pm UTC

⚠️ Flakes

📄   packages/embeds/embed-core/playwright/tests/namespacing.e2e.ts • 4 Flakes

Top 1 Common Error Messages

null

4 Test Cases Affected

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Namespacing Inline Embed Double install Embed Snippet with inline embed without a namespace(i.e. default namespace)
Retry 1Initial Attempt
0% (0) 0 / 218 runs
failed over last 7 days
54.13% (118) 118 / 218 runs
flaked over last 7 days
Namespacing Inline Embed Add inline embed using a namespace without reload
Retry 1Initial Attempt
0.46% (1) 1 / 218 run
failed over last 7 days
53.67% (117) 117 / 218 runs
flaked over last 7 days
Namespacing Different namespaces can have different init configs
Retry 1Initial Attempt
0% (0) 0 / 216 runs
failed over last 7 days
53.24% (115) 115 / 216 runs
flaked over last 7 days
Namespacing Inline Embed Double install Embed Snippet with inline embed using a namespace
Retry 1Initial Attempt
0% (0) 0 / 218 runs
failed over last 7 days
53.67% (117) 117 / 218 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
user can login & logout succesfully -- future login flow user & logout using dashboard
Retry 1Initial Attempt
8.11% (18) 18 / 222 runs
failed over last 7 days
34.68% (77) 77 / 222 runs
flaked over last 7 days

📄   apps/web/playwright/hash-my-url.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
hash my url generate url hash
Retry 1Initial Attempt
10.98% (19) 19 / 173 runs
failed over last 7 days
28.90% (50) 50 / 173 runs
flaked over last 7 days

📄   apps/web/playwright/event-types.e2e.ts • 1 Flake

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
0.85% (2) 2 / 236 runs
failed over last 7 days
13.56% (32) 32 / 236 runs
flaked over last 7 days

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

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
BOOKING_RESCHEDULED when rescheduling to a booking that already exists, should send a booking rescheduled event with the existant booking uid
Retry 2Retry 1Initial Attempt
10.40% (21) 21 / 202 runs
failed over last 7 days
32.18% (65) 65 / 202 runs
flaked over last 7 days

📄   packages/embeds/embed-react/playwright/tests/basic.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
React Embed Element Click Popup should verify that the iframe got created with correct URL - namespaced
Retry 1Initial Attempt
15.22% (35) 35 / 230 runs
failed over last 7 days
43.48% (100) 100 / 230 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 Pending payment booking should not be confirmed by default
Retry 1Initial Attempt
1.39% (3) 3 / 216 runs
failed over last 7 days
24.07% (52) 52 / 216 runs
flaked over last 7 days

📄   apps/web/playwright/organization/booking.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Bookings Team Event Can create a booking for Round Robin EventType
Retry 2Retry 1Initial Attempt
16.46% (40) 40 / 243 runs
failed over last 7 days
23.87% (58) 58 / 243 runs
flaked over last 7 days

📄   apps/web/playwright/organization/across-org/across-org.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
user1NotMemberOfOrg1 is part of team1MemberOfOrg1 EventTypes listing should show correct link for user events and team1MemberOfOrg1's events
Retry 1Initial Attempt
2.42% (6) 6 / 248 runs
failed over last 7 days
6.05% (15) 15 / 248 runs
flaked over last 7 days

View Detailed Build Results


@alishaz-polymath alishaz-polymath marked this pull request as ready for review April 29, 2024 16:04
@alishaz-polymath alishaz-polymath added the High priority Created by Linear-GitHub Sync label Apr 29, 2024
@dosubot dosubot bot added api area: API, enterprise API, access token, OAuth 🐛 bug Something isn't working labels Apr 29, 2024
Comment on lines +9 to +11
isOrganization: true,
isPlatform: true,
smsLockState: true,
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Marks these newly added mandatory columns as partial to allow team creation without them as input (they're not relevant for API V1)

@emrysal emrysal merged commit ad0b8a6 into main Apr 29, 2024
@emrysal emrysal deleted the fix/team-api-v1-borked branch April 29, 2024 16:10
p6l-richard pushed a commit to p6l-richard/cal.com-fork that referenced this pull request Jul 22, 2024
* Add newly added mandatory fields to partial

* --WIP
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 High priority Created by Linear-GitHub Sync

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants