radicle-heartwood-lfs/radicle
Alexis Sellier 5828b917f9
node: Fail fast when repository can't be read
It's not a good idea to have fallible operations run after `FetchOk`
is received, since there's no easy way to communicate the error
to the remote at that point. What would then happen is that the fetch
just "hangs", since nothing is there to cancel it.

Hence, we compute namespaces earlier in the process, and store the
namespaces in the session. If there is a failure, the fetch is
never initiated.
2023-03-15 16:22:43 +01:00
..
src node: Fail fast when repository can't be read 2023-03-15 16:22:43 +01:00
Cargo.toml node: Move `routing` to `radicle` crate 2023-03-15 12:59:49 +01:00