radicle-heartwood-lfs/crates/radicle-node/src
Fintan Halpenny 1cab036c33 protocol/service: Wire up `FetcherService`
Wire up the new `FetcherService`. This reduces the `Service` fetch
methods down to:
- `fetch`
- `fetched`
- `dequeue_fetches`
- `fetch_refs_at`

This simplifies the code by off-loading the logic to the `fetcher`
family of types, rather than handling the intricacies in the `Service`
itself.

The `Service` now just performs the necessary I/O based on the
returned events from the `fetcher`.

This also removes the fetching state from the node sessions. This
follows the single responsibility, and sessions now only care about
their connectivity.

Breaking changes:
- The `Connected` state of a peer no longer contains fetching
  information, which was being returned as part of the JSON payload
  result.
- The `rad debug` information for ongoing fetches contained the number
  listeners awaiting for results, this was removed.
2026-02-05 20:04:28 +01:00
..
reactor node: downgrade `error!` logs 2026-01-19 17:59:06 +01:00
runtime protocol/service: Wire up `FetcherService` 2026-02-05 20:04:28 +01:00
test chore: Fix spelling errors with codespell 2025-11-01 12:11:02 +01:00
tests chore: Fix spelling errors with codespell 2025-11-01 12:11:02 +01:00
worker node: downgrade `error!` logs 2026-01-19 17:59:06 +01:00
control.rs node: downgrade `error!` logs 2026-01-19 17:59:06 +01:00
fingerprint.rs chore: Fix spelling errors with codespell 2025-11-01 12:11:02 +01:00
lib.rs localtime: localise the localtime dependency 2026-01-08 14:58:41 +01:00
main.rs node: downgrade `warn!` logs 2026-01-19 17:59:06 +01:00
reactor.rs node: downgrade `error!` logs 2026-01-19 17:59:06 +01:00
runtime.rs node/reactor: Correctly handle error events 2025-10-15 10:42:27 +01:00
test.rs node, protocol: Refactor 2025-07-16 21:15:52 +02:00
tests.rs protocol/service: Wire up `FetcherService` 2026-02-05 20:04:28 +01:00
wire.rs node: downgrade `error!` logs 2026-01-19 17:59:06 +01:00
worker.rs node: downgrade `warn!` logs 2026-01-19 17:59:06 +01:00