regression: archived room links fail to open when user has no subscription#41085
Conversation
|
Looks like this PR is ready to merge! 🎉 |
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📜 Recent review details⏰ Context from checks skipped due to timeout. (7)
🧰 Additional context used📓 Path-based instructions (1)**/*.{ts,tsx,js}📄 CodeRabbit inference engine (.cursor/rules/playwright.mdc)
Files:
🧠 Learnings (5)📚 Learning: 2026-02-23T17:53:06.802ZApplied to files:
📚 Learning: 2026-02-24T19:09:01.522ZApplied to files:
📚 Learning: 2026-02-26T19:25:44.063ZApplied to files:
📚 Learning: 2026-02-26T19:25:44.063ZApplied to files:
📚 Learning: 2026-05-06T12:21:44.083ZApplied to files:
🔇 Additional comments (2)
Walkthrough
Changesrooms.info archived lookup
Sequence Diagram(s)None Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Suggested labels
Suggested reviewers
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Warning Review ran into problems🔥 ProblemsErrors were encountered while retrieving linked issues. Errors (1)
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 @@
## release-8.6.0 #41085 +/- ##
================================================
Coverage ? 70.17%
================================================
Files ? 3365
Lines ? 129983
Branches ? 22587
================================================
Hits ? 91222
Misses ? 35439
Partials ? 3322
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)
rooms.infoAPI endpoint: PasscheckedArchiveproperty asfalsetofindRoomByIdOrName, avoiding short-circuit whenuseGoToRoom(apps/meteor/client/views/room/hooks/useGoToRoom.ts) callsuseEndpoint('GET', '/v1/rooms.info');(It previously useduseMethod('getRoomById');, change done in chore: migrate DDP callers to REST endpoints (used methods with REST replacement) #40659). This means that the endpoint response will include archived rooms too.rooms.info.Issue(s)
CORE-2317 [Regression] Archived room links fail to open from fresh client state
Steps to test or reproduce
Further comments
Summary by CodeRabbit
rooms.infonow returns information for archived rooms when access is allowed.rooms.info.