You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The getFollows API is returning a list of followers that do not exist on the PDS. If I add a new follow and remove it, I can see the rkey added to the app.bsky.graph.follow collection on store.sqlite/record. However, the getFollows API now returns the new follow, plus many records that were already removed from my PDS.
Last week, I removed all follows to check if the list could update, but it didn't. If I unfollow a user, it removes the record properly from store.sqlite/record and adds a new line in sequencer.sqlite/repo_seq, but the getFollows API still returns the previously removed records. It seems like the removed records are being persisted somewhere, but not in the PDS, although it is the PDS that is returning them.
Steps to Reproduce
Use the getFollows API to fetch the follows for a user:
Description
The getFollows API is returning a list of followers that do not exist on the PDS. If I add a new follow and remove it, I can see the
rkey
added to theapp.bsky.graph.follow
collection onstore.sqlite/record
. However, the getFollows API now returns the new follow, plus many records that were already removed from my PDS.Last week, I removed all follows to check if the list could update, but it didn't. If I unfollow a user, it removes the record properly from
store.sqlite/record
and adds a new line insequencer.sqlite/repo_seq
, but the getFollows API still returns the previously removed records. It seems like the removed records are being persisted somewhere, but not in the PDS, although it is the PDS that is returning them.Steps to Reproduce
curl 'https://pds.bsky.sats4.life/xrpc/app.bsky.graph.getFollows?actor=did:plc:f6beqf2stqdl34t5nr4mlodp' -H "Authorization: Bearer $JWT_AUTH" | jq '.follows'
Expected behavior
The getFollows response should contain only the actual follows.
Actual Behavior
The getFollows response is returning the actual follows, plus many other follows that are not present on the PDS.
Details
Bug Demo
https://drive.proton.me/urls/FV04R1BMDC#RNEvKfy1INtt
PS: this is a repost of this post on atproto repo issue #3256.
The text was updated successfully, but these errors were encountered: