radicle-heartwood-lfs/crates/radicle-node/src
Lorenz Leutgeb 80c1bba76f
radicle: Prevent `RAD_SOCKET` from polluting tests
The value of `RAD_SOCKET` influences the outcome of `cargo test`.

Users that set this environment variable to, e.g. point `rad` at
a socket at a custom location, were surprised that execution of
tests would interact with their node.

Split `Home::socket` into two functions. `Home::socket_default` is
"pure" and only dependent on the path represented by `Home`. On the
other hand, `Home::socket_from_env` interprets the environment.

Most users will want to use `Home::socket_from_env`.
2026-04-09 17:53:49 +02:00
..
reactor rust/edition/fmt: 2021 → 2024 2026-03-30 16:57:51 +02:00
runtime radicle: Prevent `RAD_SOCKET` from polluting tests 2026-04-09 17:53:49 +02:00
test radicle: Prevent `RAD_SOCKET` from polluting tests 2026-04-09 17:53:49 +02:00
tests radicle: Refactor COB Storage Access 2026-03-31 17:57:14 +01:00
worker radicle/crefs: Refactor `GetCanonicalRefs` 2026-04-08 11:13:28 +01:00
control.rs rust/edition/fmt: 2021 → 2024 2026-03-30 16:57:51 +02:00
fingerprint.rs chore: Fix spelling errors with codespell 2025-11-01 12:11:02 +01:00
lib.rs radicle: Add Version to User Agent 2026-04-02 16:26:46 +01:00
main.rs radicle: Prevent `RAD_SOCKET` from polluting tests 2026-04-09 17:53:49 +02:00
reactor.rs rust/edition/fmt: 2021 → 2024 2026-03-30 16:57:51 +02:00
runtime.rs radicle: Prevent `RAD_SOCKET` from polluting tests 2026-04-09 17:53:49 +02:00
test.rs node, protocol: Refactor 2025-07-16 21:15:52 +02:00
tests.rs radicle: Refactor COB Storage Access 2026-03-31 17:57:14 +01:00
wire.rs node: Explicit default for `AddressConfig` 2026-03-31 16:24:22 +02:00
worker.rs rust/edition/fmt: 2021 → 2024 2026-03-30 16:57:51 +02:00