Something went wrong. Try again.
Mirror — see github.com/blacksky-algorithms/blacksky.community
Something went wrong. Try again.
fix(community-posts): hydrate blob refs on community xrpc responses
communityXrpc returns a raw Response and callers do res.json(), which skips the lex deserializer. Posts whose record carries a blob field (external thumb, image, video, gallery) then fail AppBskyFeedPost.validateRecord in FeedTuner because BlobRef.isBlobRef returns false on plain JSON. The slice is empty and the post never renders. Wrap the JSON in jsonToLex so blob fields become BlobRef instances. Same family of bug as the Redis actor-cache one.
Author Rudy Fraser Date (Jun 30, 2026, 10:30 PM UTC) Commit
Copy SHA
Parent 6e24d196 6e24d19655210017341bc193a3bbbacf24479296