fix(users): resolve user detail via frontierService.getUser instead of searchUsers#1743
fix(users): resolve user detail via frontierService.getUser instead of searchUsers#1743Shreyag02 wants to merge 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughSummary by CodeRabbit
WalkthroughUser details fetching and optimistic cache updates were migrated from an admin search-based query to a direct getUser query. ChangesUser query migration
Estimated code review effort: 2 (Simple) | ~10 minutes 🚥 Pre-merge checks | ✅ 2✅ Passed checks (2 passed)
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 |
Coverage Report for CI Build 28938255444Coverage remained the same at 44.879%Details
Uncovered ChangesNo uncovered changes found. Coverage RegressionsNo coverage regressions found. Coverage Stats
💛 - Coveralls |
Summary
Replaces the
searchUsersRPC withfrontierService.getUserfor resolving a single user by ID in theuser-detailview.searchUsers does a search-string match, which failed to resolve some IDs and caused 404s when the user-detail page was reached via the audit-logs sidepanel actor link. getUser fetches directly by ID, fixing both the audit-logs and Users-page detail flows (they share the same component).
Changes
Technical Details
Test Plan
SQL Safety (if your PR touches
*_repository.goorgoqu.*)N/A