File tree Expand file tree Collapse file tree
crates/openshell-server/src/compute Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8989 chown openshell-test: "/run/user/$(id -u openshell-test)"
9090 chmod 700 "/run/user/$(id -u openshell-test)"
9191 chown -R openshell-test: .
92- mkdir -p /home/openshell-test/.cache/mise /home/openshell-test/.local/state/mise
93- chown -R openshell-test: /home/openshell-test/.cache /home/openshell-test/.local
92+ mkdir -p /home/openshell-test/.cache/mise /home/openshell-test/.cargo /home/openshell-test/. local/state/mise
93+ chown -R openshell-test: /home/openshell-test/.cache /home/openshell-test/.cargo /home/openshell-test/. local
9494 install -m 0755 "$(command -v mise)" /usr/local/bin/mise
9595 chmod a+x /root /root/.local /root/.local/bin
9696 for dir in /root/.cargo /root/.rustup /root/.local/share/mise /opt/mise; do
@@ -112,7 +112,7 @@ jobs:
112112 XDG_RUNTIME_DIR="/run/user/${TESTUID}" \
113113 HOME="/home/openshell-test" \
114114 PATH="/usr/local/bin:/root/.cargo/bin:/opt/mise/shims:/root/.local/bin:${PATH}" \
115- CARGO_HOME="/root /.cargo" \
115+ CARGO_HOME="/home/openshell-test /.cargo" \
116116 RUSTUP_HOME="/root/.rustup" \
117117 MISE_DATA_DIR="/opt/mise" \
118118 MISE_CACHE_DIR="/home/openshell-test/.cache/mise" \
Original file line number Diff line number Diff line change @@ -507,6 +507,8 @@ impl ComputeRuntime {
507507 }
508508
509509 pub async fn delete_sandbox ( & self , name : & str ) -> Result < bool , Status > {
510+ let _guard = self . sync_lock . lock ( ) . await ;
511+
510512 // Resolve sandbox ID from name
511513 let sandbox = self
512514 . store
You can’t perform that action at this time.
0 commit comments