Page MenuHomePhabricator

[keyserver][lib] Update raw entry info to be thick or thin
ClosedPublic

Authored by will on Sep 12 2024, 10:26 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 22, 3:29 AM
Unknown Object (File)
Fri, Nov 22, 2:57 AM
Unknown Object (File)
Thu, Nov 21, 8:06 PM
Unknown Object (File)
Wed, Nov 20, 7:02 AM
Unknown Object (File)
Wed, Nov 20, 6:40 AM
Unknown Object (File)
Wed, Nov 20, 6:40 AM
Unknown Object (File)
Wed, Nov 20, 6:40 AM
Unknown Object (File)
Wed, Nov 20, 6:40 AM
Subscribers
None

Details

Summary

This updates raw entry info to be union type of either thick or thin.

Test Plan

flow check. Will test later in stack

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

will requested review of this revision.Sep 12 2024, 10:43 PM
tomek added inline comments.
lib/types/entry-types.js
37

Should this be mandatory for thick threads?

51–53
63

Looks like it is always true.

This revision is now accepted and ready to land.Sep 13 2024, 3:02 AM
lib/types/entry-types.js
37

Agree – we can move this out of the base, and have it be t.maybe for thin and always defined for thick

38

Do we need localID for thick?

63

We can use tBool(true)

lib/types/entry-types.js
38

Seemingly not? We seemingly use it for optimistic creations before it gets assigned a serverID on the keyserver. I imagine this doesn't really apply in client to client?

lib/types/entry-types.js
26 ↗(On Diff #44236)

I thought we agreed we didn't need this in the base

37 ↗(On Diff #44236)

I thought we agreed we didn't need this in the base