public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/buildbox] f43: Update to 1.4.28 upstream release
@ 2026-10-20 15:53 Packit
0 siblings, 0 replies; only message in thread
From: Packit @ 2026-10-20 15:53 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/buildbox
Branch : f43
Commit : 9b306e5c3e8e7db7edb0d028527a2559db5c672d
Author : Packit <hello@packit.dev>
Date : 2026-10-19T17:57:12+01:00
Stats : +5/-112 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/buildbox/c/9b306e5c3e8e7db7edb0d028527a2559db5c672d?branch=f43
Log:
Update to 1.4.28 upstream release
- Resolves: rhbz#2542621
Upstream tag: 1.4.28
Upstream commit: 09266709
Commit authored by Packit automation (https://packit.dev/)
---
diff --git a/.gitignore b/.gitignore
index defa681..12a44f3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -34,3 +34,4 @@
/buildbox-1.4.20.tar.bz2
/buildbox-1.4.22.tar.bz2
/buildbox-1.4.26.tar.bz2
+/buildbox-1.4.28.tar.bz2
diff --git a/0001-casd-fix-default-cleanup-threshold-test-on-non-x86.patch b/0001-casd-fix-default-cleanup-threshold-test-on-non-x86.patch
deleted file mode 100644
index 86eb402..0000000
--- a/0001-casd-fix-default-cleanup-threshold-test-on-non-x86.patch
+++ /dev/null
@@ -1,105 +0,0 @@
-From f88a92f5f8098a05eb922dc35fafaac5326826b3 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Javier=20Jard=C3=B3n?= <jjardon@gnome.org>
-Date: Wed, 23 Sep 2026 01:27:52 +0100
-Subject: [PATCH] casd: fix default cleanup-threshold test on non-x86
-
-CmdLineSpecTest.NoActionCacheProxy fails on aarch64, ppc64le
-and s390x with the following:
-
- casd/test/buildboxcasd_cmdlinespec.t.cpp:310: Failure
- Expected equality of these values:
- 0.8775
- daemon.d_cleanupThresholdRatio
- Which is: 0.87750000000000006
- [ FAILED ] CmdLineSpecTest.NoActionCacheProxy
-
-Assert the computed default instead of the rounded literal.
-
-The helper is shared with configure() so the expected value
-is the same expression, not a second copy of 0.65 in the test file.
----
- casd/buildboxcasd_daemon.cpp | 4 +---
- casd/buildboxcasd_daemon.h | 10 ++++++++++
- casd/test/buildboxcasd_cmdlinespec.t.cpp | 9 ++++++---
- 3 files changed, 17 insertions(+), 6 deletions(-)
-
-diff --git a/casd/buildboxcasd_daemon.cpp b/casd/buildboxcasd_daemon.cpp
-index 43774007..90da6449 100644
---- a/casd/buildboxcasd_daemon.cpp
-+++ b/casd/buildboxcasd_daemon.cpp
-@@ -58,7 +58,6 @@ namespace {
- constexpr unsigned int DEFAULT_MAX_NUM_DIGEST_THREADS = 16;
- constexpr unsigned int DEFAULT_MAX_NUM_IO_THREADS = 64;
- constexpr int PERCENTAGE_BASE = 100;
--constexpr double DEFAULT_CLEANUP_THRESHOLD_QUOTA_RATIO = 0.65;
-
- std::pair<std::vector<std::string>,
- std::unordered_map<std::string, std::string>>
-@@ -458,8 +457,7 @@ bool Daemon::configure(const buildboxcommon::CommandLine &cml,
- else {
- // Default to 65% of the way from the low to the high quota
- d_cleanupThresholdRatio =
-- d_quotaLowRatio +
-- DEFAULT_CLEANUP_THRESHOLD_QUOTA_RATIO * (1 - d_quotaLowRatio);
-+ defaultCleanupThresholdRatio(d_quotaLowRatio);
- BUILDBOX_LOG_INFO(
- "--cleanup-threshold was not specified, defaulting to 65% of the "
- "way from the low to the high quota: "
-diff --git a/casd/buildboxcasd_daemon.h b/casd/buildboxcasd_daemon.h
-index 8b6e65f4..8f5fb1cb 100644
---- a/casd/buildboxcasd_daemon.h
-+++ b/casd/buildboxcasd_daemon.h
-@@ -35,6 +35,16 @@ namespace proto {
- using namespace build::bazel::remote::execution::v2;
- } // namespace proto
-
-+// Fraction of the remaining quota range used when --cleanup-threshold
-+// is omitted.
-+constexpr double DEFAULT_CLEANUP_THRESHOLD_QUOTA_RATIO = 0.65;
-+
-+constexpr double defaultCleanupThresholdRatio(double quotaLowRatio)
-+{
-+ return quotaLowRatio +
-+ DEFAULT_CLEANUP_THRESHOLD_QUOTA_RATIO * (1.0 - quotaLowRatio);
-+}
-+
- class Daemon {
- public:
- Daemon() = default;
-diff --git a/casd/test/buildboxcasd_cmdlinespec.t.cpp b/casd/test/buildboxcasd_cmdlinespec.t.cpp
-index 7b96867c..c72ea165 100644
---- a/casd/test/buildboxcasd_cmdlinespec.t.cpp
-+++ b/casd/test/buildboxcasd_cmdlinespec.t.cpp
-@@ -307,7 +307,8 @@ TEST(CmdLineSpecTest, NoActionCacheProxy)
- EXPECT_EQ("127.0.0.1:50011", daemon.d_bind_addresses.front());
- EXPECT_EQ(0.65, daemon.d_quotaLowRatio);
- EXPECT_EQ(64000000000, daemon.d_quotaHigh);
-- EXPECT_EQ(0.8775, daemon.d_cleanupThresholdRatio);
-+ EXPECT_EQ(buildboxcasd::defaultCleanupThresholdRatio(daemon.d_quotaLowRatio),
-+ daemon.d_cleanupThresholdRatio);
- EXPECT_EQ(3000000000, daemon.d_reserved_space);
- EXPECT_TRUE(daemon.d_protect_session_blobs);
- EXPECT_EQ(30, daemon.d_proxy_findmissingblobs_cache_ttl_seconds);
-@@ -356,7 +357,8 @@ TEST(CmdLineSpecTest, ReadOnlyArg)
- EXPECT_EQ("127.0.0.1:50011", daemon.d_bind_addresses.front());
- EXPECT_EQ(0.8, daemon.d_quotaLowRatio);
- EXPECT_EQ(64000000000, daemon.d_quotaHigh);
-- EXPECT_EQ(0.93, daemon.d_cleanupThresholdRatio);
-+ EXPECT_EQ(buildboxcasd::defaultCleanupThresholdRatio(daemon.d_quotaLowRatio),
-+ daemon.d_cleanupThresholdRatio);
- EXPECT_EQ(3000000000, daemon.d_reserved_space);
- EXPECT_TRUE(daemon.d_protect_session_blobs);
- EXPECT_EQ(30, daemon.d_proxy_findmissingblobs_cache_ttl_seconds);
-@@ -593,7 +595,8 @@ TEST(CmdLineSpecTest, CleanupThresholdDefaultsToFractionOfQuotaRange)
- buildboxcasd::Daemon daemon;
- parse(daemon, args.size(), args.data());
-
-- EXPECT_EQ(0.93, daemon.d_cleanupThresholdRatio);
-+ EXPECT_EQ(buildboxcasd::defaultCleanupThresholdRatio(daemon.d_quotaLowRatio),
-+ daemon.d_cleanupThresholdRatio);
- }
-
- TEST(CmdLineSpecTest, CleanupThresholdBelowQuotaLow)
---
-2.55.0
-
diff --git a/README.packit b/README.packit
index 5fae86e..f1307cd 100644
--- a/README.packit
+++ b/README.packit
@@ -1,3 +1,3 @@
This repository is maintained by packit.
https://packit.dev/
-The file was generated using packit 1.16.3.post1.dev4+gbf42df0bb.
+The file was generated using packit 1.16.3.post1.dev27+g2e3440a26.
diff --git a/buildbox.spec b/buildbox.spec
index 2a6916e..a5b3fe4 100644
--- a/buildbox.spec
+++ b/buildbox.spec
@@ -1,16 +1,13 @@
Name: buildbox
-Version: 1.4.26
+Version: 1.4.28
Release: %autorelease
Summary: Building blocks to execute actions conforming to the Remote Execution API
License: Apache-2.0
URL: https://buildgrid.gitlab.io/buildbox/buildbox-home/
Source0: https://gitlab.com/BuildGrid/buildbox/buildbox/-/archive/%{version}/buildbox-%{version}.tar.bz2
-# CmdLineSpecTest.NoActionCacheProxy: EXPECT_EQ(0.8775, cleanupThreshold)
-# fails on aarch64/ppc64le/s390x (0.87750000000000006).
-Patch0: 0001-casd-fix-default-cleanup-threshold-test-on-non-x86.patch
-ExcludeArch: %{ix86}
+ExcludeArch: %{ix86} s390x
BuildRequires: attr
BuildRequires: cmake
diff --git a/sources b/sources
index 6669d42..265456d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (buildbox-1.4.26.tar.bz2) = 964f08f3723381a1890472aa7882558b710549e1eaf37f6ba59dd9c680c7bd2b73022924d1c9a04ae5dd77f786fb4d8af7eba10ee4366826a0b9812b4e9fa31c
+SHA512 (buildbox-1.4.28.tar.bz2) = 182d4073cc906f21bb6ba811bd38d80cb7b330ab9d9b81c7e30f7fbbc8e43861ff09656957664c9a8eb96e9c826c7323bf0b99f9d8cc570e89f756460539fd24
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-20 15:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-20 15:53 [rpms/buildbox] f43: Update to 1.4.28 upstream release Packit
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox