Page MenuHomePhabricator

[keyserver] introduce barebones createOrUpdateFarcasterChannelTag
ClosedPublic

Authored by ginsu on Wed, Apr 24, 11:12 PM.
Tags
None
Referenced Files
F1712005: D11772.id39509.diff
Tue, May 7, 12:22 AM
Unknown Object (File)
Mon, May 6, 6:44 PM
Unknown Object (File)
Mon, May 6, 3:10 PM
Unknown Object (File)
Thu, May 2, 7:17 PM
Unknown Object (File)
Thu, May 2, 10:53 AM
Unknown Object (File)
Wed, May 1, 1:54 PM
Unknown Object (File)
Wed, May 1, 12:37 PM
Unknown Object (File)
Tue, Apr 30, 7:00 PM
Subscribers

Details

Summary

This diff introduces the barebones createOrUpdateFarcasterChannelTag function. For the scope of this project we just want this function to upload a mapping of farcaster channel => comm community to the blob service for now, with the intention that all the other necessary parts for this function like (permissions, inserting the blob holder in the keyserver will be addressed and added to this function as a follow up project that I will start shortly)

Linear task: https://linear.app/comm/issue/ENG-7575/introduce-uploadfarcasterchannelblob-function and https://linear.app/comm/issue/ENG-7581/introduce-getfarcasterchannelblob-function

Test Plan

In my local stack I was able to use createOrUpdateFarcasterChannelTag to upload the farcaster channel => comm community blob and got the expected response back.

I also confirmed that when I tried to reuse the same farcaster channel tag I would trigger the already_in_use error which is expected

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ginsu edited the test plan for this revision. (Show Details)
ginsu added reviewers: bartek, atul, tomek.
ginsu edited the summary of this revision. (Show Details)
This revision is now accepted and ready to land.Thu, Apr 25, 6:54 AM
ginsu edited the summary of this revision. (Show Details)

rebase before landing

This revision was landed with ongoing or failed builds.Thu, Apr 25, 1:31 PM
This revision was automatically updated to reflect the committed changes.