Skip to content

v2.3: ci: ensure bootstrap node is ready before starting other nodes (backport of #7321)#7382

Merged
steviez merged 1 commit intov2.3from
mergify/bp/v2.3/pr-7321
Aug 7, 2025
Merged

v2.3: ci: ensure bootstrap node is ready before starting other nodes (backport of #7321)#7382
steviez merged 1 commit intov2.3from
mergify/bp/v2.3/pr-7321

Conversation

@mergify
Copy link
Copy Markdown

@mergify mergify Bot commented Aug 7, 2025

Problem

context: https://discord.com/channels/428295358100013066/560503042458517505/1402093272872128613

localnet test is flaky

Summary of Changes

in the startNodes function, we have a comment that makes sense, but the actual logic doesn’t quite align with it.

let’s say we have three nodes: the bootstrap node, node 1, and node 2. the current logic starts the nodes in order: first the bootstrap node (index 0), then node 1 (index 1), and so on. however, when starting node 1, the code waits for its own init-complete file instead of checking if the bootstrap node (node 0) is ready. I’ve moved the init-complete check to the top of the loop. this way, when we start node 1, we’ll correctly wait for node 0’s init-complete log (the bootstrap node) before proceeding


This is an automatic backport of pull request #7321 done by Mergify.

@mergify mergify Bot requested a review from a team as a code owner August 7, 2025 17:17
@mergify mergify Bot assigned steviez Aug 7, 2025
Copy link
Copy Markdown

@bw-solana bw-solana left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Copy Markdown

@steviez steviez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hopefully not too many more v2.3 BP's, but doesn't hurt to have this so LGTM

@steviez steviez merged commit 14bf3f1 into v2.3 Aug 7, 2025
19 checks passed
@steviez steviez deleted the mergify/bp/v2.3/pr-7321 branch August 7, 2025 21:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants