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
3 changes: 3 additions & 0 deletions crates/openshell-sandbox/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@

mod activity_aggregator;
mod denial_aggregator;
#[cfg_attr(not(target_os = "linux"), allow(dead_code))]
mod google_cloud_metadata;
mod mechanistic_mapper;
#[cfg_attr(not(target_os = "linux"), allow(dead_code))]
mod metadata_server;

use miette::Result;
Expand Down Expand Up @@ -65,6 +67,7 @@ use openshell_supervisor_network::opa::OpaEngine;
pub use openshell_supervisor_process::process::{ProcessHandle, ProcessStatus};
use openshell_supervisor_process::skills;
use tokio::sync::mpsc::UnboundedSender;
#[cfg(target_os = "linux")]
use tokio::time::timeout;

/// Run a command in the sandbox.
Expand Down
2 changes: 1 addition & 1 deletion crates/openshell-server/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ pub async fn run_server(

let state = Arc::new(state);

let (_shutdown_tx, shutdown_rx) = watch::channel(false);
let (shutdown_tx, shutdown_rx) = watch::channel(false);

// Resume sandboxes that were stopped during the previous gateway
// shutdown so the running compute state matches the persisted store.
Expand Down
Loading