Page MenuHomePhabricator

[lib] Fix construction of `ThinRawThreadInfo` in `createPendingThread`
ClosedPublic

Authored by atul on Jun 27 2024, 1:19 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 11, 4:57 AM
Unknown Object (File)
Mon, Nov 11, 4:38 AM
Unknown Object (File)
Mon, Nov 11, 4:10 AM
Unknown Object (File)
Mon, Nov 11, 2:44 AM
Unknown Object (File)
Mon, Nov 11, 12:13 AM
Unknown Object (File)
Sun, Nov 10, 4:31 PM
Unknown Object (File)
Fri, Nov 8, 11:05 PM
Unknown Object (File)
Fri, Nov 8, 11:05 PM
Subscribers

Details

Summary

Part of resolving the flow issues introduced (intentionally) in D12594.

IMPORTANT: This is used on client to create NEW *RawThreadInfos which is persisted representation. We want to make sure this change is landed in same release as migration so we don't end up having *RawThreadInfos with/without member permissions persisted before migration.

Depends on D12594

Test Plan

Create new threads on native/web client and ensure that ThinRawThreadInfos are created/persisted without member permissions.

NOTE: 6 remaining flow issues expected.

Diff Detail

Repository
rCOMM Comm
Branch
arcpatch-D12597_1 (branched from master)
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

Harbormaster returned this revision to the author for changes because remote builds failed.Jun 27 2024, 1:32 PM
Harbormaster failed remote builds in B29970: Diff 41769!
atul requested review of this revision.Jun 27 2024, 1:42 PM

remove extraneous import

This revision is now accepted and ready to land.Jul 1 2024, 1:09 PM

rebase after resequence

rebase after landing validator fix

It's actually fine to land this as-is. If migration runs on RawThreadInfo that's already missing permissions, nothing will happen since stripPermissionsFromMemberInfo just won't really do anything:

14695f.png (550×1 px, 105 KB)

This revision was landed with ongoing or failed builds.Jul 18 2024, 1:37 PM
This revision was automatically updated to reflect the committed changes.