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)
Mon, Oct 14, 2:28 PM
Unknown Object (File)
Sun, Oct 13, 5:03 PM
Unknown Object (File)
Sun, Oct 13, 8:48 AM
Unknown Object (File)
Wed, Oct 9, 9:56 AM
Unknown Object (File)
Fri, Oct 4, 5:22 PM
Unknown Object (File)
Sat, Sep 28, 5:45 PM
Unknown Object (File)
Fri, Sep 27, 9:18 PM
Unknown Object (File)
Thu, Sep 26, 2:25 PM
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