Page MenuHomePhabricator

[lib] Introduce updateRelationshipSpec
ClosedPublic

Authored by ashoat on Sep 19 2024, 3:47 PM.
Tags
None
Referenced Files
Unknown Object (File)
Nov 21 2024, 12:28 AM
Unknown Object (File)
Nov 20 2024, 10:13 AM
Unknown Object (File)
Nov 20 2024, 10:13 AM
Unknown Object (File)
Nov 20 2024, 1:49 AM
Unknown Object (File)
Nov 19 2024, 6:46 PM
Unknown Object (File)
Nov 19 2024, 5:58 PM
Unknown Object (File)
Nov 17 2024, 9:47 AM
Unknown Object (File)
Nov 1 2024, 7:23 AM
Subscribers
None

Details

Summary

This addresses ENG-9329.

Depends on D13391

Test Plan

For now, just Flow. I'll test this at a later point in the stack; for now, putting up diffs following the team's recent pattern to get feedback

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

lib/shared/dm-ops/update-relationship-spec.js
103 ↗(On Diff #44350)

One thing I'm curious about is whether we should introduce a new queue for FIDs / AuxUserStore

Arguably we've derisked the possibility of a scenario where the message comes in before FarcasterDataHandler has a chance to update the AuxUserStore, since we're relying on findUserIdentities calls instead of AuxUserStore

kamil added inline comments.
lib/shared/dm-ops/update-relationship-spec.js
103 ↗(On Diff #44350)

I think relying on findUserIdentities should be sufficient

This revision is now accepted and ready to land.Sep 20 2024, 2:01 AM
This revision was automatically updated to reflect the committed changes.