Skip to content

fix: fit every test group's ports below the ephemeral range - #143

Merged
Timerk merged 1 commit into
mainfrom
fix/test-port-blocks
Nov 25, 2026
Merged

Timerk merged 1 commit into
mainfrom
fix/test-port-blocks

Conversation

@Timerk

@Timerk Timerk commented Nov 25, 2026

Copy link
Copy Markdown
Owner

Summary

main CI fails in the changes job after #138: ci_performance_test.test_group_ports_stay_disjoint_below_ephemeral_ranges reports 33089 not less than 32768. The galaxy gate tests brought the windows suite to 58 groups. At a 400-port stride, the last group's port block (10000 + 57 × 400 + 289) crossed into the Linux ephemeral range, where client sockets can take a fixed server port.

This lowers PORT_STRIDE in tools/check-game.py from 400 to 320. That is still above the 289-port span of the test fixtures, which the test asserts, and it leaves room for 71 groups below 32768.

Validation

  • tests/ci_performance_test.py: 15 tests pass.

Blocks #141 and #142, whose changes job fails the same way.

🤖 Generated with Claude Code

The windows suite grew to 58 groups with the galaxy gate tests, pushing the
last 400-port block past 32768 and failing ci_performance_test on main.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Timerk
Timerk merged commit 65d45ea into main Nov 25, 2026
4 checks passed
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.

1 participant