Skip to content

Removed obsolete patches

0fd0e0f
Select commit
Loading
Failed to load commit list.
Merged

ruby4.0-net-http-persistent/4.0.8 package update #76989

Removed obsolete patches
0fd0e0f
Select commit
Loading
Failed to load commit list.
Octo STS / staging-autofix succeeded Jan 6, 2026 in 0s

Merge report generated

Merge Report

First Commit SHA: 017f0da6eb48486967a0a0df07775652bca31de4

Embeddings Stored

Stored 3 embedding(s) in the vector index:

  • Datapoint ID: 02580fd4-1497-4e20-97e5-ced7473f765e
    Error: Reversed (or previously applied) patch detected! Hunk #X ignored -- saving rejects to file

  • Datapoint ID: ac73d752-db1d-4c8d-a63e-32c6a325e08c
    Error: Updates are available for chainctl (current version: 0.2.185; latest: 0.2.187). To install, please run: $ chainctl update

  • Datapoint ID: 8c95bafa-a034-4969-a3b4-a3d0cd43fac1
    Error: qemu: waiting for SSH
    conn read: read tcp 127.0.0.1:36106->127.0.0.1:37453: i/o timeout

Patch

From 0fd0e0ff6624b718869313780adce0d6681ca5af Mon Sep 17 00:00:00 2001
From: Amber Arcadia <[email protected]>
Date: Tue, 6 Jan 2026 13:02:16 -0500
Subject: [PATCH] Removed obsolete patches

---
 ruby4.0-net-http-persistent.yaml              |   4 -
 .../support-connection_pool-3.0.patch         | 117 ------------------
 2 files changed, 121 deletions(-)
 delete mode 100644 ruby4.0-net-http-persistent/support-connection_pool-3.0.patch

diff --git a/ruby4.0-net-http-persistent.yaml b/ruby4.0-net-http-persistent.yaml
index 7aea327605c..b18a287e86c 100644
--- a/ruby4.0-net-http-persistent.yaml
+++ b/ruby4.0-net-http-persistent.yaml
@@ -29,10 +29,6 @@ pipeline:
       repository: https://github.com/drbrain/net-http-persistent
       tag: v${{package.version}}
 
-  - uses: patch
-    with:
-      patches: support-connection_pool-3.0.patch
-
   - uses: ruby/build
     with:
       gem: ${{vars.gem}}
diff --git a/ruby4.0-net-http-persistent/support-connection_pool-3.0.patch b/ruby4.0-net-http-persistent/support-connection_pool-3.0.patch
deleted file mode 100644
index c3064b40a07..00000000000
--- a/ruby4.0-net-http-persistent/support-connection_pool-3.0.patch
+++ /dev/null
@@ -1,117 +0,0 @@
-From b0f457a47aecef225e766c8843350c6546ea3d56 Mon Sep 17 00:00:00 2001
-From: Jukka Rautanen <[email protected]>
-Date: Mon, 8 Dec 2025 14:02:19 +0200
-Subject: [PATCH] Add support for connection_pool 3
-
-Origin: https://github.com/drbrain/net-http-persistent/pull/163
-
----
- lib/net/http/persistent/pool.rb                    |  2 +-
- lib/net/http/persistent/timed_stack_multi.rb       | 11 ++++++++++-
- net-http-persistent.gemspec                        |  2 +-
- test/test_net_http_persistent_timed_stack_multi.rb | 12 +++++++-----
- 4 files changed, 19 insertions(+), 8 deletions(-)
-
-diff --git a/lib/net/http/persistent/pool.rb b/lib/net/http/persistent/pool.rb
-index 220c70e..db63822 100644
---- a/lib/net/http/persistent/pool.rb
-+++ b/lib/net/http/persistent/pool.rb
-@@ -4,7 +4,7 @@ class Net::HTTP::Persistent::Pool < ConnectionPool # :nodoc:
-   attr_reader :key # :nodoc:
- 
-   def initialize(options = {}, &block)
--    super
-+    super(**options, &block)
- 
-     @available = Net::HTTP::Persistent::TimedStackMulti.new(@size, &block)
-     @key = "current-#{@available.object_id}"
-diff --git a/lib/net/http/persistent/timed_stack_multi.rb b/lib/net/http/persistent/timed_stack_multi.rb
-index 9924a0a..ac7fdf8 100644
---- a/lib/net/http/persistent/timed_stack_multi.rb
-+++ b/lib/net/http/persistent/timed_stack_multi.rb
-@@ -1,5 +1,10 @@
- class Net::HTTP::Persistent::TimedStackMulti < ConnectionPool::TimedStack # :nodoc:
- 
-+  ##
-+  # Detects if ConnectionPool 3.0+ is being used (needed for TimedStack subclass compatibility)
-+
-+  CP_USES_KEYWORD_ARGS = Gem::Version.new(ConnectionPool::VERSION) >= Gem::Version.new('3.0.0') # :nodoc:
-+
-   ##
-   # Returns a new hash that has arrays for keys
-   #
-@@ -11,7 +16,11 @@ def self.hash_of_arrays # :nodoc:
-   end
- 
-   def initialize(size = 0, &block)
--    super
-+    if CP_USES_KEYWORD_ARGS
-+      super(size: size, &block)
-+    else
-+      super(size, &block)
-+    end
- 
-     @enqueued = 0
-     @ques = self.class.hash_of_arrays
-diff --git a/net-http-persistent.gemspec b/net-http-persistent.gemspec
-index 5eb683f..b9bf237 100644
---- a/net-http-persistent.gemspec
-+++ b/net-http-persistent.gemspec
-@@ -17,6 +17,6 @@ Gem::Specification.new do |s|
-   s.required_ruby_version = ">= 2.4".freeze
-   s.summary = "Manages persistent connections using Net::HTTP including a thread pool for connecting to multiple hosts".freeze
- 
--  s.add_runtime_dependency(%q<connection_pool>.freeze, ["~> 2.2", ">= 2.2.4"])
-+  s.add_runtime_dependency(%q<connection_pool>.freeze, [">= 2.2.4", "< 4"])
- end
- 
-diff --git a/test/test_net_http_persistent_timed_stack_multi.rb b/test/test_net_http_persistent_timed_stack_multi.rb
-index 38e191c..9288f92 100644
---- a/test/test_net_http_persistent_timed_stack_multi.rb
-+++ b/test/test_net_http_persistent_timed_stack_multi.rb
-@@ -29,7 +29,7 @@ def test_empty_eh
- 
-     assert_empty stack
- 
--    stack.push connection_args: popped
-+    stack.push popped, connection_args: 'default'
- 
-     refute_empty stack
-   end
-@@ -43,7 +43,7 @@ def test_length
- 
-     assert_equal 0, stack.length
- 
--    stack.push connection_args: popped
-+    stack.push popped, connection_args: 'default'
- 
-     assert_equal 1, stack.length
-   end
-@@ -113,7 +113,7 @@ def test_push
- 
-     conn = stack.pop
- 
--    stack.push connection_args: conn
-+    stack.push conn, connection_args: 'default'
- 
-     refute_empty stack
-   end
-@@ -125,14 +125,16 @@ def test_push_shutdown
-       called << object
-     end
- 
--    @stack.push connection_args: Object.new
-+    obj = Object.new
-+    @stack.push obj, connection_args: 'default'
- 
-     refute_empty called
-     assert_empty @stack
-   end
- 
-   def test_shutdown
--    @stack.push connection_args: Object.new
-+    obj = Object.new
-+    @stack.push obj, connection_args: 'default'
- 
-     called = []
-