Skip to content

Commit 35b723b

Browse files
ssteele110claude
andcommitted
Fix method name mismatch in master takeover logic
The respond_to? check was looking for :run_master_setup but the actual method is named :execute_master_setup, causing takeover to succeed but never run setup or return early, eventually timing out with LostMaster. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 9912e28 commit 35b723b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎ruby/lib/ci/queue/redis/base.rb‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def wait_for_master(timeout: 120)
6969
if queue_initializing? && master_setup_heartbeat_stale?
7070
if respond_to?(:attempt_master_takeover, true) && attempt_master_takeover
7171
# Takeover succeeded - run master setup
72-
if respond_to?(:run_master_setup, true)
72+
if respond_to?(:execute_master_setup, true)
7373
execute_master_setup
7474
return true
7575
end

0 commit comments

Comments
 (0)