Skip to content

fix(developer-rust): size the build slice by where Rust builds run - #133

Merged
catinspace-au merged 1 commit into
mainfrom
fix/rust-build-role
Nov 16, 2026
Merged

catinspace-au merged 1 commit into
mainfrom
fix/rust-build-role

Conversation

@catinspace-au

Copy link
Copy Markdown
Contributor

A host sending Rust builds elsewhere reserved a third of its RAM for local builds that never ran. agents.slice gets what is left. On a 30 GiB host, Claude sessions shared 11 GiB. Subagents could not start.

  • rust_build_role (auto, local, client, target) sets the build slice. In auto, this host is a client if hyperi-ai config get remote.host names a host.
  • A client gets a fixed 4 GiB build slice for rust-analyzer. agents.slice gets the rest. A target gets 50 and 60 percent of RAM. local keeps 27 and 33 percent.
  • The hyperi-build-slice command (show, raise , reset) changes the memory split live. raise takes memory from agents.slice and gives it to builds.
  • raise rejects a split that leaves sessions less than their memory use plus 1 GiB.

On a 30 GiB client the build slice goes from 10 GiB to 4 GiB and agents.slice from 11.3 GiB to 17.3 GiB.

A host sending Rust builds elsewhere reserved a third of its RAM for local builds that never ran. agents.slice gets what is left. On a 30 GiB host, Claude sessions shared 11 GiB. Subagents could not start.

- rust_build_role (auto, local, client, target) sets the build slice. In auto, this host is a client if `hyperi-ai config get remote.host` names a host.
- A client gets a fixed 4 GiB build slice for rust-analyzer. agents.slice gets the rest. A target gets 50 and 60 percent of RAM. local keeps 27 and 33 percent.
- The hyperi-build-slice command (show, raise <size>, reset) changes the memory split live. raise takes memory from agents.slice and gives it to builds.
- raise rejects a split that leaves sessions less than their memory use plus 1 GiB.

On a 30 GiB client the build slice goes from 10 GiB to 4 GiB and agents.slice from 11.3 GiB to 17.3 GiB.
@catinspace-au
catinspace-au merged commit 87bb368 into main Nov 16, 2026
18 checks passed
@catinspace-au
catinspace-au deleted the fix/rust-build-role branch November 16, 2026 00:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant