Page MenuHomePhabricator

[identity][websocket] Call DB client directly to verify CSAT
ClosedPublic

Authored by bartek on Jun 17 2024, 3:30 AM.
Tags
None
Referenced Files
F3258215: D12447.id41378.diff
Fri, Nov 15, 9:37 PM
Unknown Object (File)
Fri, Nov 15, 7:03 AM
Unknown Object (File)
Thu, Nov 14, 11:24 PM
Unknown Object (File)
Sun, Nov 10, 1:24 AM
Unknown Object (File)
Thu, Nov 7, 10:22 PM
Unknown Object (File)
Sun, Nov 3, 4:25 AM
Unknown Object (File)
Oct 12 2024, 11:13 AM
Unknown Object (File)
Oct 12 2024, 11:13 AM
Subscribers

Details

Summary

Noticed that we're doing an unnecessary round-trip with search WebSocket auth:
Identity WS, when received auth message, connected to itself via gRPC just to verify CSAT.

Replaced this with a direct DDB call.

Test Plan

Verified that identity search is still working on local clients (with local Identity).

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

bartek held this revision as a draft.
bartek published this revision for review.Jun 17 2024, 4:22 AM

This makes a lot of sense. Not sure why I didn't consider this on first implementation but glad you caught it now.

This revision is now accepted and ready to land.Jun 18 2024, 7:15 AM