Skip to content

Migrate Linux file clients to the broker - #1361

Open
Weidong Cui (wdcui) wants to merge 2 commits into
uliteboxfrom
wdcui/ulitebox/broker-files-08-linux-clients
Open

Migrate Linux file clients to the broker#1361
Weidong Cui (wdcui) wants to merge 2 commits into
uliteboxfrom
wdcui/ulitebox/broker-files-08-linux-clients

Conversation

@wdcui

Copy link
Copy Markdown
Member

This PR routes Linux shim file, mmap, pipe, loader, and process operations through broker-backed LiteBox APIs, requires hosted Linux runners to use the broker-owned filesystem with pre-rewritten guests, updates runner tests and benchmark tooling, and explicitly disables SNP filesystem startup until a kernel broker platform exists.

@wdcui
Weidong Cui (wdcui) force-pushed the wdcui/ulitebox/broker-files-07-linux-abi branch from 3e09961 to 8192c12 Compare September 13, 2026 00:54
@wdcui
Weidong Cui (wdcui) force-pushed the wdcui/ulitebox/broker-files-08-linux-clients branch from 1919391 to b854498 Compare September 13, 2026 00:54
@wdcui
Weidong Cui (wdcui) force-pushed the wdcui/ulitebox/broker-files-07-linux-abi branch from 8192c12 to 16c4179 Compare September 13, 2026 12:23
Base automatically changed from wdcui/ulitebox/broker-files-07-linux-abi to ulitebox September 13, 2026 12:58
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 239ec5f7-870a-4259-bcae-4ca85fb913a0
@wdcui
Weidong Cui (wdcui) force-pushed the wdcui/ulitebox/broker-files-08-linux-clients branch from b854498 to da3c539 Compare September 13, 2026 13:05
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 239ec5f7-870a-4259-bcae-4ca85fb913a0
@github-actions

Copy link
Copy Markdown

🤖 SemverChecks 🤖 ⚠️ Potential breaking API changes detected ⚠️

Click for details
--- failure struct_pub_field_missing: pub struct's pub field removed or renamed ---

Description:
A publicly-visible struct has at least one public field that is no longer available under its prior name. It may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.50.0/src/lints/struct_pub_field_missing.ron

Failed in:
  field insert_files of struct CliArgs, previously in file /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/4d0051ddf624b97c8619b59419e04cb5f3c0f77b/litebox_runner_linux_userland/src/lib.rs:55
  field initial_files of struct CliArgs, previously in file /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/4d0051ddf624b97c8619b59419e04cb5f3c0f77b/litebox_runner_linux_userland/src/lib.rs:59
  field rewrite_syscalls of struct CliArgs, previously in file /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/4d0051ddf624b97c8619b59419e04cb5f3c0f77b/litebox_runner_linux_userland/src/lib.rs:69
  field program_from_tar of struct CliArgs, previously in file /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/4d0051ddf624b97c8619b59419e04cb5f3c0f77b/litebox_runner_linux_userland/src/lib.rs:81

--- failure inherent_method_missing: pub method removed or renamed ---

Description:
A publicly-visible method or associated fn is no longer available under its prior name. It may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.50.0/src/lints/inherent_method_missing.ron

Failed in:
  LinuxShimBuilder::default_fs, previously in file /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/4d0051ddf624b97c8619b59419e04cb5f3c0f77b/litebox_shim_linux/src/lib.rs:236
  LinuxShim::tcp_connection, previously in file /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/4d0051ddf624b97c8619b59419e04cb5f3c0f77b/litebox_shim_linux/src/lib.rs:345

--- failure method_parameter_count_changed: pub method parameter count changed ---

Description:
A publicly-visible method now takes a different number of parameters, not counting the receiver (self) parameter.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#fn-change-arity
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.50.0/src/lints/method_parameter_count_changed.ron

Failed in:
  litebox_shim_linux::LinuxShim::load_program takes 5 parameters in /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/4d0051ddf624b97c8619b59419e04cb5f3c0f77b/litebox_shim_linux/src/lib.rs:273, but now takes 4 parameters in /home/runner/work/litebox/litebox/litebox_shim_linux/src/lib.rs:253

--- failure module_missing: pub module removed or renamed ---

Description:
A publicly-visible module cannot be imported by its prior path. A `pub use` may have been removed, or the module may have been renamed, removed, or made non-public.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.50.0/src/lints/module_missing.ron

Failed in:
  mod litebox_shim_linux::transport, previously in file /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/4d0051ddf624b97c8619b59419e04cb5f3c0f77b/litebox_shim_linux/src/transport.rs:4

--- failure struct_missing: pub struct removed or renamed ---

Description:
A publicly-visible struct cannot be imported by its prior path. A `pub use` may have been removed, or the struct itself may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.50.0/src/lints/struct_missing.ron

Failed in:
  struct litebox_shim_linux::transport::ShimTransport, previously in file /home/runner/work/litebox/litebox/target/semver-checks/git-ulitebox/4d0051ddf624b97c8619b59419e04cb5f3c0f77b/litebox_shim_linux/src/transport.rs:55

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