Skip to content

Conversation

@cjen1-msft
Copy link
Contributor

If the first node queried was still live and had opened, then the script would immediately exit making the next request to the submit_recovery_shares fail, if it chose a failed node.

This way the only exit is either the all complete path, or the timeout path.

@cjen1-msft cjen1-msft marked this pull request as ready for review January 7, 2026 13:42
@cjen1-msft cjen1-msft requested a review from a team as a code owner January 7, 2026 13:42
Copilot AI review requested due to automatic review settings January 7, 2026 13:42
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes a premature exit bug in the start_in_self_healing_open method where the function would return immediately after the first node successfully opened, potentially causing subsequent recovery share submissions to fail if they targeted nodes that hadn't finished their self-healing process.

Key Changes:

  • Replaced early return statement with waiting_nodes.remove(node) to ensure all nodes complete their self-healing process before the function exits

@cjen1-msft cjen1-msft marked this pull request as draft January 7, 2026 13:50
@cjen1-msft cjen1-msft added the run-long-test Run Long Test job label Jan 7, 2026
@cjen1-msft cjen1-msft marked this pull request as ready for review January 7, 2026 14:03
@cjen1-msft cjen1-msft marked this pull request as draft January 7, 2026 16:05
@cjen1-msft
Copy link
Contributor Author

cjen1-msft commented Jan 7, 2026

Pipelined behind #7561 as this PR's CI is failing frequently due to it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

run-long-test Run Long Test job

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants