Page MenuHomePhabricator

[lib] Introduce updateRelationshipSpec
ClosedPublic

Authored by ashoat on Sep 19 2024, 3:47 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 17, 9:47 AM
Unknown Object (File)
Fri, Nov 1, 7:23 AM
Unknown Object (File)
Fri, Nov 1, 7:23 AM
Unknown Object (File)
Fri, Nov 1, 7:23 AM
Unknown Object (File)
Fri, Nov 1, 7:18 AM
Unknown Object (File)
Tue, Oct 22, 10:41 AM
Unknown Object (File)
Tue, Oct 22, 10:21 AM
Unknown Object (File)
Tue, Oct 22, 10:21 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.