radicle-dev / radicle-upstream

Desktop client for Radicle.
Other
616 stars 51 forks source link

`View in Browser` link for a project is broken #2822

Closed sebastinez closed 2 years ago

sebastinez commented 2 years ago

I tried to view a project in the browser through the View in Browser button and it redirect me to the web client but with null as seed. e.g. https://app.radicle.network/seeds/null/rad:git:hnrkyacwc9quo148dhsng3q6743fqahrzyo3o

Bildschirmfoto 2022-04-26 um 14 17 08

Not sure where you fetch the possible seeds, but wanted to give you a heads up

rudolfs commented 2 years ago

Thanks for documenting this.

Upstream iterates over all seeds to fetch every project's data, this happens every 10 seconds or so. Since we don't store the project <-> seed mapping in the monorepo, but in the Upstream kv store, Upstream only learns about that during the first sync. So there's a short time window where that mapping isn't set.

Perhaps a workaround would be to just not show the link until we fetch the project for the first time?

sebastinez commented 2 years ago

Ok the issue here is that the project is stored on a personal seed node, and not on one of the community nodes.