From 95787e8b25b0029e85df1e2125e08c7b61cff8f3 Mon Sep 17 00:00:00 2001 From: Sharmila Jesupaul Date: Wed, 18 Mar 2026 16:34:47 -0700 Subject: [PATCH 1/4] chore: bump bb-storage to dc342e1 Align the Go and Bazel bb-storage pins and pass the new zstd pool argument required by NewCASBlobAccessCreator. --- MODULE.bazel | 2 +- MODULE.bazel.lock | 869 +++++++++++++++++++++++++++++++- cmd/bb_remote_asset/BUILD.bazel | 1 + cmd/bb_remote_asset/main.go | 4 + go.mod | 2 +- go.sum | 2 + 6 files changed, 877 insertions(+), 3 deletions(-) diff --git a/MODULE.bazel b/MODULE.bazel index 69f0795..72fabb6 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -19,7 +19,7 @@ git_override( git_override( module_name = "com_github_buildbarn_bb_storage", - commit = "6002cad335378bbdcdda4225d47c7dc2c08a6d94", + commit = "dc342e1799d72bd927ffc0af1f429e7044118b07", patches = [ "//:patches/com_buildbarn_bb_storage/workflows.diff", ], diff --git a/MODULE.bazel.lock b/MODULE.bazel.lock index 1058034..e91aef7 100644 --- a/MODULE.bazel.lock +++ b/MODULE.bazel.lock @@ -815,5 +815,872 @@ } } }, - "facts": {} + "facts": { + "@@rules_go+//go:extensions.bzl%go_sdk": { + "1.20.2": { + "darwin_amd64": [ + "go1.20.2.darwin-amd64.tar.gz", + "c93b8ced9517d07e1cd4c362c6e2d5242cb139e29b417a328fbf19aded08764c" + ], + "darwin_arm64": [ + "go1.20.2.darwin-arm64.tar.gz", + "7343c87f19e79c0063532e82e1c4d6f42175a32d99f7a4d15e658e88bf97f885" + ], + "freebsd_386": [ + "go1.20.2.freebsd-386.tar.gz", + "14f9be2004e042b3a64d0facb0c020756a9084a5c7333e33b0752b393b6016ea" + ], + "freebsd_amd64": [ + "go1.20.2.freebsd-amd64.tar.gz", + "b41b67b4f1b56797a7cecf6ee7f47fcf4f93960b2788a3683c07dd009d30b2a4" + ], + "linux_386": [ + "go1.20.2.linux-386.tar.gz", + "ee240ed33ae57504c41f04c12236aeaa17fbeb6ea9fcd096cd9dc7a89d10d4db" + ], + "linux_amd64": [ + "go1.20.2.linux-amd64.tar.gz", + "4eaea32f59cde4dc635fbc42161031d13e1c780b87097f4b4234cfce671f1768" + ], + "linux_arm64": [ + "go1.20.2.linux-arm64.tar.gz", + "78d632915bb75e9a6356a47a42625fd1a785c83a64a643fedd8f61e31b1b3bef" + ], + "linux_armv6l": [ + "go1.20.2.linux-armv6l.tar.gz", + "d79d56bafd6b52b8d8cbe3f8e967caaac5383a23d7a4fa9ac0e89778cd16a076" + ], + "linux_ppc64le": [ + "go1.20.2.linux-ppc64le.tar.gz", + "850564ddb760cb703db63bf20182dc4407abd2ff090a95fa66d6634d172fd095" + ], + "linux_s390x": [ + "go1.20.2.linux-s390x.tar.gz", + "8da24c5c4205fe8115f594237e5db7bcb1d23df67bc1fa9a999954b1976896e8" + ], + "windows_386": [ + "go1.20.2.windows-386.zip", + "31838b291117495bbb93683603e98d5118bfabd2eb318b4d07540bfd524bab86" + ], + "windows_amd64": [ + "go1.20.2.windows-amd64.zip", + "fe439f0e438f7555a7f5f7194ddb6f4a07b0de1fa414385d19f2aeb26d9f43db" + ], + "windows_arm64": [ + "go1.20.2.windows-arm64.zip", + "ac5010c8b8b22849228a8dea698d58b9c7be2195d30c6d778cce0f709858fa64" + ] + }, + "1.22.0": { + "aix_ppc64": [ + "go1.22.0.aix-ppc64.tar.gz", + "190e105fc4133a8b5bb1492f368fa89aa4b729270441120714be7ee82e871ebc" + ], + "darwin_amd64": [ + "go1.22.0.darwin-amd64.tar.gz", + "ebca81df938d2d1047cc992be6c6c759543cf309d401b86af38a6aed3d4090f4" + ], + "darwin_arm64": [ + "go1.22.0.darwin-arm64.tar.gz", + "bf8e388b09134164717cd52d3285a4ab3b68691b80515212da0e9f56f518fb1e" + ], + "dragonfly_amd64": [ + "go1.22.0.dragonfly-amd64.tar.gz", + "357ab446200effa26c73ccaf3e8551426428950bf2490859fb296a09e53228b1" + ], + "freebsd_386": [ + "go1.22.0.freebsd-386.tar.gz", + "b8065da37783e8b9e7086365a54d74537e832c92311b61101a66989ab2458d8e" + ], + "freebsd_amd64": [ + "go1.22.0.freebsd-amd64.tar.gz", + "50f421c7f217083ac94aab1e09400cb9c2fea7d337679ec11f1638a11460da30" + ], + "freebsd_arm64": [ + "go1.22.0.freebsd-arm64.tar.gz", + "e23385e5c640787fa02cd58f2301ea09e162c4d99f8ca9fa6d52766f428a933d" + ], + "freebsd_armv6l": [ + "go1.22.0.freebsd-arm.tar.gz", + "c9c8b305f90903536f4981bad9f029828c2483b3216ca1783777344fbe603f2d" + ], + "freebsd_riscv64": [ + "go1.22.0.freebsd-riscv64.tar.gz", + "c8f94d1de6024546194d58e7b9370dc7ea06176aad94a675b0062c25c40cb645" + ], + "illumos_amd64": [ + "go1.22.0.illumos-amd64.tar.gz", + "d6792f11ad6ee5fc42d2fe51e1f1683471aa2ee4f20e3ad1be22a4afdbd38e7f" + ], + "linux_386": [ + "go1.22.0.linux-386.tar.gz", + "1e209c4abde069067ac9afb341c8003db6a210f8173c77777f02d3a524313da3" + ], + "linux_amd64": [ + "go1.22.0.linux-amd64.tar.gz", + "f6c8a87aa03b92c4b0bf3d558e28ea03006eb29db78917daec5cfb6ec1046265" + ], + "linux_arm64": [ + "go1.22.0.linux-arm64.tar.gz", + "6a63fef0e050146f275bf02a0896badfe77c11b6f05499bb647e7bd613a45a10" + ], + "linux_armv6l": [ + "go1.22.0.linux-armv6l.tar.gz", + "0525f92f79df7ed5877147bce7b955f159f3962711b69faac66bc7121d36dcc4" + ], + "linux_loong64": [ + "go1.22.0.linux-loong64.tar.gz", + "b4b1d425cc113608452a32768469b6e34e538fd072bde9f508a75c8dbbdb843f" + ], + "linux_mips": [ + "go1.22.0.linux-mips.tar.gz", + "ec0f9194df750c78492c02e4c70ffe6f3864f2511e47c894415320db752719f8" + ], + "linux_mips64": [ + "go1.22.0.linux-mips64.tar.gz", + "47e938d215e4968ab42afb7307792e5e64184a717e8f176d0de7c411af96d63d" + ], + "linux_mips64le": [ + "go1.22.0.linux-mips64le.tar.gz", + "c162a1a516b8bc8839fc0c0283ad90f6b511e5aca3da4939ed4800f124b9e72c" + ], + "linux_mipsle": [ + "go1.22.0.linux-mipsle.tar.gz", + "6ce3e9a06e3a8ca0312dc1f85046b6914c19852eba5393c5cbf26acf698f8977" + ], + "linux_ppc64": [ + "go1.22.0.linux-ppc64.tar.gz", + "5ae23bf460731eb078f5700b01a50a303308b9f7174a2994892e28bf061f7c85" + ], + "linux_ppc64le": [ + "go1.22.0.linux-ppc64le.tar.gz", + "0e57f421df9449066f00155ce98a5be93744b3d81b00ee4c2c9b511be2a31d93" + ], + "linux_riscv64": [ + "go1.22.0.linux-riscv64.tar.gz", + "afe9cedcdbd6fdff27c57efd30aa5ce0f666f471fed5fa96cd4fb38d6b577086" + ], + "linux_s390x": [ + "go1.22.0.linux-s390x.tar.gz", + "2e546a3583ba7bd3988f8f476245698f6a93dfa9fe206a8ca8f85c1ceecb2446" + ], + "netbsd_386": [ + "go1.22.0.netbsd-386.tar.gz", + "9b7e2dbd43a169bff18bf533a6c2f462eebe04126ab01c138d0d669c046e1658" + ], + "netbsd_amd64": [ + "go1.22.0.netbsd-amd64.tar.gz", + "b11995c271d2256dfe85cf54882ca3655e18c49c4d7db0502bff9977767894e7" + ], + "netbsd_arm64": [ + "go1.22.0.netbsd-arm64.tar.gz", + "499918ccfedde78264d194244d251bf41d95cf606cc0adad13b36b8103cb974f" + ], + "netbsd_armv6l": [ + "go1.22.0.netbsd-arm.tar.gz", + "b57a3aa9c862300ec0ee8609ce5e0f430f132044f351677fd34711a504081872" + ], + "openbsd_386": [ + "go1.22.0.openbsd-386.tar.gz", + "379e0829104c18a139d78b33378e6bd3ab2e0792f6c43b4c38e7f20d8d77b99d" + ], + "openbsd_amd64": [ + "go1.22.0.openbsd-amd64.tar.gz", + "ceb0c97ffc3bfaf74e1df843cb8571d7fc3173a08432f0f42112495df6a31520" + ], + "openbsd_arm64": [ + "go1.22.0.openbsd-arm64.tar.gz", + "358801cab7122ab50d7d92727644f26d818e9e973403f09e85c2e935a625db75" + ], + "openbsd_armv6l": [ + "go1.22.0.openbsd-arm.tar.gz", + "8af5aea3df539bc95ed412c0a176fe84baced70ea1dd29f4aa82d0e9ce27fd9f" + ], + "plan9_386": [ + "go1.22.0.plan9-386.tar.gz", + "fa42c545c9025c45ca9af176dc13a0f4af0cc26bacff6fcb35bb4a170ac538e8" + ], + "plan9_amd64": [ + "go1.22.0.plan9-amd64.tar.gz", + "d8cf64f37a1dfd8e190c5a303c43ab2d49324868f098d88a3106072d137a5a0b" + ], + "plan9_armv6l": [ + "go1.22.0.plan9-arm.tar.gz", + "86fd6165f0cbb47ad551094f74b3e5a6c5e09de858d8b99de72d978d41be6e2a" + ], + "solaris_amd64": [ + "go1.22.0.solaris-amd64.tar.gz", + "a6c12651768d3a74f16104502b4b7bef513ea6b646d99990a28d934c261d1689" + ], + "windows_386": [ + "go1.22.0.windows-386.zip", + "553d44928509965cbda02a45b35ab01cf8b925534bc526a34e2d9dc7794b57e8" + ], + "windows_amd64": [ + "go1.22.0.windows-amd64.zip", + "78b3158fe3aa358e0b6c9f26ecd338f9a11441e88bc434ae2e9f0ca2b0cc4dd3" + ], + "windows_arm64": [ + "go1.22.0.windows-arm64.zip", + "31a61e41d06a3bb2189a303f5f3e777ca4b454eff439f0a67bc2b166330021f4" + ], + "windows_armv6l": [ + "go1.22.0.windows-arm.zip", + "495c7dfaea4e2bf48643662bb622e4ce6378d6d9840015238ad4b8792b99ddbf" + ] + }, + "1.23.7": { + "aix_ppc64": [ + "go1.23.7.aix-ppc64.tar.gz", + "5934ade0f845e19e6ac50dd4a7cbc3f39f06cfa2d7137a4021e5113de9d66df8" + ], + "darwin_amd64": [ + "go1.23.7.darwin-amd64.tar.gz", + "3a3d6745286297cd011d2ab071998a85fe82714bf178dc3cd6ecd3d043a59270" + ], + "darwin_arm64": [ + "go1.23.7.darwin-arm64.tar.gz", + "a08a77374a4a8ab25568cddd9dad5ba7bb6d21e04c650dc2af3def6c9115ebba" + ], + "dragonfly_amd64": [ + "go1.23.7.dragonfly-amd64.tar.gz", + "30c626981363513cb925706978a3a8cb3516cdeae619ed9a67d4a3fbed0b21e8" + ], + "freebsd_386": [ + "go1.23.7.freebsd-386.tar.gz", + "4bc9c3583236b13a9f1ec22c133fe4436714d56ebc0ee96733d4f6f0eb3c7ae1" + ], + "freebsd_amd64": [ + "go1.23.7.freebsd-amd64.tar.gz", + "c0e7a5ff1875eb79d7c2acfa1616718ad892c0b2637d56594fdc3332e313efd4" + ], + "freebsd_arm": [ + "go1.23.7.freebsd-arm.tar.gz", + "311e69d052bb732bca74cb64cba2d7d648e9af7a5c5d0c5e84a11efb77d287d0" + ], + "freebsd_arm64": [ + "go1.23.7.freebsd-arm64.tar.gz", + "2b51c940898fad6708609495b9a27b5869cf5195381fc4a31a013006aa4eb156" + ], + "freebsd_riscv64": [ + "go1.23.7.freebsd-riscv64.tar.gz", + "ab00bd1b61491be2d60ff41a88b3e59d812236484eaf6232513985a1287693ba" + ], + "illumos_amd64": [ + "go1.23.7.illumos-amd64.tar.gz", + "5ca64c74aa26b7e6bb6fd8609c5526511ddba21a0ec337b63a4f0352d04952b7" + ], + "linux_386": [ + "go1.23.7.linux-386.tar.gz", + "9115f7d751efe5b17b63a7630d24cd0a2479976465eecb277b5deec8aa0f4143" + ], + "linux_amd64": [ + "go1.23.7.linux-amd64.tar.gz", + "4741525e69841f2e22f9992af25df0c1112b07501f61f741c12c6389fcb119f3" + ], + "linux_arm64": [ + "go1.23.7.linux-arm64.tar.gz", + "597acbd0505250d4d98c4c83adf201562a8c812cbcd7b341689a07087a87a541" + ], + "linux_armv6l": [ + "go1.23.7.linux-armv6l.tar.gz", + "c9e9ecd6a8cf1429f1c65d81115c450258258ac65833d95a82d5f4e5ad7d2d7a" + ], + "linux_loong64": [ + "go1.23.7.linux-loong64.tar.gz", + "b9fb0ae7116cee77e88e1e2f54cca44343a71168b944768c48188cd1957fb3f8" + ], + "linux_mips": [ + "go1.23.7.linux-mips.tar.gz", + "27404833dc64673cacdd1470d77bf4235252ca5ca7a1fb47b465ff3b98cc31df" + ], + "linux_mips64": [ + "go1.23.7.linux-mips64.tar.gz", + "fd1b628f2491b8be86791ad63e2b61b17909b6e1b3ae37ddcd27b9a5faddcd87" + ], + "linux_mips64le": [ + "go1.23.7.linux-mips64le.tar.gz", + "f1d91a01bfe537bef687e2ab11f0c67ae8948d1ab1662110edcbfd7fd1803d9c" + ], + "linux_mipsle": [ + "go1.23.7.linux-mipsle.tar.gz", + "bdcaa3fddb09b53c42a8963fcbfb52a29feeaf34bdcec7d59e54eab0d16bfb12" + ], + "linux_ppc64": [ + "go1.23.7.linux-ppc64.tar.gz", + "ce2226b5e0940116cf9c791aa912ce62b3baac8bf2aaf09a1cd1e1de33456fd3" + ], + "linux_ppc64le": [ + "go1.23.7.linux-ppc64le.tar.gz", + "3ffc310bfd11fd0bcc713a764a0f7252c4d52d03f12abebfaebaaae77e027028" + ], + "linux_riscv64": [ + "go1.23.7.linux-riscv64.tar.gz", + "6474c707a09633ebd3117eb9127de467fbc482932164f1d1b1084e3be40c36f7" + ], + "linux_s390x": [ + "go1.23.7.linux-s390x.tar.gz", + "af1d4c5d01e32c2cf6e3cc00e44cb240e1a6cef539b28a64389b2b9ca284ac6c" + ], + "netbsd_386": [ + "go1.23.7.netbsd-386.tar.gz", + "a8d2db89fc99fc2e2c01419dbc95ab9d2da139c750fee8d3f47df2bae2745fc5" + ], + "netbsd_amd64": [ + "go1.23.7.netbsd-amd64.tar.gz", + "8769b0d546f1b102827f3f129aed8650cd2aedc79c886f819cdbe3a70d09ef62" + ], + "netbsd_arm": [ + "go1.23.7.netbsd-arm.tar.gz", + "9bad2e989c71a0cf8c1940519ead4b6792595e0286f7ec0ce0474098b5df9c71" + ], + "netbsd_arm64": [ + "go1.23.7.netbsd-arm64.tar.gz", + "b9ceb39db2765b86b3dc11edcd16feebba08706a1fa9d0f16223bd0299e59a78" + ], + "openbsd_386": [ + "go1.23.7.openbsd-386.tar.gz", + "1929e4eadaad4be8139bdf8ad0f28b38dc24ee57539d7bc3a0a5fd629cf6cddc" + ], + "openbsd_amd64": [ + "go1.23.7.openbsd-amd64.tar.gz", + "d1c9e78bba09c215c83daf9040dfb0ac545d634bde1130cc11b3fe5bbec52a65" + ], + "openbsd_arm": [ + "go1.23.7.openbsd-arm.tar.gz", + "40c1b1b9b42329a0265e0b8023c1fd3515675741ed0a4ca15ee952751e24ba5b" + ], + "openbsd_arm64": [ + "go1.23.7.openbsd-arm64.tar.gz", + "61cc713416cbe81b470626915ccccd32c78da71d1fe38b8d12c46cb61794dc6c" + ], + "openbsd_ppc64": [ + "go1.23.7.openbsd-ppc64.tar.gz", + "c2b5d038c0f21fd1e6513f7877c67d7ef4532193620bc54dc4d8233d0a1ecf25" + ], + "openbsd_riscv64": [ + "go1.23.7.openbsd-riscv64.tar.gz", + "db1b1b5b6b52e753b383688c4758e1dc90f9bf4e4a9809a995783a50b9eeccb2" + ], + "plan9_386": [ + "go1.23.7.plan9-386.tar.gz", + "5b78458002528ae9f0ae4c7ffa148e6023e2cb23804c11a68e8116028d995f0c" + ], + "plan9_amd64": [ + "go1.23.7.plan9-amd64.tar.gz", + "2dba02734fc1a45c145f5d0c186d86c1f0da107b99b283be318706832b5cf46a" + ], + "plan9_arm": [ + "go1.23.7.plan9-arm.tar.gz", + "c2f22c9313c82059526b9ed24001c02ef307f8881bfd898fc3de0ef1774130eb" + ], + "solaris_amd64": [ + "go1.23.7.solaris-amd64.tar.gz", + "d9cee150073a50f2e0f813d4873413fac3c50723762ffc0f35bed6828ead9f8a" + ], + "windows_386": [ + "go1.23.7.windows-386.zip", + "c8587eaf0257d475bae5dd1d51530466a5e507dfa932d4f551acc3003e8bc1a8" + ], + "windows_amd64": [ + "go1.23.7.windows-amd64.zip", + "eba0477381037868738b47b0198d120a535eb9a8a17b2babb9ab0d5e912a2171" + ], + "windows_arm": [ + "go1.23.7.windows-arm.zip", + "a8ae7675af1bf82602b10627bc0b4063d7cacf067b28e34274c61a0cbfe38fa5" + ], + "windows_arm64": [ + "go1.23.7.windows-arm64.zip", + "e828b5c526c40f3fa6f8aea2d402c0fcbf064009f2d0d12a15bb01241255af9a" + ] + }, + "1.24.0": { + "aix_ppc64": [ + "go1.24.0.aix-ppc64.tar.gz", + "5d04588154d5923bd8e26b76111806340ec55c41af1b05623ea744fcb3d6bc22" + ], + "darwin_amd64": [ + "go1.24.0.darwin-amd64.tar.gz", + "7af054e5088b68c24b3d6e135e5ca8d91bbd5a05cb7f7f0187367b3e6e9e05ee" + ], + "darwin_arm64": [ + "go1.24.0.darwin-arm64.tar.gz", + "fd9cfb5dd6c75a347cfc641a253f0db1cebaca16b0dd37965351c6184ba595e4" + ], + "dragonfly_amd64": [ + "go1.24.0.dragonfly-amd64.tar.gz", + "d0dc34ad86aea746abe245994c68a9e1ad8f46ba8c4af901cd5861a4dd4c21df" + ], + "freebsd_386": [ + "go1.24.0.freebsd-386.tar.gz", + "4ee02b1f3812aff4da79c79464ee4038ca61ad74b3a9619850f30435f81c2536" + ], + "freebsd_amd64": [ + "go1.24.0.freebsd-amd64.tar.gz", + "838191001f9324da904dece35a586a3156d548687db87ac9461aa3d38fc88b09" + ], + "freebsd_arm": [ + "go1.24.0.freebsd-arm.tar.gz", + "ce6ad4e84a40a8a1d848b7e31b0cddfd1cee8f7959e7dc358a8fa8b5566ea718" + ], + "freebsd_arm64": [ + "go1.24.0.freebsd-arm64.tar.gz", + "511f7b0cac4c4ed1066d324072ce223b906ad6b2a85f2e1c5d260eb7d08b5901" + ], + "freebsd_riscv64": [ + "go1.24.0.freebsd-riscv64.tar.gz", + "a1e4072630dc589a2975ef51317b52c7d8599bf6f389fc59033c01e0a0fa705a" + ], + "illumos_amd64": [ + "go1.24.0.illumos-amd64.tar.gz", + "7593e9dcee9f07c3df6d099f7d259f5734a6c0dccc5f28962f18e7f501c9bb21" + ], + "linux_386": [ + "go1.24.0.linux-386.tar.gz", + "90521453a59c6ce20364d2dc7c38532949b033b602ba12d782caeb90af1b0624" + ], + "linux_amd64": [ + "go1.24.0.linux-amd64.tar.gz", + "dea9ca38a0b852a74e81c26134671af7c0fbe65d81b0dc1c5bfe22cf7d4c8858" + ], + "linux_arm64": [ + "go1.24.0.linux-arm64.tar.gz", + "c3fa6d16ffa261091a5617145553c71d21435ce547e44cc6dfb7470865527cc7" + ], + "linux_armv6l": [ + "go1.24.0.linux-armv6l.tar.gz", + "695dc54fa14cd3124fa6900d7b5ae39eeac23f7a4ecea81656070160fac2c54a" + ], + "linux_loong64": [ + "go1.24.0.linux-loong64.tar.gz", + "a201e4c9b7e6d29ed64c43296ed88e81a66f82f2093ce45b766d2c526941396f" + ], + "linux_mips": [ + "go1.24.0.linux-mips.tar.gz", + "f3ac039aae78ad0bfb08106406c2e62eaf763dd82ebaf0ecd539adadd1d729a6" + ], + "linux_mips64": [ + "go1.24.0.linux-mips64.tar.gz", + "f2e6456d45e024831b1da8d88b1bb6392cca9500c1b00841f525d76c9e9553e0" + ], + "linux_mips64le": [ + "go1.24.0.linux-mips64le.tar.gz", + "b847893ff119389c939adc2b8516b6500204b7cb49d5e19b25e1c2091d2c74c6" + ], + "linux_mipsle": [ + "go1.24.0.linux-mipsle.tar.gz", + "bd4aed27d02746c237c3921e97029ac6b6fe687a67436b8f52ff1f698d330bd9" + ], + "linux_ppc64": [ + "go1.24.0.linux-ppc64.tar.gz", + "007123c9b06c41729a4bb3f166f4df7196adf4e33c2d2ab0e7e990175f0ce1d4" + ], + "linux_ppc64le": [ + "go1.24.0.linux-ppc64le.tar.gz", + "a871a43de7d26c91dd90cb6e0adacb214c9e35ee2188c617c91c08c017efe81a" + ], + "linux_riscv64": [ + "go1.24.0.linux-riscv64.tar.gz", + "620dcf48c6297519aad6c81f8e344926dc0ab09a2a79f1e306964aece95a553d" + ], + "linux_s390x": [ + "go1.24.0.linux-s390x.tar.gz", + "544d78b077c6b54bf78958c4a8285abec2d21f668fb007261c77418cd2edbb46" + ], + "netbsd_386": [ + "go1.24.0.netbsd-386.tar.gz", + "8b143a7edefbaa2a0b0246c9df2df1bac9fbed909d8615a375c08da7744e697d" + ], + "netbsd_amd64": [ + "go1.24.0.netbsd-amd64.tar.gz", + "67150a6dd7bdb9c4e88d77f46ee8c4dc99d5e71deca4912d8c2c85f7a16d0262" + ], + "netbsd_arm": [ + "go1.24.0.netbsd-arm.tar.gz", + "446b2539f11218fd6f6f6e3dd90b20ae55a06afe129885eeb3df51eb344eb0f6" + ], + "netbsd_arm64": [ + "go1.24.0.netbsd-arm64.tar.gz", + "370115b6ff7d30b29431223de348eb11ab65e3c92627532d97fd55f63f94e7a8" + ], + "openbsd_386": [ + "go1.24.0.openbsd-386.tar.gz", + "cbda5f15f06ed9630f122a53542d9de13d149643633c74f1dcb45e79649b788a" + ], + "openbsd_amd64": [ + "go1.24.0.openbsd-amd64.tar.gz", + "926f601d0e655ab1e8d7f357fd82542e5cf206c38c4e2f9fccf0706987d38836" + ], + "openbsd_arm": [ + "go1.24.0.openbsd-arm.tar.gz", + "8a54892f8c933c541fff144a825d0fdc41bae14b0832aab703cb75eb4cb64f2c" + ], + "openbsd_arm64": [ + "go1.24.0.openbsd-arm64.tar.gz", + "ef7fddcef0a22c7900c178b7687cf5aa25c2a9d46a3cc330b77a6de6e6c2396b" + ], + "openbsd_ppc64": [ + "go1.24.0.openbsd-ppc64.tar.gz", + "b3b5e2e2b53489ded2c2c21900ddcbbdb7991632bb5b42f05f125d71675e0b76" + ], + "openbsd_riscv64": [ + "go1.24.0.openbsd-riscv64.tar.gz", + "fbcb1dbf1269b4079dc4fd0b15f3274b9d635f1a7e319c3fc1a907b03280348e" + ], + "plan9_386": [ + "go1.24.0.plan9-386.tar.gz", + "33b4221e1c174a16e3f661deab6c60838ac4ae6cb869a4da1d1115773ceed88b" + ], + "plan9_amd64": [ + "go1.24.0.plan9-amd64.tar.gz", + "111a89014019cdbd69c2978de9b3e201f77e35183c8ab3606fba339d38f28549" + ], + "plan9_arm": [ + "go1.24.0.plan9-arm.tar.gz", + "8da3d3997049f40ebe0cd336a9bb9e4bfa4832df3c90a32f07383371d6d74849" + ], + "solaris_amd64": [ + "go1.24.0.solaris-amd64.tar.gz", + "b6069da21dc95ccdbd047675b584e5480ffc3eba35f9e7c8b0e7b317aaf01e2c" + ], + "windows_386": [ + "go1.24.0.windows-386.zip", + "b53c28a4c2863ec50ab4a1dbebe818ef6177f86773b6f43475d40a5d9aa4ec9e" + ], + "windows_amd64": [ + "go1.24.0.windows-amd64.zip", + "96b7280979205813759ee6947be7e3bb497da85c482711116c00522e3bb41ff1" + ], + "windows_arm64": [ + "go1.24.0.windows-arm64.zip", + "53f73450fb66075d16be9f206e9177bd972b528168271918c4747903b5596c3d" + ] + }, + "1.25.0": { + "aix_ppc64": [ + "go1.25.0.aix-ppc64.tar.gz", + "e5234a7dac67bc86c528fe9752fc9d63557918627707a733ab4cac1a6faed2d4" + ], + "darwin_amd64": [ + "go1.25.0.darwin-amd64.tar.gz", + "5bd60e823037062c2307c71e8111809865116714d6f6b410597cf5075dfd80ef" + ], + "darwin_arm64": [ + "go1.25.0.darwin-arm64.tar.gz", + "544932844156d8172f7a28f77f2ac9c15a23046698b6243f633b0a0b00c0749c" + ], + "dragonfly_amd64": [ + "go1.25.0.dragonfly-amd64.tar.gz", + "5ed3cf9a810a1483822538674f1336c06b51aa1b94d6d545a1a0319a48177120" + ], + "freebsd_386": [ + "go1.25.0.freebsd-386.tar.gz", + "abea5d5c6697e6b5c224731f2158fe87c602996a2a233ac0c4730cd57bf8374e" + ], + "freebsd_amd64": [ + "go1.25.0.freebsd-amd64.tar.gz", + "86e6fe0a29698d7601c4442052dac48bd58d532c51cccb8f1917df648138730b" + ], + "freebsd_arm": [ + "go1.25.0.freebsd-arm.tar.gz", + "d90b78e41921f72f30e8bbc81d9dec2cff7ff384a33d8d8debb24053e4336bfe" + ], + "freebsd_arm64": [ + "go1.25.0.freebsd-arm64.tar.gz", + "451d0da1affd886bfb291b7c63a6018527b269505db21ce6e14724f22ab0662e" + ], + "freebsd_riscv64": [ + "go1.25.0.freebsd-riscv64.tar.gz", + "7b565f76bd8bda46549eeaaefe0e53b251e644c230577290c0f66b1ecdb3cdbe" + ], + "illumos_amd64": [ + "go1.25.0.illumos-amd64.tar.gz", + "b1e1fdaab1ad25aa1c08d7a36c97d45d74b98b89c3f78c6d2145f77face54a2c" + ], + "linux_386": [ + "go1.25.0.linux-386.tar.gz", + "8c602dd9d99bc9453b3995d20ce4baf382cc50855900a0ece5de9929df4a993a" + ], + "linux_amd64": [ + "go1.25.0.linux-amd64.tar.gz", + "2852af0cb20a13139b3448992e69b868e50ed0f8a1e5940ee1de9e19a123b613" + ], + "linux_arm64": [ + "go1.25.0.linux-arm64.tar.gz", + "05de75d6994a2783699815ee553bd5a9327d8b79991de36e38b66862782f54ae" + ], + "linux_armv6l": [ + "go1.25.0.linux-armv6l.tar.gz", + "a5a8f8198fcf00e1e485b8ecef9ee020778bf32a408a4e8873371bfce458cd09" + ], + "linux_loong64": [ + "go1.25.0.linux-loong64.tar.gz", + "cab86b1cf761b1cb3bac86a8877cfc92e7b036fc0d3084123d77013d61432afc" + ], + "linux_mips": [ + "go1.25.0.linux-mips.tar.gz", + "d66b6fb74c3d91b9829dc95ec10ca1f047ef5e89332152f92e136cf0e2da5be1" + ], + "linux_mips64": [ + "go1.25.0.linux-mips64.tar.gz", + "4082e4381a8661bc2a839ff94ba3daf4f6cde20f8fb771b5b3d4762dc84198a2" + ], + "linux_mips64le": [ + "go1.25.0.linux-mips64le.tar.gz", + "70002c299ec7f7175ac2ef673b1b347eecfa54ae11f34416a6053c17f855afcc" + ], + "linux_mipsle": [ + "go1.25.0.linux-mipsle.tar.gz", + "b00a3a39eff099f6df9f1c7355bf28e4589d0586f42d7d4a394efb763d145a73" + ], + "linux_ppc64": [ + "go1.25.0.linux-ppc64.tar.gz", + "df166f33bd98160662560a72ff0b4ba731f969a80f088922bddcf566a88c1ec1" + ], + "linux_ppc64le": [ + "go1.25.0.linux-ppc64le.tar.gz", + "0f18a89e7576cf2c5fa0b487a1635d9bcbf843df5f110e9982c64df52a983ad0" + ], + "linux_riscv64": [ + "go1.25.0.linux-riscv64.tar.gz", + "c018ff74a2c48d55c8ca9b07c8e24163558ffec8bea08b326d6336905d956b67" + ], + "linux_s390x": [ + "go1.25.0.linux-s390x.tar.gz", + "34e5a2e19f2292fbaf8783e3a241e6e49689276aef6510a8060ea5ef54eee408" + ], + "netbsd_386": [ + "go1.25.0.netbsd-386.tar.gz", + "f8586cdb7aa855657609a5c5f6dbf523efa00c2bbd7c76d3936bec80aa6c0aba" + ], + "netbsd_amd64": [ + "go1.25.0.netbsd-amd64.tar.gz", + "ae8dc1469385b86a157a423bb56304ba45730de8a897615874f57dd096db2c2a" + ], + "netbsd_arm": [ + "go1.25.0.netbsd-arm.tar.gz", + "1ff7e4cc764425fc9dd6825eaee79d02b3c7cafffbb3691687c8d672ade76cb7" + ], + "netbsd_arm64": [ + "go1.25.0.netbsd-arm64.tar.gz", + "e1b310739f26724216aa6d7d7208c4031f9ff54c9b5b9a796ddc8bebcb4a5f16" + ], + "openbsd_386": [ + "go1.25.0.openbsd-386.tar.gz", + "4802a9b20e533da91adb84aab42e94aa56cfe3e5475d0550bed3385b182e69d8" + ], + "openbsd_amd64": [ + "go1.25.0.openbsd-amd64.tar.gz", + "c016cd984bebe317b19a4f297c4f50def120dc9788490540c89f28e42f1dabe1" + ], + "openbsd_arm": [ + "go1.25.0.openbsd-arm.tar.gz", + "a1e31d0bf22172ddde42edf5ec811ef81be43433df0948ece52fecb247ccfd8d" + ], + "openbsd_arm64": [ + "go1.25.0.openbsd-arm64.tar.gz", + "343ea8edd8c218196e15a859c6072d0dd3246fbbb168481ab665eb4c4140458d" + ], + "openbsd_ppc64": [ + "go1.25.0.openbsd-ppc64.tar.gz", + "694c14da1bcaeb5e3332d49bdc2b6d155067648f8fe1540c5de8f3cf8e157154" + ], + "openbsd_riscv64": [ + "go1.25.0.openbsd-riscv64.tar.gz", + "aa510ad25cf54c06cd9c70b6d80ded69cb20188ac6e1735655eef29ff7e7885f" + ], + "plan9_386": [ + "go1.25.0.plan9-386.tar.gz", + "46f8cef02086cf04bf186c5912776b56535178d4cb319cd19c9fdbdd29231986" + ], + "plan9_amd64": [ + "go1.25.0.plan9-amd64.tar.gz", + "29b34391d84095e44608a228f63f2f88113a37b74a79781353ec043dfbcb427b" + ], + "plan9_arm": [ + "go1.25.0.plan9-arm.tar.gz", + "0a047107d13ebe7943aaa6d54b1d7bbd2e45e68ce449b52915a818da715799c2" + ], + "solaris_amd64": [ + "go1.25.0.solaris-amd64.tar.gz", + "9977f9e4351984364a3b2b78f8b88bfd1d339812356d5237678514594b7d3611" + ], + "windows_386": [ + "go1.25.0.windows-386.zip", + "df9f39db82a803af0db639e3613a36681ab7a42866b1384b3f3a1045663961a7" + ], + "windows_amd64": [ + "go1.25.0.windows-amd64.zip", + "89efb4f9b30812eee083cc1770fdd2913c14d301064f6454851428f9707d190b" + ], + "windows_arm64": [ + "go1.25.0.windows-arm64.zip", + "27bab004c72b3d7bd05a69b6ec0fc54a309b4b78cc569dd963d8b3ec28bfdb8c" + ] + }, + "1.25.6": { + "aix_ppc64": [ + "go1.25.6.aix-ppc64.tar.gz", + "13c8bca505dd902091304da8abfacaf3512f40c3faefae70db33337d9a42c90e" + ], + "darwin_amd64": [ + "go1.25.6.darwin-amd64.tar.gz", + "e2b5b237f5c262931b8e280ac4b8363f156e19bfad5270c099998932819670b7" + ], + "darwin_arm64": [ + "go1.25.6.darwin-arm64.tar.gz", + "984521ae978a5377c7d782fd2dd953291840d7d3d0bd95781a1f32f16d94a006" + ], + "dragonfly_amd64": [ + "go1.25.6.dragonfly-amd64.tar.gz", + "6fdcdd4f769fe73a9c5602eb25533954903520f2a2a1953415ec4f8abf5bda52" + ], + "freebsd_386": [ + "go1.25.6.freebsd-386.tar.gz", + "be22b65ded1d4015d7d9d328284c985932771d120a371c7df41b2d4d1a91e943" + ], + "freebsd_amd64": [ + "go1.25.6.freebsd-amd64.tar.gz", + "61e1d50e332359474ff6dcf4bc0bd34ba2d2cf4ef649593a5faa527f0ab84e2b" + ], + "freebsd_arm": [ + "go1.25.6.freebsd-arm.tar.gz", + "546c2c6e325e72531bf6c8122a2360db8f8381e2dc1e8d147ecb0cb49b5f5f93" + ], + "freebsd_arm64": [ + "go1.25.6.freebsd-arm64.tar.gz", + "648484146702dd58db0e2c3d15bda3560340d149ed574936e63285a823116b77" + ], + "freebsd_riscv64": [ + "go1.25.6.freebsd-riscv64.tar.gz", + "663d7a9532bb4ac03c7a36b13b677b36d71031cd757b8acaee085e36c9ec8bc2" + ], + "illumos_amd64": [ + "go1.25.6.illumos-amd64.tar.gz", + "c6adb151f8f50a25ef5a3f7b1be67155045daa766261e686ea210b93b46bbbd5" + ], + "linux_386": [ + "go1.25.6.linux-386.tar.gz", + "59fe62eee3cca65332acef3ebe9b6ff3272467e0a08bf7f68f96334902bf23b9" + ], + "linux_amd64": [ + "go1.25.6.linux-amd64.tar.gz", + "f022b6aad78e362bcba9b0b94d09ad58c5a70c6ba3b7582905fababf5fe0181a" + ], + "linux_arm64": [ + "go1.25.6.linux-arm64.tar.gz", + "738ef87d79c34272424ccdf83302b7b0300b8b096ed443896089306117943dd5" + ], + "linux_armv6l": [ + "go1.25.6.linux-armv6l.tar.gz", + "679f0e70b27c637116791e3c98afbf8c954deb2cd336364944d014f8e440e2ae" + ], + "linux_loong64": [ + "go1.25.6.linux-loong64.tar.gz", + "433fe54d8797700b44fc4f1d085f9cd50ab3511b9b484fdfbb7b6c32a2be2486" + ], + "linux_mips": [ + "go1.25.6.linux-mips.tar.gz", + "a5beaf2d135b8e9a2f3d91fa7e7d3761ffc97630484168bbc9a21f3901119c11" + ], + "linux_mips64": [ + "go1.25.6.linux-mips64.tar.gz", + "f2d72c1ac315d453f429f48900f43cd8d0aa296a2b82fa90dba7dfb907483fd8" + ], + "linux_mips64le": [ + "go1.25.6.linux-mips64le.tar.gz", + "9b808ef978fd6414edd16736daa4a601c7e2dadff3bd640ade8a976535c974d4" + ], + "linux_mipsle": [ + "go1.25.6.linux-mipsle.tar.gz", + "4e0b190b05c8359455d96d379c751d403554dcadf6765932845b2886e555bfd6" + ], + "linux_ppc64": [ + "go1.25.6.linux-ppc64.tar.gz", + "5d0f479023b1481c9188cc066eca1293e6f8a67a882a6d93afafccfb51981476" + ], + "linux_ppc64le": [ + "go1.25.6.linux-ppc64le.tar.gz", + "bee02dbe034b12b839ae7807a85a61c13bee09ee38f2eeba2074bd26c0c0ab73" + ], + "linux_riscv64": [ + "go1.25.6.linux-riscv64.tar.gz", + "82a6b989afda1681ecb1f4fa96f1006484f42643eb5e76bed58f7f97316bf84b" + ], + "linux_s390x": [ + "go1.25.6.linux-s390x.tar.gz", + "3d97cc5670a0da9cb177037782129f0bf499ecb47abc40488248548abd2c2c35" + ], + "netbsd_386": [ + "go1.25.6.netbsd-386.tar.gz", + "eb526fff2568fc9938d6eda6f0f50449661c693fcd89ab6f84e5e77e0a98d99b" + ], + "netbsd_amd64": [ + "go1.25.6.netbsd-amd64.tar.gz", + "959d786e3384403ac9d957c04d71da905b02f457406ca123662cbd4688f9ce6e" + ], + "netbsd_arm": [ + "go1.25.6.netbsd-arm.tar.gz", + "fe6c3957f7feaf17ac72ca27590cc4914c19162fc0912869048cb3dc92f5c3fd" + ], + "netbsd_arm64": [ + "go1.25.6.netbsd-arm64.tar.gz", + "ddb5ec67fc4a0510b23560b7c01413bd9dde513cebfb5441a93e934f7e0c6853" + ], + "openbsd_386": [ + "go1.25.6.openbsd-386.tar.gz", + "167a18ff7db53f1652f3a65c905056bc14e7ab4319357498d0af998a83f457a9" + ], + "openbsd_amd64": [ + "go1.25.6.openbsd-amd64.tar.gz", + "06ec42383ff1e17abc0472e0a92eb028cb40b16ea09e2a86f80fbe60912d62de" + ], + "openbsd_arm": [ + "go1.25.6.openbsd-arm.tar.gz", + "751df8eadd0f3d7be8ea6cda3af1e2e942099f6c97abcc0cfb5c8a0ac8e0cf3f" + ], + "openbsd_arm64": [ + "go1.25.6.openbsd-arm64.tar.gz", + "d9828a6162c0c0fdb2d7e9dc8285c43b18a3dab62bf5e83b5891a4384f3157ad" + ], + "openbsd_ppc64": [ + "go1.25.6.openbsd-ppc64.tar.gz", + "73090f93dc861f2be9dc06d8209f32cd7ce7864b9b3e28f0cd54a9e031672699" + ], + "openbsd_riscv64": [ + "go1.25.6.openbsd-riscv64.tar.gz", + "6d4932cb639c1172cf5861b031bd0a24f7341ef579aac15b392779e10c69343b" + ], + "plan9_386": [ + "go1.25.6.plan9-386.tar.gz", + "b9db67922a94abe580e7bde9172eee2c223ade914cd12790d955a24554c134d5" + ], + "plan9_amd64": [ + "go1.25.6.plan9-amd64.tar.gz", + "aa1ff9aa3e1ed09ecb21d09d736997d2de9f373fea9402815b3221946d17dcd5" + ], + "plan9_arm": [ + "go1.25.6.plan9-arm.tar.gz", + "94ec04501527876a542960096f0199495cbd9f9103b229d5299382aa51d9cc32" + ], + "solaris_amd64": [ + "go1.25.6.solaris-amd64.tar.gz", + "9a1e89979be591b44e63be766c6571f5dc27b5fc3b79965c943186fcdaca0386" + ], + "windows_386": [ + "go1.25.6.windows-386.zip", + "873da5cec02b6657ecd5b85e562a38fb5faf1b6e9ea81b2eb0b9a9b5aea5cb35" + ], + "windows_amd64": [ + "go1.25.6.windows-amd64.zip", + "19b4733b727ba5c611b5656187f3ac367d278d64c3d4199a845e39c0fdac5335" + ], + "windows_arm64": [ + "go1.25.6.windows-arm64.zip", + "8f2d8e6dd0849a2ec0ade1683bcfb7809e64d264a4273d8437841000a28ffb60" + ] + } + } + } } diff --git a/cmd/bb_remote_asset/BUILD.bazel b/cmd/bb_remote_asset/BUILD.bazel index 861f085..6df82b8 100644 --- a/cmd/bb_remote_asset/BUILD.bazel +++ b/cmd/bb_remote_asset/BUILD.bazel @@ -20,6 +20,7 @@ go_library( "@com_github_buildbarn_bb_storage//pkg/grpc", "@com_github_buildbarn_bb_storage//pkg/program", "@com_github_buildbarn_bb_storage//pkg/util", + "@com_github_buildbarn_bb_storage//pkg/zstd", "@org_golang_google_genproto_googleapis_rpc//status", "@org_golang_google_grpc//:grpc", "@org_golang_google_grpc//codes", diff --git a/cmd/bb_remote_asset/main.go b/cmd/bb_remote_asset/main.go index 93eeaf0..424d65e 100644 --- a/cmd/bb_remote_asset/main.go +++ b/cmd/bb_remote_asset/main.go @@ -18,6 +18,7 @@ import ( bb_grpc "github.com/buildbarn/bb-storage/pkg/grpc" "github.com/buildbarn/bb-storage/pkg/program" "github.com/buildbarn/bb-storage/pkg/util" + bb_zstd "github.com/buildbarn/bb-storage/pkg/zstd" protostatus "google.golang.org/genproto/googleapis/rpc/status" "google.golang.org/grpc" @@ -58,6 +59,8 @@ func main() { return util.StatusWrap(err, "Failed to create Push Authorizer from Configuration") } + zstdPool := bb_zstd.NewPoolFromConfiguration(nil) + // Initialize CAS storage access contentAddressableStorageInfo, err := blobstore_configuration.NewBlobAccessFromConfiguration( dependenciesGroup, @@ -65,6 +68,7 @@ func main() { blobstore_configuration.NewCASBlobAccessCreator( grpcClientFactory, int(config.MaximumMessageSizeBytes), + zstdPool, ), ) if err != nil { diff --git a/go.mod b/go.mod index 53d07d2..4ce0beb 100644 --- a/go.mod +++ b/go.mod @@ -8,7 +8,7 @@ replace go.uber.org/mock => go.uber.org/mock v0.4.0 require ( github.com/bazelbuild/buildtools v0.0.0-20260211083412-859bfffeef82 github.com/bazelbuild/remote-apis v0.0.0-20260216160025-715b73f3f9e4 - github.com/buildbarn/bb-storage v0.0.0-20260303071613-6002cad33537 + github.com/buildbarn/bb-storage v0.0.0-20260317135248-dc342e1799d7 github.com/golang/mock v1.7.0-rc.1 github.com/prometheus/client_golang v1.23.2 github.com/stretchr/testify v1.11.1 diff --git a/go.sum b/go.sum index dd2025d..702e561 100644 --- a/go.sum +++ b/go.sum @@ -79,6 +79,8 @@ github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM= github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw= github.com/buildbarn/bb-storage v0.0.0-20260303071613-6002cad33537 h1:81k5KiFlYyaQaheb5pe9p/nz4Ao8jGWcNK5LC9z+8vE= github.com/buildbarn/bb-storage v0.0.0-20260303071613-6002cad33537/go.mod h1:96kqnkrdkHHi94Agje3NM8qwrYMxJRSkAqsb7oXRhNI= +github.com/buildbarn/bb-storage v0.0.0-20260317135248-dc342e1799d7 h1:n6sJ9PxC6WSaLboSi3EcbIxfqgRd7tulb5hiep4kFh4= +github.com/buildbarn/bb-storage v0.0.0-20260317135248-dc342e1799d7/go.mod h1:96kqnkrdkHHi94Agje3NM8qwrYMxJRSkAqsb7oXRhNI= github.com/buildbarn/go-sha256tree v0.0.0-20250310211320-0f70f20e855b h1:IKUxixGBm9UxobU7c248z0BF0ojG19uoSLz8MFZM/KA= github.com/buildbarn/go-sha256tree v0.0.0-20250310211320-0f70f20e855b/go.mod h1:e7g3/yWApcg+PpDqd4eQEEV8pexQmfCgK3frP+1Wuvk= github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= From 3c0a4b309d5edf7f9b9c746932a1548b21b0e27b Mon Sep 17 00:00:00 2001 From: Sharmila Jesupaul Date: Thu, 19 Mar 2026 11:15:52 -0700 Subject: [PATCH 2/4] Run bazel run @com_github_buildbarn_bb_storage//tools:reformat --- MODULE.bazel.lock | 869 +--------------------------------------------- go.sum | 2 - 2 files changed, 1 insertion(+), 870 deletions(-) diff --git a/MODULE.bazel.lock b/MODULE.bazel.lock index e91aef7..1058034 100644 --- a/MODULE.bazel.lock +++ b/MODULE.bazel.lock @@ -815,872 +815,5 @@ } } }, - "facts": { - "@@rules_go+//go:extensions.bzl%go_sdk": { - "1.20.2": { - "darwin_amd64": [ - "go1.20.2.darwin-amd64.tar.gz", - "c93b8ced9517d07e1cd4c362c6e2d5242cb139e29b417a328fbf19aded08764c" - ], - "darwin_arm64": [ - "go1.20.2.darwin-arm64.tar.gz", - "7343c87f19e79c0063532e82e1c4d6f42175a32d99f7a4d15e658e88bf97f885" - ], - "freebsd_386": [ - "go1.20.2.freebsd-386.tar.gz", - "14f9be2004e042b3a64d0facb0c020756a9084a5c7333e33b0752b393b6016ea" - ], - "freebsd_amd64": [ - "go1.20.2.freebsd-amd64.tar.gz", - "b41b67b4f1b56797a7cecf6ee7f47fcf4f93960b2788a3683c07dd009d30b2a4" - ], - "linux_386": [ - "go1.20.2.linux-386.tar.gz", - "ee240ed33ae57504c41f04c12236aeaa17fbeb6ea9fcd096cd9dc7a89d10d4db" - ], - "linux_amd64": [ - "go1.20.2.linux-amd64.tar.gz", - "4eaea32f59cde4dc635fbc42161031d13e1c780b87097f4b4234cfce671f1768" - ], - "linux_arm64": [ - "go1.20.2.linux-arm64.tar.gz", - "78d632915bb75e9a6356a47a42625fd1a785c83a64a643fedd8f61e31b1b3bef" - ], - "linux_armv6l": [ - "go1.20.2.linux-armv6l.tar.gz", - "d79d56bafd6b52b8d8cbe3f8e967caaac5383a23d7a4fa9ac0e89778cd16a076" - ], - "linux_ppc64le": [ - "go1.20.2.linux-ppc64le.tar.gz", - "850564ddb760cb703db63bf20182dc4407abd2ff090a95fa66d6634d172fd095" - ], - "linux_s390x": [ - "go1.20.2.linux-s390x.tar.gz", - "8da24c5c4205fe8115f594237e5db7bcb1d23df67bc1fa9a999954b1976896e8" - ], - "windows_386": [ - "go1.20.2.windows-386.zip", - "31838b291117495bbb93683603e98d5118bfabd2eb318b4d07540bfd524bab86" - ], - "windows_amd64": [ - "go1.20.2.windows-amd64.zip", - "fe439f0e438f7555a7f5f7194ddb6f4a07b0de1fa414385d19f2aeb26d9f43db" - ], - "windows_arm64": [ - "go1.20.2.windows-arm64.zip", - "ac5010c8b8b22849228a8dea698d58b9c7be2195d30c6d778cce0f709858fa64" - ] - }, - "1.22.0": { - "aix_ppc64": [ - "go1.22.0.aix-ppc64.tar.gz", - "190e105fc4133a8b5bb1492f368fa89aa4b729270441120714be7ee82e871ebc" - ], - "darwin_amd64": [ - "go1.22.0.darwin-amd64.tar.gz", - "ebca81df938d2d1047cc992be6c6c759543cf309d401b86af38a6aed3d4090f4" - ], - "darwin_arm64": [ - "go1.22.0.darwin-arm64.tar.gz", - "bf8e388b09134164717cd52d3285a4ab3b68691b80515212da0e9f56f518fb1e" - ], - "dragonfly_amd64": [ - "go1.22.0.dragonfly-amd64.tar.gz", - "357ab446200effa26c73ccaf3e8551426428950bf2490859fb296a09e53228b1" - ], - "freebsd_386": [ - "go1.22.0.freebsd-386.tar.gz", - "b8065da37783e8b9e7086365a54d74537e832c92311b61101a66989ab2458d8e" - ], - "freebsd_amd64": [ - "go1.22.0.freebsd-amd64.tar.gz", - "50f421c7f217083ac94aab1e09400cb9c2fea7d337679ec11f1638a11460da30" - ], - "freebsd_arm64": [ - "go1.22.0.freebsd-arm64.tar.gz", - "e23385e5c640787fa02cd58f2301ea09e162c4d99f8ca9fa6d52766f428a933d" - ], - "freebsd_armv6l": [ - "go1.22.0.freebsd-arm.tar.gz", - "c9c8b305f90903536f4981bad9f029828c2483b3216ca1783777344fbe603f2d" - ], - "freebsd_riscv64": [ - "go1.22.0.freebsd-riscv64.tar.gz", - "c8f94d1de6024546194d58e7b9370dc7ea06176aad94a675b0062c25c40cb645" - ], - "illumos_amd64": [ - "go1.22.0.illumos-amd64.tar.gz", - "d6792f11ad6ee5fc42d2fe51e1f1683471aa2ee4f20e3ad1be22a4afdbd38e7f" - ], - "linux_386": [ - "go1.22.0.linux-386.tar.gz", - "1e209c4abde069067ac9afb341c8003db6a210f8173c77777f02d3a524313da3" - ], - "linux_amd64": [ - "go1.22.0.linux-amd64.tar.gz", - "f6c8a87aa03b92c4b0bf3d558e28ea03006eb29db78917daec5cfb6ec1046265" - ], - "linux_arm64": [ - "go1.22.0.linux-arm64.tar.gz", - "6a63fef0e050146f275bf02a0896badfe77c11b6f05499bb647e7bd613a45a10" - ], - "linux_armv6l": [ - "go1.22.0.linux-armv6l.tar.gz", - "0525f92f79df7ed5877147bce7b955f159f3962711b69faac66bc7121d36dcc4" - ], - "linux_loong64": [ - "go1.22.0.linux-loong64.tar.gz", - "b4b1d425cc113608452a32768469b6e34e538fd072bde9f508a75c8dbbdb843f" - ], - "linux_mips": [ - "go1.22.0.linux-mips.tar.gz", - "ec0f9194df750c78492c02e4c70ffe6f3864f2511e47c894415320db752719f8" - ], - "linux_mips64": [ - "go1.22.0.linux-mips64.tar.gz", - "47e938d215e4968ab42afb7307792e5e64184a717e8f176d0de7c411af96d63d" - ], - "linux_mips64le": [ - "go1.22.0.linux-mips64le.tar.gz", - "c162a1a516b8bc8839fc0c0283ad90f6b511e5aca3da4939ed4800f124b9e72c" - ], - "linux_mipsle": [ - "go1.22.0.linux-mipsle.tar.gz", - "6ce3e9a06e3a8ca0312dc1f85046b6914c19852eba5393c5cbf26acf698f8977" - ], - "linux_ppc64": [ - "go1.22.0.linux-ppc64.tar.gz", - "5ae23bf460731eb078f5700b01a50a303308b9f7174a2994892e28bf061f7c85" - ], - "linux_ppc64le": [ - "go1.22.0.linux-ppc64le.tar.gz", - "0e57f421df9449066f00155ce98a5be93744b3d81b00ee4c2c9b511be2a31d93" - ], - "linux_riscv64": [ - "go1.22.0.linux-riscv64.tar.gz", - "afe9cedcdbd6fdff27c57efd30aa5ce0f666f471fed5fa96cd4fb38d6b577086" - ], - "linux_s390x": [ - "go1.22.0.linux-s390x.tar.gz", - "2e546a3583ba7bd3988f8f476245698f6a93dfa9fe206a8ca8f85c1ceecb2446" - ], - "netbsd_386": [ - "go1.22.0.netbsd-386.tar.gz", - "9b7e2dbd43a169bff18bf533a6c2f462eebe04126ab01c138d0d669c046e1658" - ], - "netbsd_amd64": [ - "go1.22.0.netbsd-amd64.tar.gz", - "b11995c271d2256dfe85cf54882ca3655e18c49c4d7db0502bff9977767894e7" - ], - "netbsd_arm64": [ - "go1.22.0.netbsd-arm64.tar.gz", - "499918ccfedde78264d194244d251bf41d95cf606cc0adad13b36b8103cb974f" - ], - "netbsd_armv6l": [ - "go1.22.0.netbsd-arm.tar.gz", - "b57a3aa9c862300ec0ee8609ce5e0f430f132044f351677fd34711a504081872" - ], - "openbsd_386": [ - "go1.22.0.openbsd-386.tar.gz", - "379e0829104c18a139d78b33378e6bd3ab2e0792f6c43b4c38e7f20d8d77b99d" - ], - "openbsd_amd64": [ - "go1.22.0.openbsd-amd64.tar.gz", - "ceb0c97ffc3bfaf74e1df843cb8571d7fc3173a08432f0f42112495df6a31520" - ], - "openbsd_arm64": [ - "go1.22.0.openbsd-arm64.tar.gz", - "358801cab7122ab50d7d92727644f26d818e9e973403f09e85c2e935a625db75" - ], - "openbsd_armv6l": [ - "go1.22.0.openbsd-arm.tar.gz", - "8af5aea3df539bc95ed412c0a176fe84baced70ea1dd29f4aa82d0e9ce27fd9f" - ], - "plan9_386": [ - "go1.22.0.plan9-386.tar.gz", - "fa42c545c9025c45ca9af176dc13a0f4af0cc26bacff6fcb35bb4a170ac538e8" - ], - "plan9_amd64": [ - "go1.22.0.plan9-amd64.tar.gz", - "d8cf64f37a1dfd8e190c5a303c43ab2d49324868f098d88a3106072d137a5a0b" - ], - "plan9_armv6l": [ - "go1.22.0.plan9-arm.tar.gz", - "86fd6165f0cbb47ad551094f74b3e5a6c5e09de858d8b99de72d978d41be6e2a" - ], - "solaris_amd64": [ - "go1.22.0.solaris-amd64.tar.gz", - "a6c12651768d3a74f16104502b4b7bef513ea6b646d99990a28d934c261d1689" - ], - "windows_386": [ - "go1.22.0.windows-386.zip", - "553d44928509965cbda02a45b35ab01cf8b925534bc526a34e2d9dc7794b57e8" - ], - "windows_amd64": [ - "go1.22.0.windows-amd64.zip", - "78b3158fe3aa358e0b6c9f26ecd338f9a11441e88bc434ae2e9f0ca2b0cc4dd3" - ], - "windows_arm64": [ - "go1.22.0.windows-arm64.zip", - "31a61e41d06a3bb2189a303f5f3e777ca4b454eff439f0a67bc2b166330021f4" - ], - "windows_armv6l": [ - "go1.22.0.windows-arm.zip", - "495c7dfaea4e2bf48643662bb622e4ce6378d6d9840015238ad4b8792b99ddbf" - ] - }, - "1.23.7": { - "aix_ppc64": [ - "go1.23.7.aix-ppc64.tar.gz", - "5934ade0f845e19e6ac50dd4a7cbc3f39f06cfa2d7137a4021e5113de9d66df8" - ], - "darwin_amd64": [ - "go1.23.7.darwin-amd64.tar.gz", - "3a3d6745286297cd011d2ab071998a85fe82714bf178dc3cd6ecd3d043a59270" - ], - "darwin_arm64": [ - "go1.23.7.darwin-arm64.tar.gz", - "a08a77374a4a8ab25568cddd9dad5ba7bb6d21e04c650dc2af3def6c9115ebba" - ], - "dragonfly_amd64": [ - "go1.23.7.dragonfly-amd64.tar.gz", - "30c626981363513cb925706978a3a8cb3516cdeae619ed9a67d4a3fbed0b21e8" - ], - "freebsd_386": [ - "go1.23.7.freebsd-386.tar.gz", - "4bc9c3583236b13a9f1ec22c133fe4436714d56ebc0ee96733d4f6f0eb3c7ae1" - ], - "freebsd_amd64": [ - "go1.23.7.freebsd-amd64.tar.gz", - "c0e7a5ff1875eb79d7c2acfa1616718ad892c0b2637d56594fdc3332e313efd4" - ], - "freebsd_arm": [ - "go1.23.7.freebsd-arm.tar.gz", - "311e69d052bb732bca74cb64cba2d7d648e9af7a5c5d0c5e84a11efb77d287d0" - ], - "freebsd_arm64": [ - "go1.23.7.freebsd-arm64.tar.gz", - "2b51c940898fad6708609495b9a27b5869cf5195381fc4a31a013006aa4eb156" - ], - "freebsd_riscv64": [ - "go1.23.7.freebsd-riscv64.tar.gz", - "ab00bd1b61491be2d60ff41a88b3e59d812236484eaf6232513985a1287693ba" - ], - "illumos_amd64": [ - "go1.23.7.illumos-amd64.tar.gz", - "5ca64c74aa26b7e6bb6fd8609c5526511ddba21a0ec337b63a4f0352d04952b7" - ], - "linux_386": [ - "go1.23.7.linux-386.tar.gz", - "9115f7d751efe5b17b63a7630d24cd0a2479976465eecb277b5deec8aa0f4143" - ], - "linux_amd64": [ - "go1.23.7.linux-amd64.tar.gz", - "4741525e69841f2e22f9992af25df0c1112b07501f61f741c12c6389fcb119f3" - ], - "linux_arm64": [ - "go1.23.7.linux-arm64.tar.gz", - "597acbd0505250d4d98c4c83adf201562a8c812cbcd7b341689a07087a87a541" - ], - "linux_armv6l": [ - "go1.23.7.linux-armv6l.tar.gz", - "c9e9ecd6a8cf1429f1c65d81115c450258258ac65833d95a82d5f4e5ad7d2d7a" - ], - "linux_loong64": [ - "go1.23.7.linux-loong64.tar.gz", - "b9fb0ae7116cee77e88e1e2f54cca44343a71168b944768c48188cd1957fb3f8" - ], - "linux_mips": [ - "go1.23.7.linux-mips.tar.gz", - "27404833dc64673cacdd1470d77bf4235252ca5ca7a1fb47b465ff3b98cc31df" - ], - "linux_mips64": [ - "go1.23.7.linux-mips64.tar.gz", - "fd1b628f2491b8be86791ad63e2b61b17909b6e1b3ae37ddcd27b9a5faddcd87" - ], - "linux_mips64le": [ - "go1.23.7.linux-mips64le.tar.gz", - "f1d91a01bfe537bef687e2ab11f0c67ae8948d1ab1662110edcbfd7fd1803d9c" - ], - "linux_mipsle": [ - "go1.23.7.linux-mipsle.tar.gz", - "bdcaa3fddb09b53c42a8963fcbfb52a29feeaf34bdcec7d59e54eab0d16bfb12" - ], - "linux_ppc64": [ - "go1.23.7.linux-ppc64.tar.gz", - "ce2226b5e0940116cf9c791aa912ce62b3baac8bf2aaf09a1cd1e1de33456fd3" - ], - "linux_ppc64le": [ - "go1.23.7.linux-ppc64le.tar.gz", - "3ffc310bfd11fd0bcc713a764a0f7252c4d52d03f12abebfaebaaae77e027028" - ], - "linux_riscv64": [ - "go1.23.7.linux-riscv64.tar.gz", - "6474c707a09633ebd3117eb9127de467fbc482932164f1d1b1084e3be40c36f7" - ], - "linux_s390x": [ - "go1.23.7.linux-s390x.tar.gz", - "af1d4c5d01e32c2cf6e3cc00e44cb240e1a6cef539b28a64389b2b9ca284ac6c" - ], - "netbsd_386": [ - "go1.23.7.netbsd-386.tar.gz", - "a8d2db89fc99fc2e2c01419dbc95ab9d2da139c750fee8d3f47df2bae2745fc5" - ], - "netbsd_amd64": [ - "go1.23.7.netbsd-amd64.tar.gz", - "8769b0d546f1b102827f3f129aed8650cd2aedc79c886f819cdbe3a70d09ef62" - ], - "netbsd_arm": [ - "go1.23.7.netbsd-arm.tar.gz", - "9bad2e989c71a0cf8c1940519ead4b6792595e0286f7ec0ce0474098b5df9c71" - ], - "netbsd_arm64": [ - "go1.23.7.netbsd-arm64.tar.gz", - "b9ceb39db2765b86b3dc11edcd16feebba08706a1fa9d0f16223bd0299e59a78" - ], - "openbsd_386": [ - "go1.23.7.openbsd-386.tar.gz", - "1929e4eadaad4be8139bdf8ad0f28b38dc24ee57539d7bc3a0a5fd629cf6cddc" - ], - "openbsd_amd64": [ - "go1.23.7.openbsd-amd64.tar.gz", - "d1c9e78bba09c215c83daf9040dfb0ac545d634bde1130cc11b3fe5bbec52a65" - ], - "openbsd_arm": [ - "go1.23.7.openbsd-arm.tar.gz", - "40c1b1b9b42329a0265e0b8023c1fd3515675741ed0a4ca15ee952751e24ba5b" - ], - "openbsd_arm64": [ - "go1.23.7.openbsd-arm64.tar.gz", - "61cc713416cbe81b470626915ccccd32c78da71d1fe38b8d12c46cb61794dc6c" - ], - "openbsd_ppc64": [ - "go1.23.7.openbsd-ppc64.tar.gz", - "c2b5d038c0f21fd1e6513f7877c67d7ef4532193620bc54dc4d8233d0a1ecf25" - ], - "openbsd_riscv64": [ - "go1.23.7.openbsd-riscv64.tar.gz", - "db1b1b5b6b52e753b383688c4758e1dc90f9bf4e4a9809a995783a50b9eeccb2" - ], - "plan9_386": [ - "go1.23.7.plan9-386.tar.gz", - "5b78458002528ae9f0ae4c7ffa148e6023e2cb23804c11a68e8116028d995f0c" - ], - "plan9_amd64": [ - "go1.23.7.plan9-amd64.tar.gz", - "2dba02734fc1a45c145f5d0c186d86c1f0da107b99b283be318706832b5cf46a" - ], - "plan9_arm": [ - "go1.23.7.plan9-arm.tar.gz", - "c2f22c9313c82059526b9ed24001c02ef307f8881bfd898fc3de0ef1774130eb" - ], - "solaris_amd64": [ - "go1.23.7.solaris-amd64.tar.gz", - "d9cee150073a50f2e0f813d4873413fac3c50723762ffc0f35bed6828ead9f8a" - ], - "windows_386": [ - "go1.23.7.windows-386.zip", - "c8587eaf0257d475bae5dd1d51530466a5e507dfa932d4f551acc3003e8bc1a8" - ], - "windows_amd64": [ - "go1.23.7.windows-amd64.zip", - "eba0477381037868738b47b0198d120a535eb9a8a17b2babb9ab0d5e912a2171" - ], - "windows_arm": [ - "go1.23.7.windows-arm.zip", - "a8ae7675af1bf82602b10627bc0b4063d7cacf067b28e34274c61a0cbfe38fa5" - ], - "windows_arm64": [ - "go1.23.7.windows-arm64.zip", - "e828b5c526c40f3fa6f8aea2d402c0fcbf064009f2d0d12a15bb01241255af9a" - ] - }, - "1.24.0": { - "aix_ppc64": [ - "go1.24.0.aix-ppc64.tar.gz", - "5d04588154d5923bd8e26b76111806340ec55c41af1b05623ea744fcb3d6bc22" - ], - "darwin_amd64": [ - "go1.24.0.darwin-amd64.tar.gz", - "7af054e5088b68c24b3d6e135e5ca8d91bbd5a05cb7f7f0187367b3e6e9e05ee" - ], - "darwin_arm64": [ - "go1.24.0.darwin-arm64.tar.gz", - "fd9cfb5dd6c75a347cfc641a253f0db1cebaca16b0dd37965351c6184ba595e4" - ], - "dragonfly_amd64": [ - "go1.24.0.dragonfly-amd64.tar.gz", - "d0dc34ad86aea746abe245994c68a9e1ad8f46ba8c4af901cd5861a4dd4c21df" - ], - "freebsd_386": [ - "go1.24.0.freebsd-386.tar.gz", - "4ee02b1f3812aff4da79c79464ee4038ca61ad74b3a9619850f30435f81c2536" - ], - "freebsd_amd64": [ - "go1.24.0.freebsd-amd64.tar.gz", - "838191001f9324da904dece35a586a3156d548687db87ac9461aa3d38fc88b09" - ], - "freebsd_arm": [ - "go1.24.0.freebsd-arm.tar.gz", - "ce6ad4e84a40a8a1d848b7e31b0cddfd1cee8f7959e7dc358a8fa8b5566ea718" - ], - "freebsd_arm64": [ - "go1.24.0.freebsd-arm64.tar.gz", - "511f7b0cac4c4ed1066d324072ce223b906ad6b2a85f2e1c5d260eb7d08b5901" - ], - "freebsd_riscv64": [ - "go1.24.0.freebsd-riscv64.tar.gz", - "a1e4072630dc589a2975ef51317b52c7d8599bf6f389fc59033c01e0a0fa705a" - ], - "illumos_amd64": [ - "go1.24.0.illumos-amd64.tar.gz", - "7593e9dcee9f07c3df6d099f7d259f5734a6c0dccc5f28962f18e7f501c9bb21" - ], - "linux_386": [ - "go1.24.0.linux-386.tar.gz", - "90521453a59c6ce20364d2dc7c38532949b033b602ba12d782caeb90af1b0624" - ], - "linux_amd64": [ - "go1.24.0.linux-amd64.tar.gz", - "dea9ca38a0b852a74e81c26134671af7c0fbe65d81b0dc1c5bfe22cf7d4c8858" - ], - "linux_arm64": [ - "go1.24.0.linux-arm64.tar.gz", - "c3fa6d16ffa261091a5617145553c71d21435ce547e44cc6dfb7470865527cc7" - ], - "linux_armv6l": [ - "go1.24.0.linux-armv6l.tar.gz", - "695dc54fa14cd3124fa6900d7b5ae39eeac23f7a4ecea81656070160fac2c54a" - ], - "linux_loong64": [ - "go1.24.0.linux-loong64.tar.gz", - "a201e4c9b7e6d29ed64c43296ed88e81a66f82f2093ce45b766d2c526941396f" - ], - "linux_mips": [ - "go1.24.0.linux-mips.tar.gz", - "f3ac039aae78ad0bfb08106406c2e62eaf763dd82ebaf0ecd539adadd1d729a6" - ], - "linux_mips64": [ - "go1.24.0.linux-mips64.tar.gz", - "f2e6456d45e024831b1da8d88b1bb6392cca9500c1b00841f525d76c9e9553e0" - ], - "linux_mips64le": [ - "go1.24.0.linux-mips64le.tar.gz", - "b847893ff119389c939adc2b8516b6500204b7cb49d5e19b25e1c2091d2c74c6" - ], - "linux_mipsle": [ - "go1.24.0.linux-mipsle.tar.gz", - "bd4aed27d02746c237c3921e97029ac6b6fe687a67436b8f52ff1f698d330bd9" - ], - "linux_ppc64": [ - "go1.24.0.linux-ppc64.tar.gz", - "007123c9b06c41729a4bb3f166f4df7196adf4e33c2d2ab0e7e990175f0ce1d4" - ], - "linux_ppc64le": [ - "go1.24.0.linux-ppc64le.tar.gz", - "a871a43de7d26c91dd90cb6e0adacb214c9e35ee2188c617c91c08c017efe81a" - ], - "linux_riscv64": [ - "go1.24.0.linux-riscv64.tar.gz", - "620dcf48c6297519aad6c81f8e344926dc0ab09a2a79f1e306964aece95a553d" - ], - "linux_s390x": [ - "go1.24.0.linux-s390x.tar.gz", - "544d78b077c6b54bf78958c4a8285abec2d21f668fb007261c77418cd2edbb46" - ], - "netbsd_386": [ - "go1.24.0.netbsd-386.tar.gz", - "8b143a7edefbaa2a0b0246c9df2df1bac9fbed909d8615a375c08da7744e697d" - ], - "netbsd_amd64": [ - "go1.24.0.netbsd-amd64.tar.gz", - "67150a6dd7bdb9c4e88d77f46ee8c4dc99d5e71deca4912d8c2c85f7a16d0262" - ], - "netbsd_arm": [ - "go1.24.0.netbsd-arm.tar.gz", - "446b2539f11218fd6f6f6e3dd90b20ae55a06afe129885eeb3df51eb344eb0f6" - ], - "netbsd_arm64": [ - "go1.24.0.netbsd-arm64.tar.gz", - "370115b6ff7d30b29431223de348eb11ab65e3c92627532d97fd55f63f94e7a8" - ], - "openbsd_386": [ - "go1.24.0.openbsd-386.tar.gz", - "cbda5f15f06ed9630f122a53542d9de13d149643633c74f1dcb45e79649b788a" - ], - "openbsd_amd64": [ - "go1.24.0.openbsd-amd64.tar.gz", - "926f601d0e655ab1e8d7f357fd82542e5cf206c38c4e2f9fccf0706987d38836" - ], - "openbsd_arm": [ - "go1.24.0.openbsd-arm.tar.gz", - "8a54892f8c933c541fff144a825d0fdc41bae14b0832aab703cb75eb4cb64f2c" - ], - "openbsd_arm64": [ - "go1.24.0.openbsd-arm64.tar.gz", - "ef7fddcef0a22c7900c178b7687cf5aa25c2a9d46a3cc330b77a6de6e6c2396b" - ], - "openbsd_ppc64": [ - "go1.24.0.openbsd-ppc64.tar.gz", - "b3b5e2e2b53489ded2c2c21900ddcbbdb7991632bb5b42f05f125d71675e0b76" - ], - "openbsd_riscv64": [ - "go1.24.0.openbsd-riscv64.tar.gz", - "fbcb1dbf1269b4079dc4fd0b15f3274b9d635f1a7e319c3fc1a907b03280348e" - ], - "plan9_386": [ - "go1.24.0.plan9-386.tar.gz", - "33b4221e1c174a16e3f661deab6c60838ac4ae6cb869a4da1d1115773ceed88b" - ], - "plan9_amd64": [ - "go1.24.0.plan9-amd64.tar.gz", - "111a89014019cdbd69c2978de9b3e201f77e35183c8ab3606fba339d38f28549" - ], - "plan9_arm": [ - "go1.24.0.plan9-arm.tar.gz", - "8da3d3997049f40ebe0cd336a9bb9e4bfa4832df3c90a32f07383371d6d74849" - ], - "solaris_amd64": [ - "go1.24.0.solaris-amd64.tar.gz", - "b6069da21dc95ccdbd047675b584e5480ffc3eba35f9e7c8b0e7b317aaf01e2c" - ], - "windows_386": [ - "go1.24.0.windows-386.zip", - "b53c28a4c2863ec50ab4a1dbebe818ef6177f86773b6f43475d40a5d9aa4ec9e" - ], - "windows_amd64": [ - "go1.24.0.windows-amd64.zip", - "96b7280979205813759ee6947be7e3bb497da85c482711116c00522e3bb41ff1" - ], - "windows_arm64": [ - "go1.24.0.windows-arm64.zip", - "53f73450fb66075d16be9f206e9177bd972b528168271918c4747903b5596c3d" - ] - }, - "1.25.0": { - "aix_ppc64": [ - "go1.25.0.aix-ppc64.tar.gz", - "e5234a7dac67bc86c528fe9752fc9d63557918627707a733ab4cac1a6faed2d4" - ], - "darwin_amd64": [ - "go1.25.0.darwin-amd64.tar.gz", - "5bd60e823037062c2307c71e8111809865116714d6f6b410597cf5075dfd80ef" - ], - "darwin_arm64": [ - "go1.25.0.darwin-arm64.tar.gz", - "544932844156d8172f7a28f77f2ac9c15a23046698b6243f633b0a0b00c0749c" - ], - "dragonfly_amd64": [ - "go1.25.0.dragonfly-amd64.tar.gz", - "5ed3cf9a810a1483822538674f1336c06b51aa1b94d6d545a1a0319a48177120" - ], - "freebsd_386": [ - "go1.25.0.freebsd-386.tar.gz", - "abea5d5c6697e6b5c224731f2158fe87c602996a2a233ac0c4730cd57bf8374e" - ], - "freebsd_amd64": [ - "go1.25.0.freebsd-amd64.tar.gz", - "86e6fe0a29698d7601c4442052dac48bd58d532c51cccb8f1917df648138730b" - ], - "freebsd_arm": [ - "go1.25.0.freebsd-arm.tar.gz", - "d90b78e41921f72f30e8bbc81d9dec2cff7ff384a33d8d8debb24053e4336bfe" - ], - "freebsd_arm64": [ - "go1.25.0.freebsd-arm64.tar.gz", - "451d0da1affd886bfb291b7c63a6018527b269505db21ce6e14724f22ab0662e" - ], - "freebsd_riscv64": [ - "go1.25.0.freebsd-riscv64.tar.gz", - "7b565f76bd8bda46549eeaaefe0e53b251e644c230577290c0f66b1ecdb3cdbe" - ], - "illumos_amd64": [ - "go1.25.0.illumos-amd64.tar.gz", - "b1e1fdaab1ad25aa1c08d7a36c97d45d74b98b89c3f78c6d2145f77face54a2c" - ], - "linux_386": [ - "go1.25.0.linux-386.tar.gz", - "8c602dd9d99bc9453b3995d20ce4baf382cc50855900a0ece5de9929df4a993a" - ], - "linux_amd64": [ - "go1.25.0.linux-amd64.tar.gz", - "2852af0cb20a13139b3448992e69b868e50ed0f8a1e5940ee1de9e19a123b613" - ], - "linux_arm64": [ - "go1.25.0.linux-arm64.tar.gz", - "05de75d6994a2783699815ee553bd5a9327d8b79991de36e38b66862782f54ae" - ], - "linux_armv6l": [ - "go1.25.0.linux-armv6l.tar.gz", - "a5a8f8198fcf00e1e485b8ecef9ee020778bf32a408a4e8873371bfce458cd09" - ], - "linux_loong64": [ - "go1.25.0.linux-loong64.tar.gz", - "cab86b1cf761b1cb3bac86a8877cfc92e7b036fc0d3084123d77013d61432afc" - ], - "linux_mips": [ - "go1.25.0.linux-mips.tar.gz", - "d66b6fb74c3d91b9829dc95ec10ca1f047ef5e89332152f92e136cf0e2da5be1" - ], - "linux_mips64": [ - "go1.25.0.linux-mips64.tar.gz", - "4082e4381a8661bc2a839ff94ba3daf4f6cde20f8fb771b5b3d4762dc84198a2" - ], - "linux_mips64le": [ - "go1.25.0.linux-mips64le.tar.gz", - "70002c299ec7f7175ac2ef673b1b347eecfa54ae11f34416a6053c17f855afcc" - ], - "linux_mipsle": [ - "go1.25.0.linux-mipsle.tar.gz", - "b00a3a39eff099f6df9f1c7355bf28e4589d0586f42d7d4a394efb763d145a73" - ], - "linux_ppc64": [ - "go1.25.0.linux-ppc64.tar.gz", - "df166f33bd98160662560a72ff0b4ba731f969a80f088922bddcf566a88c1ec1" - ], - "linux_ppc64le": [ - "go1.25.0.linux-ppc64le.tar.gz", - "0f18a89e7576cf2c5fa0b487a1635d9bcbf843df5f110e9982c64df52a983ad0" - ], - "linux_riscv64": [ - "go1.25.0.linux-riscv64.tar.gz", - "c018ff74a2c48d55c8ca9b07c8e24163558ffec8bea08b326d6336905d956b67" - ], - "linux_s390x": [ - "go1.25.0.linux-s390x.tar.gz", - "34e5a2e19f2292fbaf8783e3a241e6e49689276aef6510a8060ea5ef54eee408" - ], - "netbsd_386": [ - "go1.25.0.netbsd-386.tar.gz", - "f8586cdb7aa855657609a5c5f6dbf523efa00c2bbd7c76d3936bec80aa6c0aba" - ], - "netbsd_amd64": [ - "go1.25.0.netbsd-amd64.tar.gz", - "ae8dc1469385b86a157a423bb56304ba45730de8a897615874f57dd096db2c2a" - ], - "netbsd_arm": [ - "go1.25.0.netbsd-arm.tar.gz", - "1ff7e4cc764425fc9dd6825eaee79d02b3c7cafffbb3691687c8d672ade76cb7" - ], - "netbsd_arm64": [ - "go1.25.0.netbsd-arm64.tar.gz", - "e1b310739f26724216aa6d7d7208c4031f9ff54c9b5b9a796ddc8bebcb4a5f16" - ], - "openbsd_386": [ - "go1.25.0.openbsd-386.tar.gz", - "4802a9b20e533da91adb84aab42e94aa56cfe3e5475d0550bed3385b182e69d8" - ], - "openbsd_amd64": [ - "go1.25.0.openbsd-amd64.tar.gz", - "c016cd984bebe317b19a4f297c4f50def120dc9788490540c89f28e42f1dabe1" - ], - "openbsd_arm": [ - "go1.25.0.openbsd-arm.tar.gz", - "a1e31d0bf22172ddde42edf5ec811ef81be43433df0948ece52fecb247ccfd8d" - ], - "openbsd_arm64": [ - "go1.25.0.openbsd-arm64.tar.gz", - "343ea8edd8c218196e15a859c6072d0dd3246fbbb168481ab665eb4c4140458d" - ], - "openbsd_ppc64": [ - "go1.25.0.openbsd-ppc64.tar.gz", - "694c14da1bcaeb5e3332d49bdc2b6d155067648f8fe1540c5de8f3cf8e157154" - ], - "openbsd_riscv64": [ - "go1.25.0.openbsd-riscv64.tar.gz", - "aa510ad25cf54c06cd9c70b6d80ded69cb20188ac6e1735655eef29ff7e7885f" - ], - "plan9_386": [ - "go1.25.0.plan9-386.tar.gz", - "46f8cef02086cf04bf186c5912776b56535178d4cb319cd19c9fdbdd29231986" - ], - "plan9_amd64": [ - "go1.25.0.plan9-amd64.tar.gz", - "29b34391d84095e44608a228f63f2f88113a37b74a79781353ec043dfbcb427b" - ], - "plan9_arm": [ - "go1.25.0.plan9-arm.tar.gz", - "0a047107d13ebe7943aaa6d54b1d7bbd2e45e68ce449b52915a818da715799c2" - ], - "solaris_amd64": [ - "go1.25.0.solaris-amd64.tar.gz", - "9977f9e4351984364a3b2b78f8b88bfd1d339812356d5237678514594b7d3611" - ], - "windows_386": [ - "go1.25.0.windows-386.zip", - "df9f39db82a803af0db639e3613a36681ab7a42866b1384b3f3a1045663961a7" - ], - "windows_amd64": [ - "go1.25.0.windows-amd64.zip", - "89efb4f9b30812eee083cc1770fdd2913c14d301064f6454851428f9707d190b" - ], - "windows_arm64": [ - "go1.25.0.windows-arm64.zip", - "27bab004c72b3d7bd05a69b6ec0fc54a309b4b78cc569dd963d8b3ec28bfdb8c" - ] - }, - "1.25.6": { - "aix_ppc64": [ - "go1.25.6.aix-ppc64.tar.gz", - "13c8bca505dd902091304da8abfacaf3512f40c3faefae70db33337d9a42c90e" - ], - "darwin_amd64": [ - "go1.25.6.darwin-amd64.tar.gz", - "e2b5b237f5c262931b8e280ac4b8363f156e19bfad5270c099998932819670b7" - ], - "darwin_arm64": [ - "go1.25.6.darwin-arm64.tar.gz", - "984521ae978a5377c7d782fd2dd953291840d7d3d0bd95781a1f32f16d94a006" - ], - "dragonfly_amd64": [ - "go1.25.6.dragonfly-amd64.tar.gz", - "6fdcdd4f769fe73a9c5602eb25533954903520f2a2a1953415ec4f8abf5bda52" - ], - "freebsd_386": [ - "go1.25.6.freebsd-386.tar.gz", - "be22b65ded1d4015d7d9d328284c985932771d120a371c7df41b2d4d1a91e943" - ], - "freebsd_amd64": [ - "go1.25.6.freebsd-amd64.tar.gz", - "61e1d50e332359474ff6dcf4bc0bd34ba2d2cf4ef649593a5faa527f0ab84e2b" - ], - "freebsd_arm": [ - "go1.25.6.freebsd-arm.tar.gz", - "546c2c6e325e72531bf6c8122a2360db8f8381e2dc1e8d147ecb0cb49b5f5f93" - ], - "freebsd_arm64": [ - "go1.25.6.freebsd-arm64.tar.gz", - "648484146702dd58db0e2c3d15bda3560340d149ed574936e63285a823116b77" - ], - "freebsd_riscv64": [ - "go1.25.6.freebsd-riscv64.tar.gz", - "663d7a9532bb4ac03c7a36b13b677b36d71031cd757b8acaee085e36c9ec8bc2" - ], - "illumos_amd64": [ - "go1.25.6.illumos-amd64.tar.gz", - "c6adb151f8f50a25ef5a3f7b1be67155045daa766261e686ea210b93b46bbbd5" - ], - "linux_386": [ - "go1.25.6.linux-386.tar.gz", - "59fe62eee3cca65332acef3ebe9b6ff3272467e0a08bf7f68f96334902bf23b9" - ], - "linux_amd64": [ - "go1.25.6.linux-amd64.tar.gz", - "f022b6aad78e362bcba9b0b94d09ad58c5a70c6ba3b7582905fababf5fe0181a" - ], - "linux_arm64": [ - "go1.25.6.linux-arm64.tar.gz", - "738ef87d79c34272424ccdf83302b7b0300b8b096ed443896089306117943dd5" - ], - "linux_armv6l": [ - "go1.25.6.linux-armv6l.tar.gz", - "679f0e70b27c637116791e3c98afbf8c954deb2cd336364944d014f8e440e2ae" - ], - "linux_loong64": [ - "go1.25.6.linux-loong64.tar.gz", - "433fe54d8797700b44fc4f1d085f9cd50ab3511b9b484fdfbb7b6c32a2be2486" - ], - "linux_mips": [ - "go1.25.6.linux-mips.tar.gz", - "a5beaf2d135b8e9a2f3d91fa7e7d3761ffc97630484168bbc9a21f3901119c11" - ], - "linux_mips64": [ - "go1.25.6.linux-mips64.tar.gz", - "f2d72c1ac315d453f429f48900f43cd8d0aa296a2b82fa90dba7dfb907483fd8" - ], - "linux_mips64le": [ - "go1.25.6.linux-mips64le.tar.gz", - "9b808ef978fd6414edd16736daa4a601c7e2dadff3bd640ade8a976535c974d4" - ], - "linux_mipsle": [ - "go1.25.6.linux-mipsle.tar.gz", - "4e0b190b05c8359455d96d379c751d403554dcadf6765932845b2886e555bfd6" - ], - "linux_ppc64": [ - "go1.25.6.linux-ppc64.tar.gz", - "5d0f479023b1481c9188cc066eca1293e6f8a67a882a6d93afafccfb51981476" - ], - "linux_ppc64le": [ - "go1.25.6.linux-ppc64le.tar.gz", - "bee02dbe034b12b839ae7807a85a61c13bee09ee38f2eeba2074bd26c0c0ab73" - ], - "linux_riscv64": [ - "go1.25.6.linux-riscv64.tar.gz", - "82a6b989afda1681ecb1f4fa96f1006484f42643eb5e76bed58f7f97316bf84b" - ], - "linux_s390x": [ - "go1.25.6.linux-s390x.tar.gz", - "3d97cc5670a0da9cb177037782129f0bf499ecb47abc40488248548abd2c2c35" - ], - "netbsd_386": [ - "go1.25.6.netbsd-386.tar.gz", - "eb526fff2568fc9938d6eda6f0f50449661c693fcd89ab6f84e5e77e0a98d99b" - ], - "netbsd_amd64": [ - "go1.25.6.netbsd-amd64.tar.gz", - "959d786e3384403ac9d957c04d71da905b02f457406ca123662cbd4688f9ce6e" - ], - "netbsd_arm": [ - "go1.25.6.netbsd-arm.tar.gz", - "fe6c3957f7feaf17ac72ca27590cc4914c19162fc0912869048cb3dc92f5c3fd" - ], - "netbsd_arm64": [ - "go1.25.6.netbsd-arm64.tar.gz", - "ddb5ec67fc4a0510b23560b7c01413bd9dde513cebfb5441a93e934f7e0c6853" - ], - "openbsd_386": [ - "go1.25.6.openbsd-386.tar.gz", - "167a18ff7db53f1652f3a65c905056bc14e7ab4319357498d0af998a83f457a9" - ], - "openbsd_amd64": [ - "go1.25.6.openbsd-amd64.tar.gz", - "06ec42383ff1e17abc0472e0a92eb028cb40b16ea09e2a86f80fbe60912d62de" - ], - "openbsd_arm": [ - "go1.25.6.openbsd-arm.tar.gz", - "751df8eadd0f3d7be8ea6cda3af1e2e942099f6c97abcc0cfb5c8a0ac8e0cf3f" - ], - "openbsd_arm64": [ - "go1.25.6.openbsd-arm64.tar.gz", - "d9828a6162c0c0fdb2d7e9dc8285c43b18a3dab62bf5e83b5891a4384f3157ad" - ], - "openbsd_ppc64": [ - "go1.25.6.openbsd-ppc64.tar.gz", - "73090f93dc861f2be9dc06d8209f32cd7ce7864b9b3e28f0cd54a9e031672699" - ], - "openbsd_riscv64": [ - "go1.25.6.openbsd-riscv64.tar.gz", - "6d4932cb639c1172cf5861b031bd0a24f7341ef579aac15b392779e10c69343b" - ], - "plan9_386": [ - "go1.25.6.plan9-386.tar.gz", - "b9db67922a94abe580e7bde9172eee2c223ade914cd12790d955a24554c134d5" - ], - "plan9_amd64": [ - "go1.25.6.plan9-amd64.tar.gz", - "aa1ff9aa3e1ed09ecb21d09d736997d2de9f373fea9402815b3221946d17dcd5" - ], - "plan9_arm": [ - "go1.25.6.plan9-arm.tar.gz", - "94ec04501527876a542960096f0199495cbd9f9103b229d5299382aa51d9cc32" - ], - "solaris_amd64": [ - "go1.25.6.solaris-amd64.tar.gz", - "9a1e89979be591b44e63be766c6571f5dc27b5fc3b79965c943186fcdaca0386" - ], - "windows_386": [ - "go1.25.6.windows-386.zip", - "873da5cec02b6657ecd5b85e562a38fb5faf1b6e9ea81b2eb0b9a9b5aea5cb35" - ], - "windows_amd64": [ - "go1.25.6.windows-amd64.zip", - "19b4733b727ba5c611b5656187f3ac367d278d64c3d4199a845e39c0fdac5335" - ], - "windows_arm64": [ - "go1.25.6.windows-arm64.zip", - "8f2d8e6dd0849a2ec0ade1683bcfb7809e64d264a4273d8437841000a28ffb60" - ] - } - } - } + "facts": {} } diff --git a/go.sum b/go.sum index 702e561..fd23c95 100644 --- a/go.sum +++ b/go.sum @@ -77,8 +77,6 @@ github.com/bazelbuild/remote-apis v0.0.0-20260216160025-715b73f3f9e4/go.mod h1:7 github.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA= github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM= github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw= -github.com/buildbarn/bb-storage v0.0.0-20260303071613-6002cad33537 h1:81k5KiFlYyaQaheb5pe9p/nz4Ao8jGWcNK5LC9z+8vE= -github.com/buildbarn/bb-storage v0.0.0-20260303071613-6002cad33537/go.mod h1:96kqnkrdkHHi94Agje3NM8qwrYMxJRSkAqsb7oXRhNI= github.com/buildbarn/bb-storage v0.0.0-20260317135248-dc342e1799d7 h1:n6sJ9PxC6WSaLboSi3EcbIxfqgRd7tulb5hiep4kFh4= github.com/buildbarn/bb-storage v0.0.0-20260317135248-dc342e1799d7/go.mod h1:96kqnkrdkHHi94Agje3NM8qwrYMxJRSkAqsb7oXRhNI= github.com/buildbarn/go-sha256tree v0.0.0-20250310211320-0f70f20e855b h1:IKUxixGBm9UxobU7c248z0BF0ojG19uoSLz8MFZM/KA= From 22bc443050cf864eaf60d60d629f4248256d09ca Mon Sep 17 00:00:00 2001 From: Sharmila Jesupaul Date: Thu, 19 Mar 2026 17:49:35 -0700 Subject: [PATCH 3/4] Add configurable zstd pool Co-authored-by: Codex --- cmd/bb_remote_asset/main.go | 2 +- .../configuration/bb_remote_asset/BUILD.bazel | 2 + .../bb_remote_asset/bb_remote_asset.pb.go | 84 +++++++++++++------ .../bb_remote_asset/bb_remote_asset.proto | 5 ++ 4 files changed, 65 insertions(+), 28 deletions(-) diff --git a/cmd/bb_remote_asset/main.go b/cmd/bb_remote_asset/main.go index 424d65e..d2ffaca 100644 --- a/cmd/bb_remote_asset/main.go +++ b/cmd/bb_remote_asset/main.go @@ -59,7 +59,7 @@ func main() { return util.StatusWrap(err, "Failed to create Push Authorizer from Configuration") } - zstdPool := bb_zstd.NewPoolFromConfiguration(nil) + zstdPool := bb_zstd.NewPoolFromConfiguration(config.ZstdPool) // Initialize CAS storage access contentAddressableStorageInfo, err := blobstore_configuration.NewBlobAccessFromConfiguration( diff --git a/pkg/proto/configuration/bb_remote_asset/BUILD.bazel b/pkg/proto/configuration/bb_remote_asset/BUILD.bazel index b047447..bed9633 100644 --- a/pkg/proto/configuration/bb_remote_asset/BUILD.bazel +++ b/pkg/proto/configuration/bb_remote_asset/BUILD.bazel @@ -13,6 +13,7 @@ proto_library( "@com_github_buildbarn_bb_storage//pkg/proto/configuration/blobstore:blobstore_proto", "@com_github_buildbarn_bb_storage//pkg/proto/configuration/global:global_proto", "@com_github_buildbarn_bb_storage//pkg/proto/configuration/grpc:grpc_proto", + "@com_github_buildbarn_bb_storage//pkg/proto/configuration/zstd:zstd_proto", ], ) @@ -27,6 +28,7 @@ go_proto_library( "@com_github_buildbarn_bb_storage//pkg/proto/configuration/blobstore", "@com_github_buildbarn_bb_storage//pkg/proto/configuration/global", "@com_github_buildbarn_bb_storage//pkg/proto/configuration/grpc", + "@com_github_buildbarn_bb_storage//pkg/proto/configuration/zstd", ], ) diff --git a/pkg/proto/configuration/bb_remote_asset/bb_remote_asset.pb.go b/pkg/proto/configuration/bb_remote_asset/bb_remote_asset.pb.go index e3fd0ec..272892c 100644 --- a/pkg/proto/configuration/bb_remote_asset/bb_remote_asset.pb.go +++ b/pkg/proto/configuration/bb_remote_asset/bb_remote_asset.pb.go @@ -12,6 +12,7 @@ import ( blobstore "github.com/buildbarn/bb-storage/pkg/proto/configuration/blobstore" global "github.com/buildbarn/bb-storage/pkg/proto/configuration/global" grpc "github.com/buildbarn/bb-storage/pkg/proto/configuration/grpc" + zstd "github.com/buildbarn/bb-storage/pkg/proto/configuration/zstd" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" @@ -27,18 +28,34 @@ const ( ) type ApplicationConfiguration struct { - state protoimpl.MessageState `protogen:"open.v1"` - GrpcServers []*grpc.ServerConfiguration `protobuf:"bytes,3,rep,name=grpc_servers,json=grpcServers,proto3" json:"grpc_servers,omitempty"` + state protoimpl.MessageState `protogen:"open.v1"` + // gRPC servers to spawn to listen for remote asset API connections + GrpcServers []*grpc.ServerConfiguration `protobuf:"bytes,3,rep,name=grpc_servers,json=grpcServers,proto3" json:"grpc_servers,omitempty"` + // The content addressable storage in which the data of the assets + // are stored ContentAddressableStorage *blobstore.BlobAccessConfiguration `protobuf:"bytes,4,opt,name=content_addressable_storage,json=contentAddressableStorage,proto3" json:"content_addressable_storage,omitempty"` - MaximumMessageSizeBytes int64 `protobuf:"varint,5,opt,name=maximum_message_size_bytes,json=maximumMessageSizeBytes,proto3" json:"maximum_message_size_bytes,omitempty"` - Global *global.Configuration `protobuf:"bytes,6,opt,name=global,proto3" json:"global,omitempty"` - AllowUpdatesForInstances []string `protobuf:"bytes,7,rep,name=allow_updates_for_instances,json=allowUpdatesForInstances,proto3" json:"allow_updates_for_instances,omitempty"` - Fetcher *fetch.FetcherConfiguration `protobuf:"bytes,8,opt,name=fetcher,proto3" json:"fetcher,omitempty"` - AssetCache *AssetCacheConfiguration `protobuf:"bytes,9,opt,name=asset_cache,json=assetCache,proto3" json:"asset_cache,omitempty"` - FetchAuthorizer *auth.AuthorizerConfiguration `protobuf:"bytes,10,opt,name=fetch_authorizer,json=fetchAuthorizer,proto3" json:"fetch_authorizer,omitempty"` - PushAuthorizer *auth.AuthorizerConfiguration `protobuf:"bytes,11,opt,name=push_authorizer,json=pushAuthorizer,proto3" json:"push_authorizer,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + // Maximum Protobuf message size to unmarshal. + MaximumMessageSizeBytes int64 `protobuf:"varint,5,opt,name=maximum_message_size_bytes,json=maximumMessageSizeBytes,proto3" json:"maximum_message_size_bytes,omitempty"` + // Common configuration options that apply to all Buildbarn binaries. + Global *global.Configuration `protobuf:"bytes,6,opt,name=global,proto3" json:"global,omitempty"` + // List of instances which can upload to the Cache + // If using an Action Cache backend, uploads may still fail if the + // Action Cache does not allow uploads from the instance name used. + AllowUpdatesForInstances []string `protobuf:"bytes,7,rep,name=allow_updates_for_instances,json=allowUpdatesForInstances,proto3" json:"allow_updates_for_instances,omitempty"` + // Configuration for remote asset FetchServer + Fetcher *fetch.FetcherConfiguration `protobuf:"bytes,8,opt,name=fetcher,proto3" json:"fetcher,omitempty"` + // The configuration of the asset cache, may be omitted to have no + // caching of assets + AssetCache *AssetCacheConfiguration `protobuf:"bytes,9,opt,name=asset_cache,json=assetCache,proto3" json:"asset_cache,omitempty"` + // Authorization policy for Fetch operations + FetchAuthorizer *auth.AuthorizerConfiguration `protobuf:"bytes,10,opt,name=fetch_authorizer,json=fetchAuthorizer,proto3" json:"fetch_authorizer,omitempty"` + // Authorization policy for Push operations + PushAuthorizer *auth.AuthorizerConfiguration `protobuf:"bytes,11,opt,name=push_authorizer,json=pushAuthorizer,proto3" json:"push_authorizer,omitempty"` + // ZSTD encoder/decoder pool configuration. When set, creates a + // process-wide pool shared by all gRPC CAS clients. + ZstdPool *zstd.PoolConfiguration `protobuf:"bytes,12,opt,name=zstd_pool,json=zstdPool,proto3" json:"zstd_pool,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ApplicationConfiguration) Reset() { @@ -134,6 +151,13 @@ func (x *ApplicationConfiguration) GetPushAuthorizer() *auth.AuthorizerConfigura return nil } +func (x *ApplicationConfiguration) GetZstdPool() *zstd.PoolConfiguration { + if x != nil { + return x.ZstdPool + } + return nil +} + type AssetCacheConfiguration struct { state protoimpl.MessageState `protogen:"open.v1"` // Types that are valid to be assigned to Backend: @@ -205,10 +229,13 @@ type isAssetCacheConfiguration_Backend interface { } type AssetCacheConfiguration_BlobAccess struct { + // Cache assets in a specific storage instance exclusively for + // caching assets BlobAccess *blobstore.BlobAccessConfiguration `protobuf:"bytes,1,opt,name=blob_access,json=blobAccess,proto3,oneof"` } type AssetCacheConfiguration_ActionCache struct { + // Cache assets in an existing action cache ActionCache *blobstore.BlobAccessConfiguration `protobuf:"bytes,2,opt,name=action_cache,json=actionCache,proto3,oneof"` } @@ -220,7 +247,7 @@ var File_github_com_buildbarn_bb_remote_asset_pkg_proto_configuration_bb_remote_ const file_github_com_buildbarn_bb_remote_asset_pkg_proto_configuration_bb_remote_asset_bb_remote_asset_proto_rawDesc = "" + "\n" + - "bgithub.com/buildbarn/bb-remote-asset/pkg/proto/configuration/bb_remote_asset/bb_remote_asset.proto\x12'buildbarn.configuration.bb_remote_asset\x1a`github.com/buildbarn/bb-remote-asset/pkg/proto/configuration/bb_remote_asset/fetch/fetcher.proto\x1aGgithub.com/buildbarn/bb-storage/pkg/proto/configuration/auth/auth.proto\x1aQgithub.com/buildbarn/bb-storage/pkg/proto/configuration/blobstore/blobstore.proto\x1aKgithub.com/buildbarn/bb-storage/pkg/proto/configuration/global/global.proto\x1aGgithub.com/buildbarn/bb-storage/pkg/proto/configuration/grpc/grpc.proto\"\xbf\x06\n" + + "bgithub.com/buildbarn/bb-remote-asset/pkg/proto/configuration/bb_remote_asset/bb_remote_asset.proto\x12'buildbarn.configuration.bb_remote_asset\x1a`github.com/buildbarn/bb-remote-asset/pkg/proto/configuration/bb_remote_asset/fetch/fetcher.proto\x1aGgithub.com/buildbarn/bb-storage/pkg/proto/configuration/auth/auth.proto\x1aQgithub.com/buildbarn/bb-storage/pkg/proto/configuration/blobstore/blobstore.proto\x1aKgithub.com/buildbarn/bb-storage/pkg/proto/configuration/global/global.proto\x1aGgithub.com/buildbarn/bb-storage/pkg/proto/configuration/grpc/grpc.proto\x1aGgithub.com/buildbarn/bb-storage/pkg/proto/configuration/zstd/zstd.proto\"\x8d\a\n" + "\x18ApplicationConfiguration\x12T\n" + "\fgrpc_servers\x18\x03 \x03(\v21.buildbarn.configuration.grpc.ServerConfigurationR\vgrpcServers\x12z\n" + "\x1bcontent_addressable_storage\x18\x04 \x01(\v2:.buildbarn.configuration.blobstore.BlobAccessConfigurationR\x19contentAddressableStorage\x12;\n" + @@ -232,7 +259,8 @@ const file_github_com_buildbarn_bb_remote_asset_pkg_proto_configuration_bb_remot "assetCache\x12`\n" + "\x10fetch_authorizer\x18\n" + " \x01(\v25.buildbarn.configuration.auth.AuthorizerConfigurationR\x0ffetchAuthorizer\x12^\n" + - "\x0fpush_authorizer\x18\v \x01(\v25.buildbarn.configuration.auth.AuthorizerConfigurationR\x0epushAuthorizerJ\x04\b\x01\x10\x02J\x04\b\x02\x10\x03\"\xe4\x01\n" + + "\x0fpush_authorizer\x18\v \x01(\v25.buildbarn.configuration.auth.AuthorizerConfigurationR\x0epushAuthorizer\x12L\n" + + "\tzstd_pool\x18\f \x01(\v2/.buildbarn.configuration.zstd.PoolConfigurationR\bzstdPoolJ\x04\b\x01\x10\x02J\x04\b\x02\x10\x03\"\xe4\x01\n" + "\x17AssetCacheConfiguration\x12]\n" + "\vblob_access\x18\x01 \x01(\v2:.buildbarn.configuration.blobstore.BlobAccessConfigurationH\x00R\n" + "blobAccess\x12_\n" + @@ -260,22 +288,24 @@ var file_github_com_buildbarn_bb_remote_asset_pkg_proto_configuration_bb_remote_ (*global.Configuration)(nil), // 4: buildbarn.configuration.global.Configuration (*fetch.FetcherConfiguration)(nil), // 5: buildbarn.configuration.bb_remote_asset.fetch.FetcherConfiguration (*auth.AuthorizerConfiguration)(nil), // 6: buildbarn.configuration.auth.AuthorizerConfiguration + (*zstd.PoolConfiguration)(nil), // 7: buildbarn.configuration.zstd.PoolConfiguration } var file_github_com_buildbarn_bb_remote_asset_pkg_proto_configuration_bb_remote_asset_bb_remote_asset_proto_depIdxs = []int32{ - 2, // 0: buildbarn.configuration.bb_remote_asset.ApplicationConfiguration.grpc_servers:type_name -> buildbarn.configuration.grpc.ServerConfiguration - 3, // 1: buildbarn.configuration.bb_remote_asset.ApplicationConfiguration.content_addressable_storage:type_name -> buildbarn.configuration.blobstore.BlobAccessConfiguration - 4, // 2: buildbarn.configuration.bb_remote_asset.ApplicationConfiguration.global:type_name -> buildbarn.configuration.global.Configuration - 5, // 3: buildbarn.configuration.bb_remote_asset.ApplicationConfiguration.fetcher:type_name -> buildbarn.configuration.bb_remote_asset.fetch.FetcherConfiguration - 1, // 4: buildbarn.configuration.bb_remote_asset.ApplicationConfiguration.asset_cache:type_name -> buildbarn.configuration.bb_remote_asset.AssetCacheConfiguration - 6, // 5: buildbarn.configuration.bb_remote_asset.ApplicationConfiguration.fetch_authorizer:type_name -> buildbarn.configuration.auth.AuthorizerConfiguration - 6, // 6: buildbarn.configuration.bb_remote_asset.ApplicationConfiguration.push_authorizer:type_name -> buildbarn.configuration.auth.AuthorizerConfiguration - 3, // 7: buildbarn.configuration.bb_remote_asset.AssetCacheConfiguration.blob_access:type_name -> buildbarn.configuration.blobstore.BlobAccessConfiguration - 3, // 8: buildbarn.configuration.bb_remote_asset.AssetCacheConfiguration.action_cache:type_name -> buildbarn.configuration.blobstore.BlobAccessConfiguration - 9, // [9:9] is the sub-list for method output_type - 9, // [9:9] is the sub-list for method input_type - 9, // [9:9] is the sub-list for extension type_name - 9, // [9:9] is the sub-list for extension extendee - 0, // [0:9] is the sub-list for field type_name + 2, // 0: buildbarn.configuration.bb_remote_asset.ApplicationConfiguration.grpc_servers:type_name -> buildbarn.configuration.grpc.ServerConfiguration + 3, // 1: buildbarn.configuration.bb_remote_asset.ApplicationConfiguration.content_addressable_storage:type_name -> buildbarn.configuration.blobstore.BlobAccessConfiguration + 4, // 2: buildbarn.configuration.bb_remote_asset.ApplicationConfiguration.global:type_name -> buildbarn.configuration.global.Configuration + 5, // 3: buildbarn.configuration.bb_remote_asset.ApplicationConfiguration.fetcher:type_name -> buildbarn.configuration.bb_remote_asset.fetch.FetcherConfiguration + 1, // 4: buildbarn.configuration.bb_remote_asset.ApplicationConfiguration.asset_cache:type_name -> buildbarn.configuration.bb_remote_asset.AssetCacheConfiguration + 6, // 5: buildbarn.configuration.bb_remote_asset.ApplicationConfiguration.fetch_authorizer:type_name -> buildbarn.configuration.auth.AuthorizerConfiguration + 6, // 6: buildbarn.configuration.bb_remote_asset.ApplicationConfiguration.push_authorizer:type_name -> buildbarn.configuration.auth.AuthorizerConfiguration + 7, // 7: buildbarn.configuration.bb_remote_asset.ApplicationConfiguration.zstd_pool:type_name -> buildbarn.configuration.zstd.PoolConfiguration + 3, // 8: buildbarn.configuration.bb_remote_asset.AssetCacheConfiguration.blob_access:type_name -> buildbarn.configuration.blobstore.BlobAccessConfiguration + 3, // 9: buildbarn.configuration.bb_remote_asset.AssetCacheConfiguration.action_cache:type_name -> buildbarn.configuration.blobstore.BlobAccessConfiguration + 10, // [10:10] is the sub-list for method output_type + 10, // [10:10] is the sub-list for method input_type + 10, // [10:10] is the sub-list for extension type_name + 10, // [10:10] is the sub-list for extension extendee + 0, // [0:10] is the sub-list for field type_name } func init() { diff --git a/pkg/proto/configuration/bb_remote_asset/bb_remote_asset.proto b/pkg/proto/configuration/bb_remote_asset/bb_remote_asset.proto index f82e42c..996ebea 100644 --- a/pkg/proto/configuration/bb_remote_asset/bb_remote_asset.proto +++ b/pkg/proto/configuration/bb_remote_asset/bb_remote_asset.proto @@ -7,6 +7,7 @@ import "github.com/buildbarn/bb-storage/pkg/proto/configuration/auth/auth.proto" import "github.com/buildbarn/bb-storage/pkg/proto/configuration/blobstore/blobstore.proto"; import "github.com/buildbarn/bb-storage/pkg/proto/configuration/global/global.proto"; import "github.com/buildbarn/bb-storage/pkg/proto/configuration/grpc/grpc.proto"; +import "github.com/buildbarn/bb-storage/pkg/proto/configuration/zstd/zstd.proto"; option go_package = "github.com/buildbarn/bb-remote-asset/pkg/proto/configuration/bb_remote_asset"; @@ -50,6 +51,10 @@ message ApplicationConfiguration { // Authorization policy for Push operations buildbarn.configuration.auth.AuthorizerConfiguration push_authorizer = 11; + + // ZSTD encoder/decoder pool configuration. When set, creates a + // process-wide pool shared by all gRPC CAS clients. + buildbarn.configuration.zstd.PoolConfiguration zstd_pool = 12; } message AssetCacheConfiguration { From 6bb9d365275bb5efb216fc512b8c0f4cb7168901 Mon Sep 17 00:00:00 2001 From: Sharmila Jesupaul Date: Mon, 23 Mar 2026 11:06:58 -0700 Subject: [PATCH 4/4] Run formatting --- .../bb_remote_asset/bb_remote_asset.pb.go | 42 ++++++------------- 1 file changed, 12 insertions(+), 30 deletions(-) diff --git a/pkg/proto/configuration/bb_remote_asset/bb_remote_asset.pb.go b/pkg/proto/configuration/bb_remote_asset/bb_remote_asset.pb.go index 272892c..3cc1166 100644 --- a/pkg/proto/configuration/bb_remote_asset/bb_remote_asset.pb.go +++ b/pkg/proto/configuration/bb_remote_asset/bb_remote_asset.pb.go @@ -28,34 +28,19 @@ const ( ) type ApplicationConfiguration struct { - state protoimpl.MessageState `protogen:"open.v1"` - // gRPC servers to spawn to listen for remote asset API connections - GrpcServers []*grpc.ServerConfiguration `protobuf:"bytes,3,rep,name=grpc_servers,json=grpcServers,proto3" json:"grpc_servers,omitempty"` - // The content addressable storage in which the data of the assets - // are stored + state protoimpl.MessageState `protogen:"open.v1"` + GrpcServers []*grpc.ServerConfiguration `protobuf:"bytes,3,rep,name=grpc_servers,json=grpcServers,proto3" json:"grpc_servers,omitempty"` ContentAddressableStorage *blobstore.BlobAccessConfiguration `protobuf:"bytes,4,opt,name=content_addressable_storage,json=contentAddressableStorage,proto3" json:"content_addressable_storage,omitempty"` - // Maximum Protobuf message size to unmarshal. - MaximumMessageSizeBytes int64 `protobuf:"varint,5,opt,name=maximum_message_size_bytes,json=maximumMessageSizeBytes,proto3" json:"maximum_message_size_bytes,omitempty"` - // Common configuration options that apply to all Buildbarn binaries. - Global *global.Configuration `protobuf:"bytes,6,opt,name=global,proto3" json:"global,omitempty"` - // List of instances which can upload to the Cache - // If using an Action Cache backend, uploads may still fail if the - // Action Cache does not allow uploads from the instance name used. - AllowUpdatesForInstances []string `protobuf:"bytes,7,rep,name=allow_updates_for_instances,json=allowUpdatesForInstances,proto3" json:"allow_updates_for_instances,omitempty"` - // Configuration for remote asset FetchServer - Fetcher *fetch.FetcherConfiguration `protobuf:"bytes,8,opt,name=fetcher,proto3" json:"fetcher,omitempty"` - // The configuration of the asset cache, may be omitted to have no - // caching of assets - AssetCache *AssetCacheConfiguration `protobuf:"bytes,9,opt,name=asset_cache,json=assetCache,proto3" json:"asset_cache,omitempty"` - // Authorization policy for Fetch operations - FetchAuthorizer *auth.AuthorizerConfiguration `protobuf:"bytes,10,opt,name=fetch_authorizer,json=fetchAuthorizer,proto3" json:"fetch_authorizer,omitempty"` - // Authorization policy for Push operations - PushAuthorizer *auth.AuthorizerConfiguration `protobuf:"bytes,11,opt,name=push_authorizer,json=pushAuthorizer,proto3" json:"push_authorizer,omitempty"` - // ZSTD encoder/decoder pool configuration. When set, creates a - // process-wide pool shared by all gRPC CAS clients. - ZstdPool *zstd.PoolConfiguration `protobuf:"bytes,12,opt,name=zstd_pool,json=zstdPool,proto3" json:"zstd_pool,omitempty"` - unknownFields protoimpl.UnknownFields - sizeCache protoimpl.SizeCache + MaximumMessageSizeBytes int64 `protobuf:"varint,5,opt,name=maximum_message_size_bytes,json=maximumMessageSizeBytes,proto3" json:"maximum_message_size_bytes,omitempty"` + Global *global.Configuration `protobuf:"bytes,6,opt,name=global,proto3" json:"global,omitempty"` + AllowUpdatesForInstances []string `protobuf:"bytes,7,rep,name=allow_updates_for_instances,json=allowUpdatesForInstances,proto3" json:"allow_updates_for_instances,omitempty"` + Fetcher *fetch.FetcherConfiguration `protobuf:"bytes,8,opt,name=fetcher,proto3" json:"fetcher,omitempty"` + AssetCache *AssetCacheConfiguration `protobuf:"bytes,9,opt,name=asset_cache,json=assetCache,proto3" json:"asset_cache,omitempty"` + FetchAuthorizer *auth.AuthorizerConfiguration `protobuf:"bytes,10,opt,name=fetch_authorizer,json=fetchAuthorizer,proto3" json:"fetch_authorizer,omitempty"` + PushAuthorizer *auth.AuthorizerConfiguration `protobuf:"bytes,11,opt,name=push_authorizer,json=pushAuthorizer,proto3" json:"push_authorizer,omitempty"` + ZstdPool *zstd.PoolConfiguration `protobuf:"bytes,12,opt,name=zstd_pool,json=zstdPool,proto3" json:"zstd_pool,omitempty"` + unknownFields protoimpl.UnknownFields + sizeCache protoimpl.SizeCache } func (x *ApplicationConfiguration) Reset() { @@ -229,13 +214,10 @@ type isAssetCacheConfiguration_Backend interface { } type AssetCacheConfiguration_BlobAccess struct { - // Cache assets in a specific storage instance exclusively for - // caching assets BlobAccess *blobstore.BlobAccessConfiguration `protobuf:"bytes,1,opt,name=blob_access,json=blobAccess,proto3,oneof"` } type AssetCacheConfiguration_ActionCache struct { - // Cache assets in an existing action cache ActionCache *blobstore.BlobAccessConfiguration `protobuf:"bytes,2,opt,name=action_cache,json=actionCache,proto3,oneof"` }