This is an automated email from the ASF dual-hosted git repository. juergbi pushed a commit to branch jbilleter/sandbox-config in repository https://gitbox.apache.org/repos/asf/buildstream.git
commit 67abb7a592982f254c7bb6ea97716aa555ea449b Author: Jürg Billeter <[email protected]> AuthorDate: Fri Aug 29 17:12:43 2025 +0200 sandbox/_config.py: Fix artifact metadata for `remote-apis-socket` `new_from_node()` and `to_dict()` must be compatible for artifact loading to work. --- src/buildstream/sandbox/_config.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/buildstream/sandbox/_config.py b/src/buildstream/sandbox/_config.py index c25bf27d0..cf50e04c8 100644 --- a/src/buildstream/sandbox/_config.py +++ b/src/buildstream/sandbox/_config.py @@ -98,9 +98,10 @@ class SandboxConfig: sandbox_dict["build-gid"] = self.build_gid if self.remote_apis_socket_path is not None: - sandbox_dict["remote-apis-socket-path"] = self.remote_apis_socket_path + reapi_socket_dict = {"path": self.remote_apis_socket_path} if self.remote_apis_socket_action_cache_enable_update: - sandbox_dict["remote-apis-socket-action-cache-enable-update"] = True + reapi_socket_dict["action-cache-enable-update"] = True + sandbox_dict["remote-apis-socket"] = reapi_socket_dict return sandbox_dict
