Repository navigation
Conversation
- Move shlex import to top level - Use OS enum instead of string comparison - Catch specific exceptions in find_server_process - Fix mutable default arguments in fill_desired_game_state - Add ClassVar type hints to logging constants
MrCrystAll
reviewed
Nov 28, 2026
This branch has not been deployed
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The Python TOML helpers did not always produce the same match configuration as core. For example, a relative
loadout_filecould fail when the working directory differed from the match config directory. Server discovery also mistook the game port for the socket port whenRLBotServerstarted with both arguments.Changes
auto_start, platform environment overrides, and the Psyonix fallback with core. Expand platform environment values once and report invalid numeric enum values asConfigParsingException..exesuffix when looking up a server by an explicit path.uvand document how to run the tests.2.0.0-beta.58.Fixes #44. Related to #45: the loadout regressions above are covered by tests, but the exact symptom reported there has not been confirmed.
Why use
Nonefor game-state defaults?Python evaluates a default argument when it defines the function, not each time it calls the function. With
balls={}orcars={}, calls that omit the argument reuse the same dictionary, even across instances of the same manager class. If a call mutates that dictionary, later calls can see the change.set_game_state_parts()now usesNoneto mean no ball or car updates. The helper does not mutate the dictionaries today, so callers that omit those arguments still send the same game-state message.Testing
uv run --locked pytest -q testspassed all 73 tests. Server discovery tests use mocked process data. No live Windows server or Rocket League match was tested.