From 2e050686478aee0e44b9ceacf74a326772f2735f Mon Sep 17 00:00:00 2001 From: Novice Date: Tue, 17 Mar 2026 16:50:55 +0800 Subject: [PATCH] fix: update NoopSandboxStorage to return True for mount and unmount methods --- api/core/sandbox/storage/noop_storage.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/core/sandbox/storage/noop_storage.py b/api/core/sandbox/storage/noop_storage.py index d67cade98b..d4f39ea9a7 100644 --- a/api/core/sandbox/storage/noop_storage.py +++ b/api/core/sandbox/storage/noop_storage.py @@ -6,10 +6,10 @@ class NoopSandboxStorage(SandboxStorage): """A no-op storage implementation that does nothing on mount/unmount.""" def mount(self, sandbox: VirtualEnvironment) -> bool: - return False + return True def unmount(self, sandbox: VirtualEnvironment) -> bool: - return False + return True def exists(self) -> bool: return False