refactor: Remove global references to Accounts#39314
Conversation
|
Looks like this PR is ready to merge! 🎉 |
|
|
/jira ARCH-2021 |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review infoConfiguration used: Organization UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (6)
📜 Recent review details⏰ 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). (4)
🧰 Additional context used📓 Path-based instructions (1)**/*.{ts,tsx,js}📄 CodeRabbit inference engine (.cursor/rules/playwright.mdc)
Files:
🧠 Learnings (11)📓 Common learnings📚 Learning: 2026-02-25T20:10:16.987ZApplied to files:
📚 Learning: 2026-01-27T20:57:56.529ZApplied to files:
📚 Learning: 2025-11-04T16:49:19.107ZApplied to files:
📚 Learning: 2026-02-26T19:25:44.063ZApplied to files:
📚 Learning: 2026-02-26T19:25:44.063ZApplied to files:
📚 Learning: 2026-02-24T19:09:01.522ZApplied to files:
📚 Learning: 2026-02-23T17:53:06.802ZApplied to files:
📚 Learning: 2025-11-24T17:08:17.065ZApplied to files:
📚 Learning: 2026-01-17T01:51:47.764ZApplied to files:
📚 Learning: 2026-02-10T16:32:42.586ZApplied to files:
🧬 Code graph analysis (1)apps/meteor/app/lib/server/functions/saveUser/saveNewUser.ts (1)
🪛 Biome (2.4.4)apps/meteor/packages/linkedin-oauth/linkedin-server.js[error] 1-1: Illegal use of an import declaration outside of a module (parse) 🔇 Additional comments (7)
WalkthroughMultiple files across authentication, user management, and API modules have been updated to explicitly import the Accounts module from 'meteor/accounts-base'. Additionally, the saveNewUser function signature was updated to include a performedBy parameter, and optional chaining was applied to a guest role check. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Suggested labels
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. 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. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #39314 +/- ##
===========================================
- Coverage 70.90% 70.85% -0.05%
===========================================
Files 3208 3208
Lines 113433 113433
Branches 20558 20549 -9
===========================================
- Hits 80433 80377 -56
- Misses 30955 31012 +57
+ Partials 2045 2044 -1
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
Proposed changes (including videos or screenshots)
It imports
Accountsfrommeteor/accounts-baseinstead of referencing the global-scoped variable.Issue(s)
Steps to test or reproduce
Further comments
Task: ARCH-2036
Summary by CodeRabbit