Page MenuHomePhabricator

[keysever/lib/native] introduce gate for tagging farcaster channel work
ClosedPublic

Authored by ginsu on Apr 26 2024, 11:52 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 21, 1:44 PM
Unknown Object (File)
Wed, Apr 16, 10:42 AM
Unknown Object (File)
Wed, Apr 16, 3:15 AM
Unknown Object (File)
Wed, Apr 16, 2:26 AM
Unknown Object (File)
Tue, Apr 15, 10:33 PM
Unknown Object (File)
Tue, Apr 15, 6:31 PM
Unknown Object (File)
Mon, Apr 14, 6:55 PM
Unknown Object (File)
Mon, Apr 7, 6:46 AM
Subscribers

Details

Summary

This gate will be used to guarantee that nobody (internally + externally) creates a Farcaster channel tag and thus has a blob holder on their client on prod.

Depends on D11772

Test Plan

Confirmed that when GATE_TAG_FARCASTER_CHANNEL is true we can't access the UI + also confirmed that the create_or_update_farcaster_channel_tag would immediatly throw an error

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

ashoat added inline comments.
lib/shared/community-utils.js
3 ↗(On Diff #39583)

From the name it's unclear whether this will allow or prohibit the tagging of farcaster channels. Can you rename it to clarify? Eg. maybe DISABLE_TAGGING_FARCASTER_CHANNEL (or ENABLE_TAGGING_FARCASTER_CHANNEL, but then I guess you'd have to flip the checks)

This revision is now accepted and ready to land.Apr 27 2024, 9:35 AM