Page MenuHomePhabricator

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

Authored by atul on Jun 27 2024, 1:19 PM.
Tags
None
Referenced Files
F2994179: D12597.diff
Thu, Oct 17, 7:02 AM
Unknown Object (File)
Fri, Oct 11, 9:32 PM
Unknown Object (File)
Fri, Oct 11, 2:16 AM
Unknown Object (File)
Fri, Oct 11, 2:16 AM
Unknown Object (File)
Fri, Oct 11, 2:16 AM
Unknown Object (File)
Fri, Oct 11, 2:16 AM
Unknown Object (File)
Fri, Oct 11, 2:16 AM
Unknown Object (File)
Fri, Oct 11, 2:15 AM
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
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.