Page MenuHomePhabricator

[lib] Update `threadInfoFromRawThreadInfo` to return `MinimallyEncodedThreadInfo`
ClosedPublic

Authored by atul on Dec 5 2023, 7:44 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, May 23, 1:05 PM
Unknown Object (File)
Mon, May 20, 5:09 AM
Unknown Object (File)
Mon, May 20, 5:09 AM
Unknown Object (File)
Mon, May 20, 5:09 AM
Unknown Object (File)
Mon, May 20, 5:08 AM
Unknown Object (File)
Mon, May 20, 5:08 AM
Unknown Object (File)
Sun, May 12, 7:47 PM
Unknown Object (File)
Apr 5 2024, 9:51 AM
Subscribers
None

Details

Summary

Update threadInfoFromRawThreadInfo to always return MinimallyEncodedThreadInfo and update eg baseCreatePendingSidebar to accomodate that. Now all newly created pending threads on the client will be MinimallyEncoded.. so "new threads" going into Redux will be MinimallyEncoded and we won't be creating legacyThreadInfos on the client.

Test Plan

CI/flow/etc.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

lib/shared/thread-utils.js
893 ↗(On Diff #34282)

This will be updated as well to be more flexible.

Harbormaster returned this revision to the author for changes because remote builds failed.Dec 5 2023, 7:46 AM
Harbormaster failed remote builds in B24807: Diff 34282!
atul requested review of this revision.Dec 5 2023, 8:22 AM
This revision is now accepted and ready to land.Dec 5 2023, 8:26 AM
atul retitled this revision from [lib] Update `threadInfoFromRawThreadInfo` to return `MinimallyEncodedThreadInfo` to [DO NOT LAND][lib] Update `threadInfoFromRawThreadInfo` to return `MinimallyEncodedThreadInfo`.Dec 11 2023, 9:50 AM

Marking this as [DO NOT LAND] because this would break existing clients at this point.

atul retitled this revision from [DO NOT LAND][lib] Update `threadInfoFromRawThreadInfo` to return `MinimallyEncodedThreadInfo` to [lib] Update `threadInfoFromRawThreadInfo` to return `MinimallyEncodedThreadInfo`.Dec 14 2023, 1:00 PM