Skip to content

test(cluster): stop two recreate tests assuming which server takes the first turn - #139

Merged
Mearman merged 1 commit into
mainfrom
test/server-recreate-order
Oct 21, 2026
Merged

Mearman merged 1 commit into
mainfrom
test/server-recreate-order

Conversation

@Mearman

@Mearman Mearman commented Oct 21, 2026

Copy link
Copy Markdown
Member

test_every_server_whose_configuration_changed_is_recreated and test_a_bootstrap_server_restarted_before_anything_joined_it_is_recreated_without_a_wait failed intermittently in CI, the first on a push to main. The role says which server takes the first turn depends on which host's result arrives first, but the first test compared the stub's registered nodes as an ordered list and the second ran every server's turn, so a server that went before the bootstrap server registered itself and left the bootstrap server a peer that was not Ready.

…e first turn

The servers' turns come in the order their hosts' results arrive, which
the role documents as not fixed. One test compared the registered nodes
as an ordered list, and another expected the bootstrap server to find
no peers although a server that went first had registered itself. They
now compare the registered nodes as a mapping and put only the
bootstrap server in the play.
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
🔒 Security Review ⚠️ Failed 2026-10-21T06:52:20.928343Z
We couldn’t complete this review. Comment @codex security review to try again.
8d9ccee PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

This security review couldn’t start because the paying account has exhausted its Codex allowance and has insufficient available credits. The payer can check their balance and add credits in the Codex usage dashboard, then try again. If you do not manage the paying account, contact this repository's admins.

@Mearman
Mearman merged commit fe5065d into main Oct 21, 2026
14 checks passed
@Mearman
Mearman deleted the test/server-recreate-order branch October 21, 2026 07:00
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 2.7.6 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant