apollo_integration_tests: fix port allocation to generate unique ports per node#12855
Merged
nadin-Starkware merged 1 commit intomain-v0.14.2from Feb 26, 2026
Conversation
Collaborator
Author
This stack of pull requests is managed by Graphite. Learn more about stacking. |
Itay-Tsabary-Starkware
approved these changes
Feb 26, 2026
Contributor
Itay-Tsabary-Starkware
left a comment
There was a problem hiding this comment.
@Itay-Tsabary-Starkware reviewed 1 file and all commit messages, and made 1 comment.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on nadin-Starkware).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Note
Low Risk
Small, localized change to test-only port allocation; main risk is unintended shifts in port assignment that could reveal hidden assumptions in existing tests.
Overview
Fixes integration-test node setup so each node gets its own fresh
AvailablePortsallocation when generating configs.get_sequencer_setup_configsnow advances theAvailablePortsGeneratorinside the per-node creation loop rather than once for all nodes, preventing multiple nodes from accidentally sharing the same port pool and colliding at runtime.Written by Cursor Bugbot for commit 7e0938c. This will update automatically on new commits. Configure here.