Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inconsistent deactivated repo behavior between com.atproto.repo.* methods #2617

Open
elfprince13 opened this issue Jul 1, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@elfprince13
Copy link

Describe the bug

Currently, accessing a deactivated repo through describeRepo returns a RepoDeactivated with message Repo has been deactivated, accessing it through listRecords returns an InvalidRequest with message Could not find repo, and perhaps most notably accessing it through getRecord returns valid post data if you know a valid rkey (for example from traversing old threads).

To Reproduce

Find a thread with a reply from a deactivated account and access the rkey of that post.

Expected behavior

Given the same DID, all three methods should presumably either succeed or fail with the same error message.

Details

Poking about the API with HTTP GET requests.

Additional context

Not going to post relevant URLs publicly but feel free to message me privately if you want an example.

@elfprince13 elfprince13 added the bug Something isn't working label Jul 1, 2024
@bnewbold
Copy link
Collaborator

bnewbold commented Jul 2, 2024

@elfprince13 the getRecord behavior should be fixed by #2620, which has been rolled out in production. Can you confirm it fixes that aspect of the problem for you?

We can keep this issue open to track the listRecords part, I think we might need to add some error types to the response Lexicon for that one.

@elfprince13
Copy link
Author

elfprince13 commented Jul 6, 2024

@bnewbold - the querying that was returning a post before is now returning "repo not found" which isn't quite consistent, but it is at least keeping deactivated posts contained. =)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants