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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bluesky: ValueError: Expected activity_id to be at:// URI; got 3k4celwmjo22p #1575
Comments
|
Did a little digging into this this morning:
|
Interesting that For our purposes, we can resolve handles to DIDs with either
Totally ok to change |
|
Interesting, thanks! I asked about it in the Bluesky devs matrix chat and got the following info:
|
|
Seems we don't actually use arroba yet in Granary! Am I ok to add it as a dependency - should I have it install from Git or from Pip? |
|
Hah funny, I'm in the Discord but don't really follow the matrix chat, it tended to seem more theoretical and less hands on...which fits the answer here. That answer may technically be true, but doesn't really matter since federation isn't on in prod yet, so there's only one PDS, which has every post and thread. Not to mention the AppView, which is expected to have most/all posts, even after federation, has the same problem. Both are pretty clearly requiring DID-based |
Hmm. On second thought, |
|
Could it resolve in the original post discovery? I fear we might still end up doing it in |
|
Looks like it's not actually used anywhere yet. I'll see if I can make the change :) |
|
Hmm yeah. And So this specific issue is unrelated to original post discovery, but in both cases, we primarily care about normalizing URLs for the user's own posts. We already have the user's handle and DID, so how about we start small: in original post discovery and the discover task, we look for the user's handle specifically, and if it's in the URL, convert that to DID. Otherwise, we do nothing. I'm down to try to do more unified global conversion of bsky.app URL => |
|
(Also fwiw Bridgy Fed uses |
|
Sounds good - should I do that in |
|
Or |
|
Wait I reread your previous comments, never mind, will need to add a new source method! |
|
Just thinking, is this something where the "right" thing to do is actually to implement |
|
Yeah I've been thinking about that! The problem is bsky.app vs |
|
This is one of those things where it's easy to do but hard to do right. I'll put something together now though we may want to revisit this as you say! |
|
Confirmed fixed! Thanks again @JoelOtter! |
First Bluesky bug! Congrats and condolences @JoelOtter 馃槑. Looks like the discover function, ie the "Resend for post" form on the user page, is unhappy. Caught by our crash reporter; I've added you to the Google Cloud project, you should be able to see it at https://console.cloud.google.com/errors/detail/CKDu3sTr_biL4AE;time=P30D?project=brid-gy if you log in with your Google account.
Stack trace:
Full logs from one request:
The text was updated successfully, but these errors were encountered: