You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by ak...@apache.org on 2025/08/22 07:04:47 UTC

(buildstream) branch abderrahim/action-cache-update created (now 5fe8783a0)

This is an automated email from the ASF dual-hosted git repository.

akitouni pushed a change to branch abderrahim/action-cache-update
in repository https://gitbox.apache.org/repos/asf/buildstream.git


      at 5fe8783a0 Fix check to enable action cache updates

This branch includes the following new commits:

     new 5fe8783a0 Fix check to enable action cache updates

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(buildstream) 01/01: Fix check to enable action cache updates

Posted by ak...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

akitouni pushed a commit to branch abderrahim/action-cache-update
in repository https://gitbox.apache.org/repos/asf/buildstream.git

commit 5fe8783a005e8bbcb3f4a78935a52de006c6164b
Author: Abderrahim Kitouni <ak...@gnome.org>
AuthorDate: Fri Aug 22 08:04:13 2025 +0100

    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: