-
Notifications
You must be signed in to change notification settings - Fork 10.2k
fix: use meeting summary and ai companion settings #21777
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
base: main
Are you sure you want to change the base?
Conversation
@chaitanyya is attempting to deploy a commit to the cal Team on Vercel. A member of the Team first needs to authorize it. |
Graphite Automations"Add consumer team as reviewer" took an action on this PR • (06/11/25)1 reviewer was added to this PR based on Keith Williams's automation. "Add community label" took an action on this PR • (06/11/25)1 label was added to this PR based on Keith Williams's automation. "Add ready-for-e2e label" took an action on this PR • (07/11/25)1 label 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.
cubic reviewed 1 file and found no issues. Review PR in cubic.dev.
@Devanshusharma2005 also this one, i did try it out with a paid account and it worked fine, super simple happy to add more context if that makes things easier for you |
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.
Left a comment. Rest looks good.
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.
cubic reviewed 1 file and found no issues. Review PR in cubic.dev.
@chaitanyya could you pls resolve the merge conflicts? |
@kart1ka it's done, would be great if we can clean it up soon |
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.
Added comments
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
E2E results are ready! |
This one has been sitting for a while, would be great if we can merge this |
auto_start_meeting_summary: | ||
userSettings?.in_meeting?.meeting_summary_with_ai_companion?.auto_enable ?? false, | ||
auto_start_ai_companion_questions: | ||
userSettings?.in_meeting?.ai_companion_questions?.auto_enable ?? false, |
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.
In the official docs, I couldn’t find these props: auto_start_meeting_summary and auto_start_ai_companion_questions. Can you please attach the link?
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.
WalkthroughThe changes update the Zoom user settings schema to add two new optional nested objects, Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Assessment against linked issues
Assessment against linked issues: Out-of-scope changesNo out-of-scope changes were found. Note 🔌 MCP (Model Context Protocol) integration is now available in Early Access!Pro users can now connect to remote MCP servers under the Integrations page to get reviews and chat conversations that understand additional development context. ✨ Finishing Touches
🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
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.
Actionable comments posted: 1
🧹 Nitpick comments (1)
packages/app-store/zoomvideo/lib/VideoApiAdapter.ts (1)
108-108
: custom_query_fields: verify if top-levelwaiting_room
is neededWe read
waiting_room
fromin_meeting
, andin_meeting
is already included. If top-levelwaiting_room
isn’t used, consider removing it to keep the response lean.If verified unused, apply:
-"default_password_for_scheduled_meetings,auto_recording,waiting_room,waiting_room_settings,in_meeting"; +"default_password_for_scheduled_meetings,auto_recording,waiting_room_settings,in_meeting";
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
packages/app-store/zoomvideo/lib/VideoApiAdapter.ts
(3 hunks)
🧰 Additional context used
📓 Path-based instructions (2)
**/*.ts
📄 CodeRabbit Inference Engine (.cursor/rules/review.mdc)
**/*.ts
: For Prisma queries, only select data you need; never useinclude
, always useselect
Ensure thecredential.key
field is never returned from tRPC endpoints or APIs
Files:
packages/app-store/zoomvideo/lib/VideoApiAdapter.ts
**/*.{ts,tsx}
📄 CodeRabbit Inference Engine (.cursor/rules/review.mdc)
Flag excessive Day.js use in performance-critical code; prefer native Date or Day.js
.utc()
in hot paths like loops
Files:
packages/app-store/zoomvideo/lib/VideoApiAdapter.ts
🧠 Learnings (5)
📚 Learning: 2025-08-08T09:29:11.665Z
Learnt from: Udit-takkar
PR: calcom/cal.com#22919
File: packages/features/calAIPhone/interfaces/AIPhoneService.interface.ts:118-143
Timestamp: 2025-08-08T09:29:11.665Z
Learning: In calcom/cal.com PR #22919, packages/features/calAIPhone/interfaces/AIPhoneService.interface.ts (TypeScript), the AIPhoneServiceAgentListItem is required to include user.email in listAgents responses (per maintainer Udit-takkar). Future reviews should not flag this as unnecessary PII unless requirements change.
Applied to files:
packages/app-store/zoomvideo/lib/VideoApiAdapter.ts
📚 Learning: 2025-08-08T09:27:23.870Z
Learnt from: Udit-takkar
PR: calcom/cal.com#22919
File: packages/features/calAIPhone/providers/retellAI/services/AgentService.ts:195-216
Timestamp: 2025-08-08T09:27:23.870Z
Learning: In PR calcom/cal.com#22919, file packages/features/calAIPhone/providers/retellAI/services/AgentService.ts, the updateAgentConfiguration method intentionally does not persist the optional `name` parameter to the repository for now, per maintainer (Udit-takkar). Future reviews should not flag this unless requirements change.
Applied to files:
packages/app-store/zoomvideo/lib/VideoApiAdapter.ts
📚 Learning: 2025-07-16T07:14:49.248Z
Learnt from: vijayraghav-io
PR: calcom/cal.com#16579
File: packages/prisma/schema.prisma:149-153
Timestamp: 2025-07-16T07:14:49.248Z
Learning: In Cal.com's schema design, the team prefers to keep Boolean fields nullable (Boolean?) with defaults rather than making them non-nullable (Boolean) to avoid expensive database migrations that would update existing rows.
Applied to files:
packages/app-store/zoomvideo/lib/VideoApiAdapter.ts
📚 Learning: 2025-08-08T10:26:13.352Z
Learnt from: Udit-takkar
PR: calcom/cal.com#22919
File: packages/features/calAIPhone/providers/retellAI/services/PhoneNumberService.ts:212-220
Timestamp: 2025-08-08T10:26:13.352Z
Learning: In calcom/cal.com PR #22919, packages/features/calAIPhone/providers/retellAI/services/PhoneNumberService.ts should include the phone number in client-facing HttpError messages (e.g., in updatePhoneNumber/getPhoneNumber catch blocks). Do not suggest redacting the phone number from these errors unless requirements change (per maintainer: Udit-takkar).
Applied to files:
packages/app-store/zoomvideo/lib/VideoApiAdapter.ts
📚 Learning: 2025-07-18T17:57:16.395Z
Learnt from: vijayraghav-io
PR: calcom/cal.com#21072
File: packages/app-store/office365calendar/api/webhook.ts:120-123
Timestamp: 2025-07-18T17:57:16.395Z
Learning: The office365calendar webhook handler in packages/app-store/office365calendar/api/webhook.ts is specifically designed for Office365 calendar integration, not as a generic webhook handler. Therefore, it's safe to assume that fetchAvailabilityAndSetCache method will be implemented in the Office365CalendarService, making explicit validation checks unnecessary.
Applied to files:
packages/app-store/zoomvideo/lib/VideoApiAdapter.ts
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
- GitHub Check: Install dependencies / Yarn install & cache
🔇 Additional comments (1)
packages/app-store/zoomvideo/lib/VideoApiAdapter.ts (1)
79-90
: Allow nulls for AI companion schema fieldsTo avoid Zod parse failures when Zoom omits or nulls these settings, update both the nested objects and their
auto_enable
flags to benullish
instead of justoptional
:- meeting_summary_with_ai_companion: z - .object({ - auto_enable: z.boolean().optional(), - }) - .optional(), + meeting_summary_with_ai_companion: z + .object({ + auto_enable: z.boolean().nullish(), + }) + .nullish(), - ai_companion_questions: z - .object({ - auto_enable: z.boolean().optional(), - }) - .optional(), + ai_companion_questions: z + .object({ + auto_enable: z.boolean().nullish(), + }) + .nullish(),• In your meeting‐creation payload, use conditional spreads for
auto_start_meeting_summary
andauto_start_ai_companion_questions
so you don’t accidentally forcefalse
when a user hasn’t set them.
• Nit: once nullish behavior is confirmed, consider trimmingcustom_query_fields
.Please verify against a real Zoom Create Meeting API response (paid account) to confirm these objects can be
null
or omitted before merging.
What does this PR do?
We use the correct user configuration for ai_companion and meeting_summary. As complaint by
Video Demo
https://www.loom.com/share/3538202146b840469a2721f49563716b
Mandatory Tasks
How should this be tested?
Summary by cubic
Fixed meeting creation to use the correct user settings for meeting summary and companion features in Zoom.