No description
Find a file
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
.cargo feat(mvp-system): working mvp-chat over edge transport 2026-07-22 11:50:53 +04:00
apps/mvp-node feat: working 7B inferenced over 4 pipeline stages 2026-07-27 10:47:17 +04:00
crates refactor: fold driver pumps into iroh-driver and codecs into transport 2026-07-30 12:18:02 +04:00
src feat: working two stage pipeline parallel over vastai 2026-07-24 12:59:32 +04:00
tests feat: actor direct control via runtime admin 2026-07-08 19:23:03 +04:00
tools/vastai fix: faster provisioning, better ssh checks 2026-07-27 12:30:49 +04:00
xtask refactor: actorization polish and stability 2026-07-29 12:14:52 +04:00
.dockerignore refactor: retire old pipeline-parallel app, restructure mvp-system 2026-07-07 14:40:02 +04:00
.gitignore refactor: fold driver pumps into iroh-driver and codecs into transport 2026-07-30 12:18:02 +04:00
Cargo.lock refactor: data movement handled by an independant crate 2026-07-28 21:30:56 +04:00
Cargo.toml refactor(mvp-system): establish module boundaries 2026-07-28 11:29:31 +04:00
README.md feat: add mvp provisioning subsystem and datastream transport 2026-06-25 16:30:18 +04:00

swactor

Minimal actor runtime for Rust. One trait, one message type. Single-threaded (tick()) or multi-threaded (run()).

Description

Core runtime is src/. Actors implement ActorInterface (in actor.rs), interact through Ctx (in runtime.rs), and run on worker threads (worker.rs).

crates/ builds upward: std adds OTP patterns (supervision, monitoring, groups), distribution adds clustering, everything else composes from there.

Dev commands

cargo xtask --help for the basic test command.

Testing

cargo check --workspace
cargo xtask test