This is an automated email from the ASF dual-hosted git repository. abderrahim pushed a commit to branch abderrahim/casd-cached-failures in repository https://gitbox.apache.org/repos/asf/buildstream.git
commit 3d91c562f13994f694754a605c99b329a411d9c8 Author: Abderrahim Kitouni <[email protected]> AuthorDate: Tue Jul 14 15:48:45 2026 +0100 casdprocessmanager: pass --cache-failures=false to casd When don't want buildbox-casd to cache failed actions, as they may be due to e.g. hitting resource limits rather than genuine failures This also bumps the minimum required version of buildbox-casd to 1.3.41, which introduced this feature. Fixes https://github.com/apache/buildstream/issues/2149 --- src/buildstream/_cas/casdprocessmanager.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/buildstream/_cas/casdprocessmanager.py b/src/buildstream/_cas/casdprocessmanager.py index 5af7b2fac..1908b5c70 100644 --- a/src/buildstream/_cas/casdprocessmanager.py +++ b/src/buildstream/_cas/casdprocessmanager.py @@ -46,8 +46,8 @@ _CASD_TIMEOUT = 300 # in seconds # Minimum required version of buildbox-casd # _REQUIRED_CASD_MAJOR = 1 -_REQUIRED_CASD_MINOR = 2 -_REQUIRED_CASD_MICRO = 6 +_REQUIRED_CASD_MINOR = 3 +_REQUIRED_CASD_MICRO = 41 # CASDProcessManager @@ -92,6 +92,7 @@ class CASDProcessManager: casd_args = [self.__buildbox_casd()] casd_args.append("--bind=" + self._connection_string) casd_args.append("--log-level=" + log_level.value) + casd_args.append("--cache-failures=false") if cache_quota is not None: casd_args.append("--quota-high={}".format(int(cache_quota)))
