No description
Find a file
Zachery Aaron Shores-Chmielewski 8363be74cd feat: docker provisioning
Treat Docker as a first-class provisioning provider for the local e2e cluster and add the weight-shard fetch/validate/bind lifecycle behind it.

- docker_cluster_provisioning: model Docker as a provider adapter behind a `DockerCli` boundary (`run_container`/`inspect_ssh_endpoint`/`remove_force`) exposing only per-node ownership primitives
- local_e2e_cluster: wire Docker provisioning into the e2e driver (default `swactor-mvp-local-e2e-cluster` image) across the bootstrap/teardown flow
- weight_shards: add `ModelArtifactRef` (parses `hf://repo@rev/path`), `ShardAssignment`, `ShardManifest`, and `ValidatedShard` with digest-based validation
- shard_fetch: add `ShardLocator` (digest/split/stage -> uri + cache key), `ShardCache`/`ShardFetcher` traits, a `ShardFetchCoordinator`, and typed `FetchError`s
- shard_weight_lifecycle: add the `ShardWeightLifecycle` state machine (Idle->Assigned->Located->Fetching->Fetched->Validating->Binding->Ready/Faulted) with a `WorkerShardBinder` trait
- provisioner/telemetry: route provision logs onto the datastream via per-node/stream channels (`submit_bytes`) and add shard_fetch/shard_weight_lifecycle/weight_shards guarantee tests

Signed-off-by: Zachery Aaron Shores-Chmielewski <zacheryasc@gmail.com>
2026-06-28 22:54:02 +04:00
.cargo feat: content addressed datastore (#41) 2026-02-15 17:03:31 +00:00
.deploy refactor(dashboard): rebuild around swactor worker view 2026-06-25 11:29:16 +04:00
apps/old-pipeline-parallel-inference feat: add mvp provisioning subsystem and datastream transport 2026-06-25 16:30:18 +04:00
crates feat: docker provisioning 2026-06-28 22:54:02 +04:00
src refactor(dashboard): rebuild around swactor worker view 2026-06-25 11:29:16 +04:00
tests refactor(dashboard): rebuild around swactor worker view 2026-06-25 11:29:16 +04:00
tools/vastai refactor: extract iroh-driver crate, drop node example 2026-06-24 00:10:41 +04:00
xtask feat: add mvp provisioning subsystem and datastream transport 2026-06-25 16:30:18 +04:00
.dockerignore refactor: extract iroh-driver crate, drop node example 2026-06-24 00:10:41 +04:00
.gitignore refactor: drop datastore crate, stale specs, and benches 2026-06-23 19:42:28 +04:00
Cargo.lock feat: add mvp provisioning subsystem and datastream transport 2026-06-25 16:30:18 +04:00
Cargo.toml feat: add mvp provisioning subsystem and datastream transport 2026-06-25 16:30:18 +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