Page MenuHomePhabricator

[keyserver] introduce barebones createOrUpdateFarcasterChannelTag
ClosedPublic

Authored by ginsu on Apr 24 2024, 11:12 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Nov 6, 9:06 PM
Unknown Object (File)
Sun, Nov 3, 5:47 AM
Unknown Object (File)
Sat, Nov 2, 2:48 PM
Unknown Object (File)
Oct 15 2024, 5:23 PM
Unknown Object (File)
Oct 15 2024, 1:52 AM
Unknown Object (File)
Oct 12 2024, 5:35 PM
Unknown Object (File)
Oct 12 2024, 5:35 PM
Unknown Object (File)
Oct 12 2024, 5:35 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.Apr 25 2024, 6:54 AM
ginsu edited the summary of this revision. (Show Details)

rebase before landing

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