Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,20 @@ and listed with their assets on the

### Added

- **The share switch is back, and makes this machine a node** (ADR-0113,
#171). On, the hub runs a node agent for the pool (sidebar, **Pool → This
machine**): on Linux inside the hub, on Windows in a WSL2 distribution you
name, with Docker Engine of its own and mirrored networking, so a Windows
machine (and its NVIDIA GPU) can run other members' lanes. The machine
stays one member of the pool. The hub checks the distribution and shows
what is missing with the command for it, and a setup prompt for a coding
agent; it changes nothing there itself. Off while others' lanes run, the
agent takes no new lanes and ends with the last. An admin still grants the
machine as a node. Not on macOS yet.
- **`devstack node agent --no-new-lanes` and `--membership <dir>`**: an
agent that takes no new lanes (its report says it shares nothing), and
one that serves a membership from another folder.

- **A lane on a node gets the GPUs it asked for, and no other lane does**
(ADR-0112). A lane with `[lanes.need] gpus` holds that many of the node's
free GPUs for as long as its lease lives; its container gets exactly
Expand Down
6 changes: 6 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,12 @@ browsers as well.
- Your machine reports to the coordinator what it has (CPU, memory, GPUs,
load) and which devstack it runs; a node reports what it offers and its
lanes.
- **The share switch** (off by default) makes your machine a node: the hub
runs a node agent, and once an admin granted the machine, other members'
lanes run on it, with the limits of a node (ADR-0033). On Windows the
agent runs as root in the WSL distribution you name, with a copy of the
machine's pool membership (its private key included) in
`/var/lib/devstack-node/<pool>` there, readable by root only.
- **Telemetry** to the pool's collector only with your consent, per pool,
off by default (`devstack join --telemetry`, `devstack pool telemetry
on|off`, the pool area): devstack's diagnostic log, cut to first lines as
Expand Down
3 changes: 2 additions & 1 deletion crates/devstack-hub/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ mod lastcommit;
pub mod mcp;
mod mcpclient;
pub mod mcpscope;
mod nodehost;
mod notice;
mod notify;
mod open;
Expand Down Expand Up @@ -691,7 +692,7 @@ fn router(state: AppState) -> axum::Router {
axum::routing::put(publiclinks::put).delete(publiclinks::delete),
)
.route("/hub/pool", get(pool::overview))
.route("/hub/pool/share", get(share::get))
.route("/hub/pool/share", get(share::get).put(share::put))
.route("/hub/pool/shared", get(shared::list))
.route("/hub/pool/shared/{lease}/open", post(shared::open))
.route("/hub/pool/shared/{lease}/connect", post(shared::connect))
Expand Down
Loading
Loading