Fix server-side role search behavior across role selectors#27737
Fix server-side role search behavior across role selectors#27737harsh-vador merged 3 commits intomainfrom
Conversation
🟡 Playwright Results — all passed (20 flaky)✅ 3953 passed · ❌ 0 failed · 🟡 20 flaky · ⏭️ 86 skipped
🟡 20 flaky test(s) (passed on retry)
How to debug locally# Download playwright-test-results-<shard> artifact and unzip
npx playwright show-trace path/to/trace.zip # view trace |
Code Review ✅ Approved 4 resolved / 4 findingsRefactored server-side role search to address stale closures in fetchRoles, dependency errors in useMemo, and inconsistent option clearing. Performance is improved by stabilizing the debounced function, with no remaining issues found. ✅ 4 resolved✅ Bug: TDZ:
|
| Compact |
|
Was this helpful? React with 👍 / 👎 | Gitar
|
* Fix server-side role search behavior across role selectors * address gitar * fix failing spec (cherry picked from commit c5e360a)
* Fix server-side role search behavior across role selectors * address gitar * fix failing spec (cherry picked from commit c5e360a)



Describe your changes:
Fixes #27540
Screen.Recording.2026-04-26.at.1.54.27.PM.mov
Description
Included fixes
Problem
Solution
Type of change:
Checklist:
Fixes <issue-number>: <short explanation>