From b614b9abb65b0605091a35243b0f4ebe63a29093 Mon Sep 17 00:00:00 2001 From: Abderrahim Kitouni Date: Fri, 22 Aug 2025 08:04:13 +0100 Subject: [PATCH] _sandboxbuildboxrun: Fix check to enable action cache updates The check was previously ignored if the user didn't have remote execution / action cache configured. --- src/buildstream/sandbox/_sandboxbuildboxrun.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/buildstream/sandbox/_sandboxbuildboxrun.py b/src/buildstream/sandbox/_sandboxbuildboxrun.py index e188c1ac1..c87642f6b 100644 --- a/src/buildstream/sandbox/_sandboxbuildboxrun.py +++ b/src/buildstream/sandbox/_sandboxbuildboxrun.py @@ -132,8 +132,8 @@ def _execute_action(self, action, flags): if self.re_remote: buildbox_command.append("--instance={}".format(self.re_remote.local_cas_instance_name)) - if config.remote_apis_socket_action_cache_enable_update: - buildbox_command.append("--nested-ac-enable-update") + if config.remote_apis_socket_action_cache_enable_update: + buildbox_command.append("--nested-ac-enable-update") # Do not redirect stdout/stderr if "no-logs-capture" in self._capabilities: