This is an automated email from the ASF dual-hosted git repository. akitouni pushed a commit to branch abderrahim/nested-reapi in repository https://gitbox.apache.org/repos/asf/buildstream.git
commit 3965a4d3f943fbeb141ec7a897b7f91f82cea538 Author: Abderrahim Kitouni <[email protected]> AuthorDate: Fri Aug 22 08:04:13 2025 +0100 _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 @@ class SandboxBuildBoxRun(SandboxREAPI): 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:
