Repository navigation
make_game, find_hash_lookup, tests/glb: Windows path, joaat encoding, and test device fixes - #5913
Open
HalpDmaGetIommuInterface wants to merge 5 commits into
Conversation
1 of 2 tasks
thiefyzheng
reviewed
Nov 23, 2026
thiefyzheng
left a comment
There was a problem hiding this comment.
Code read at 1646c4b5 (AI-assisted review, per AGENTS.md).
The find_hash_lookup hunk is correct and identical to #4753 and #4882: encode("latin-1", "replace") is the one-line fix that takes tests/test_joaat_agreement.py from 6 failures to OK at 561b65a832.
Two things before this can merge
- It does not apply to current
main.git applyat561b65a832succeeds onmake_game.pyandtools/find_hash_lookup.pyand fails ontests/test_glb_inspect.py(patch failed: tests/test_glb_inspect.py:300), so this needs a rebase regardless of what the API reports as the base. - It bundles three unrelated items — a
tool_available()/shlexchange inmake_game.py, the joaat encoding fix, and a glb test-device fix. One reviewable item per PR is what makes a fast merge here; split into three and the joaat one lands immediately (or drops in favour of #4753, which carries the regression pin).
1 of 2 tasks
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.
Item: Windows tool preflight path parsing, JOAAT latin-1 encoding agreement, and test GLB DOS device fix
Claimed in #5581.
Summary
make_game.py:tool_availablenow usesshlex.splitso quoted executable paths containing spaces (e.g."C:\Program Files\...") do not split into nonexistent paths likeC:\Program. Fixestest_make_game_preflight.pyon Windows.tools/find_hash_lookup.py: aligned joaat hashing to.encode("latin-1", "replace")matchingtools/hashdict.pyand RAGE engine convention. Fixestest_joaat_agreement.pyon non-ASCII characters.tests/test_glb_inspect.py: renamed test fixture fromnul.glbtonul_padded.glbto prevent Windows from treating it as the DOSNULreserved device (which discards writes). Fixestest_glb_inspect.pyon Windows.Testing
python -m compileall -q make_game.py tools/find_hash_lookup.py tests/test_glb_inspect.py(clean)python -I tests/test_make_game_preflight.py(81/81 OK)python -I tests/test_joaat_agreement.py(2/2 OK)python -I tests/test_glb_inspect.py(24/24 OK)python -I tests/test_text_write_line_endings.py(3/3 OK)AI-assisted: yes.