Page MenuHomePhabricator

[native] Reduce branching in `fixUnreadActiveThread`
AbandonedPublic

Authored by atul on Jan 5 2024, 8:59 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Sep 6, 12:29 AM
Unknown Object (File)
Fri, Sep 6, 12:29 AM
Unknown Object (File)
Fri, Sep 6, 12:29 AM
Unknown Object (File)
Sep 4 2024, 8:22 PM
Unknown Object (File)
Aug 27 2024, 5:52 PM
Unknown Object (File)
Aug 23 2024, 1:22 PM
Unknown Object (File)
Aug 20 2024, 2:35 PM
Unknown Object (File)
Aug 18 2024, 12:37 PM
Subscribers
None

Details

Reviewers
ashoat
ginsu
tomek
Summary

Update fixUnreadActiveThread to only branch on updatedActiveThreadInfo.


Depends on D10555

Test Plan

Careful reading and trusting flow

Diff Detail

Repository
rCOMM Comm
Branch
master
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

atul requested review of this revision.Jan 5 2024, 9:17 AM
ashoat requested changes to this revision.Jan 5 2024, 12:03 PM

Discussed this offline; @atul will summarize conclusions in ENG-6070 and subtasks, but basically we're going to update the ThreadStore type to reflect that only minimally-encoded data are there, and then get rid of (rather than simplify) this branching, as well as all other cases where we branch due to ambiguity in the ThreadStore type

This revision now requires changes to proceed.Jan 5 2024, 12:03 PM