diff --git a/control-plane/src/kar_overlay.rs b/control-plane/src/kar_overlay.rs index 416ef179..fb4b6803 100644 --- a/control-plane/src/kar_overlay.rs +++ b/control-plane/src/kar_overlay.rs @@ -180,8 +180,8 @@ pub struct Summary { pub provenance_path: PathBuf, } -mod sidecar_and_tensor_locations; -use sidecar_and_tensor_locations::*; +mod overlay_source_reading; +use overlay_source_reading::*; mod base_provenance; use base_provenance::*; mod verified_source_resolution; diff --git a/control-plane/src/kar_overlay/sidecar_and_tensor_locations.rs b/control-plane/src/kar_overlay/overlay_source_reading.rs similarity index 100% rename from control-plane/src/kar_overlay/sidecar_and_tensor_locations.rs rename to control-plane/src/kar_overlay/overlay_source_reading.rs diff --git a/control-plane/src/prepare_preview.rs b/control-plane/src/prepare_preview.rs index 462c2f58..ad07213c 100644 --- a/control-plane/src/prepare_preview.rs +++ b/control-plane/src/prepare_preview.rs @@ -100,8 +100,8 @@ pub use tensor_encoding::*; mod derived_verification; #[allow(unused_imports)] pub use derived_verification::*; -mod staging_and_raw_tensor_reads; -use staging_and_raw_tensor_reads::*; +mod preview_tensor_io; +use preview_tensor_io::*; mod sharded_encode; use sharded_encode::*; mod streamed_encode; diff --git a/control-plane/src/prepare_preview/staging_and_raw_tensor_reads.rs b/control-plane/src/prepare_preview/preview_tensor_io.rs similarity index 100% rename from control-plane/src/prepare_preview/staging_and_raw_tensor_reads.rs rename to control-plane/src/prepare_preview/preview_tensor_io.rs diff --git a/crates/deploy/src/reconfigure.rs b/crates/deploy/src/reconfigure.rs index 74e12aca..e0b43c2a 100644 --- a/crates/deploy/src/reconfigure.rs +++ b/crates/deploy/src/reconfigure.rs @@ -102,9 +102,9 @@ pub struct Planned { #[cfg(test)] mod tests; -mod plan_and_persist; +mod reconfigure_commit; mod settings; -pub use plan_and_persist::{ +pub use reconfigure_commit::{ new_request_id, persist, persist_offline, plan, read_outcome, record_settings, take_request, write_outcome, write_request, }; diff --git a/crates/deploy/src/reconfigure/plan_and_persist.rs b/crates/deploy/src/reconfigure/reconfigure_commit.rs similarity index 100% rename from crates/deploy/src/reconfigure/plan_and_persist.rs rename to crates/deploy/src/reconfigure/reconfigure_commit.rs diff --git a/crates/deploy/src/steps.rs b/crates/deploy/src/steps.rs index ce2aafe6..521f60ef 100644 --- a/crates/deploy/src/steps.rs +++ b/crates/deploy/src/steps.rs @@ -60,9 +60,9 @@ mod tests; mod downloads; mod model_assets; mod preparation; -mod probes_and_tools; +mod host_actions; mod service_unit; -mod stamps_and_state; +mod state_records; pub use downloads::{ init_api_key, install_cublas, provision_expert_profile, write_secrets_and_env, }; @@ -72,7 +72,7 @@ pub use model_assets::{ ensure_kar, extract_tokenizer, fetch_and_verify_model, import_mtp_pack, write_configs, }; pub use preparation::{config_of, prepare, replan}; -pub use probes_and_tools::{ +pub use host_actions::{ fetch_status, fetch_status_with_key, install_binaries, make_dirs, probe_ready_at, probe_ready_with_key, run_tool, unit_text, }; @@ -80,11 +80,11 @@ use service_unit::kar_runs_tool; #[cfg(unix)] pub use service_unit::{chown_tree, ensure_service_user, hand_over_to_service_user}; pub use service_unit::{install_unit, start_unit, wait_ready}; -pub use stamps_and_state::{ +pub use state_records::{ binaries_state, cublas_lib_dirs, desired_ld_library_path, file_stamp, gather_fs, probe_ready, render_configs, say, sha256_file, stamp_current, stamp_path, }; -use stamps_and_state::{mtp_complete, write_stamp}; +use state_records::{mtp_complete, write_stamp}; #[cfg(test)] use downloads::download_small; diff --git a/crates/deploy/src/steps/probes_and_tools.rs b/crates/deploy/src/steps/host_actions.rs similarity index 100% rename from crates/deploy/src/steps/probes_and_tools.rs rename to crates/deploy/src/steps/host_actions.rs diff --git a/crates/deploy/src/steps/stamps_and_state.rs b/crates/deploy/src/steps/state_records.rs similarity index 100% rename from crates/deploy/src/steps/stamps_and_state.rs rename to crates/deploy/src/steps/state_records.rs diff --git a/crates/deploy/src/wsl.rs b/crates/deploy/src/wsl.rs index 33d30e2f..2053d10f 100644 --- a/crates/deploy/src/wsl.rs +++ b/crates/deploy/src/wsl.rs @@ -90,9 +90,9 @@ const FIND_LELEKA: &str = concat!( mod tests; mod bridge; -mod distros_and_paths; +mod wsl_translation; pub use bridge::{effective_wsl_memory, list_distros, parse_wslconfig, wsl_exe, wslconfig_advice}; -pub use distros_and_paths::{ +pub use wsl_translation::{ decode_console_text, is_drvfs, linux_to_unc, parse_distro_list, parse_size, pick_distro, to_wsl_path, translate_args, }; diff --git a/crates/deploy/src/wsl/distros_and_paths.rs b/crates/deploy/src/wsl/wsl_translation.rs similarity index 100% rename from crates/deploy/src/wsl/distros_and_paths.rs rename to crates/deploy/src/wsl/wsl_translation.rs