swactor/crates/distribution/src
Zachery Aaron Shores-Chmielewski c257dde02f refactor: fold driver pumps into iroh-driver and codecs into transport
Consolidate the duplicated JSON codec into `transport` and relocate the iroh edge-transport pieces into `iroh-driver`, dissolving the `mvp-system` transport shim.

- `transport`: add a canonical `json_codec::JsonCodec<M>` (re-exported from the crate root) as the single JSON codec for serde message types
- `distribution`/`datastream`: drop the per-crate `JsonCodec` copies and the `impl_json_codec!` macro; register SWIM/gossip and publisher messages against the shared `swactor_transport::JsonCodec`
- `iroh-driver`: move `driver_pumps` and `endpoint_advertisement` out of `mvp-system/src/transport/`, re-exporting `EndpointAddrMask`/`advertised_endpoint`/`MVP_IROH_ENDPOINT_ADDR_MASK_ENV`, and relocate the endpoint guarantee test to `iroh-driver/tests/endpoint_advertisement.rs`
- `mvp-system`: delete the `transport/` module and keep codec aggregation in a new `codecs.rs` (`register_mvp_actor_codecs`)
- `mvp-system/node`: shrink `worker_node_runtime.rs` (~260 lines) by adopting the relocated modules and collapsing verbose `emit_stdio_node_event` calls into local `boot()`/`worker_evt()` closures

Signed-off-by: Zachery Aaron Shores-Chmielewski <zacheryasc@gmail.com>
2026-07-30 12:18:02 +04:00
..
swim feat: add swim probe telemetry, vastai planning cache 2026-07-26 00:05:44 +04:00
cache.rs refactor: drop datastore crate, stale specs, and benches 2026-06-23 19:42:28 +04:00
crypto.rs refactor: drop datastore crate, stale specs, and benches 2026-06-23 19:42:28 +04:00
directory_actor.rs feat: rework datastream into catalog events, add gguf metadata 2026-07-12 10:14:34 +04:00
lib.rs refactor: extract iroh-driver crate, drop node example 2026-06-24 00:10:41 +04:00
messages.rs refactor: fold driver pumps into iroh-driver and codecs into transport 2026-07-30 12:18:02 +04:00
node.rs refactor: extract iroh-driver crate, drop node example 2026-06-24 00:10:41 +04:00
node_metadata.rs refactor: drop datastore crate, stale specs, and benches 2026-06-23 19:42:28 +04:00
node_metadata_actor.rs refactor: extract iroh-driver crate, drop node example 2026-06-24 00:10:41 +04:00
peer_auth.rs refactor: drop datastore crate, stale specs, and benches 2026-06-23 19:42:28 +04:00
registry.rs refactor(dashboard): rebuild around swactor worker view 2026-06-25 11:29:16 +04:00
registry_actor.rs refactor: drop datastore crate, stale specs, and benches 2026-06-23 19:42:28 +04:00
snapshot.rs refactor(dashboard): rebuild around swactor worker view 2026-06-25 11:29:16 +04:00
telemetry.rs feat: add swim probe telemetry, vastai planning cache 2026-07-26 00:05:44 +04:00
transport_bridge.rs feat: rework datastream into catalog events, add gguf metadata 2026-07-12 10:14:34 +04:00
types.rs refactor: drop datastore crate, stale specs, and benches 2026-06-23 19:42:28 +04:00