test(relinker): decode relinker output as UTF-8 in the path-checking tests #9513

Merged
harisibrar1 merged 3 commits from upstream-pr/9513 into main 2026-10-25 19:31:27 +00:00
harisibrar1 commented 2026-10-21 23:57:32 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by harisibrar1 on 2026-10-21T23:57:32Z.


What

The relinker writes paths to stdout, stderr and its patch manifest as UTF-8, but seven relinker test scripts decode them with the locale encoding (subprocess.run(..., text=True) with no encoding, and a bare read_text()). On Windows that is the ANSI code page. The relinker tests keep their temporary files under <build>/core/relinker/test-temp (core/relinker/CMakeLists.txt), so with a build directory that contains non-ASCII characters (for example under a user profile like C:/Users/José/) the asserted paths no longer match and these tests fail, e.g. test_input_file.py sees the relinker path ...\ünï\... as ...\�n�\....

#2692 fixed the relinker itself for such directories; these tests still read its output with the locale encoding. Affected: game_patches, guest_needed_modules, guest_symbol_names, input_file, input_preservation, relinker_executables, tls_diagnostics. The change passes encoding="utf-8" to the relinker runs in those scripts and reads the patch manifest as UTF-8, as test_input_nonascii.py already does. Runs of the converted programs are unchanged.

Tested

Windows 11, WinLibs GCC 15.2.0 r7, relinker-only build (-DANYPS5_RELINKER_ONLY=ON -DBUILD_TESTING=ON), Python 3.14, on main a6dcea927, build directory C:/Users/Haris/ANYPS5/pathhunt/ünï/b:

  • With main's scripts, tls_diagnostics, relinker_executables, game_patches, guest_symbol_names, input_preservation and input_file fail on path assertions (0/6 pass); rerunning them with PYTHONUTF8=1 passes, confirming the cause. With this branch all six pass. guest_needed_modules gets past its path assertion and then stops where this machine's Smart App Control blocks the converted executables (WinError 4551), which also happens in an ASCII build directory.
  • Full ctest in that directory with this branch has the same failure set as an ASCII build directory, except three C++ tests (autorun_exit_status, windows_dependency_diagnostics, windows_diagnostic_fixture_isolation) that throw filesystem error: Cannot convert character sequence from path::string(); that is a separate issue for a follow-up.
  • ASCII build directory: same ctest results before and after.
  • The diff only adds encoding="utf-8" (27 call sites in 7 files).
  • tools/check_conventions.py --base origin/main passes; tools/pr_overlap.py --branch reports no overlap with open pull requests.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes

🤖 Generated with Claude Code

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4959961004 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9513). Originally posted by [harisibrar1](https://github.com/harisibrar1) on 2026-10-21T23:57:32Z. --- ### What The relinker writes paths to stdout, stderr and its patch manifest as UTF-8, but seven relinker test scripts decode them with the locale encoding (`subprocess.run(..., text=True)` with no `encoding`, and a bare `read_text()`). On Windows that is the ANSI code page. The relinker tests keep their temporary files under `<build>/core/relinker/test-temp` (`core/relinker/CMakeLists.txt`), so with a build directory that contains non-ASCII characters (for example under a user profile like `C:/Users/José/`) the asserted paths no longer match and these tests fail, e.g. `test_input_file.py` sees the relinker path `...\ünï\...` as `...\�n�\...`. #2692 fixed the relinker itself for such directories; these tests still read its output with the locale encoding. Affected: `game_patches`, `guest_needed_modules`, `guest_symbol_names`, `input_file`, `input_preservation`, `relinker_executables`, `tls_diagnostics`. The change passes `encoding="utf-8"` to the relinker runs in those scripts and reads the patch manifest as UTF-8, as `test_input_nonascii.py` already does. Runs of the converted programs are unchanged. ### Tested Windows 11, WinLibs GCC 15.2.0 r7, relinker-only build (`-DANYPS5_RELINKER_ONLY=ON -DBUILD_TESTING=ON`), Python 3.14, on main a6dcea927, build directory `C:/Users/Haris/ANYPS5/pathhunt/ünï/b`: - With main's scripts, `tls_diagnostics`, `relinker_executables`, `game_patches`, `guest_symbol_names`, `input_preservation` and `input_file` fail on path assertions (0/6 pass); rerunning them with `PYTHONUTF8=1` passes, confirming the cause. With this branch all six pass. `guest_needed_modules` gets past its path assertion and then stops where this machine's Smart App Control blocks the converted executables (WinError 4551), which also happens in an ASCII build directory. - Full ctest in that directory with this branch has the same failure set as an ASCII build directory, except three C++ tests (`autorun_exit_status`, `windows_dependency_diagnostics`, `windows_diagnostic_fixture_isolation`) that throw `filesystem error: Cannot convert character sequence` from `path::string()`; that is a separate issue for a follow-up. - ASCII build directory: same ctest results before and after. - The diff only adds `encoding="utf-8"` (27 call sites in 7 files). - `tools/check_conventions.py --base origin/main` passes; `tools/pr_overlap.py --branch` reports no overlap with open pull requests. ### Checklist <!-- Rules behind each item: https://github.com/boykopovar/AnyPS5/blob/main/CONTRIBUTING.md --> - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] Fixes: none - [x] Unblocks: none - [x] GPUs tested: n/a - [x] AI-assisted: yes 🤖 Generated with [Claude Code](https://claude.com/claude-code)
MarcZX10 commented 2026-10-22 00:09:34 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-22T00:09:34Z.

Review: APPROVED


Reviewed the current test-only diff: every changed relinker subprocess result is decoded explicitly as UTF-8, and the generated patch manifest is read as UTF-8, matching the relinker’s output contract and the existing non-ASCII path test. This leaves the executed programs and assertions unchanged. The PR reports Windows reproduction under a non-ASCII build path, six affected path assertions failing on main and passing on the branch, plus unchanged ASCII-path results; the guest_needed_modules Smart App Control failure is clearly isolated. All four relinker matrix jobs and ASan pass, as do current eligibility/intake/conventions/labels checks. I did not rerun the suite locally.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5607737617 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9513#pullrequestreview-5607737617). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-22T00:09:34Z. **Review:** APPROVED --- Reviewed the current test-only diff: every changed relinker subprocess result is decoded explicitly as UTF-8, and the generated patch manifest is read as UTF-8, matching the relinker’s output contract and the existing non-ASCII path test. This leaves the executed programs and assertions unchanged. The PR reports Windows reproduction under a non-ASCII build path, six affected path assertions failing on main and passing on the branch, plus unchanged ASCII-path results; the `guest_needed_modules` Smart App Control failure is clearly isolated. All four relinker matrix jobs and ASan pass, as do current eligibility/intake/conventions/labels checks. I did not rerun the suite locally.
MarcZX10 commented 2026-10-22 02:05:53 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-22T02:05:53Z.

Review: APPROVED


Rechecked the current test-only diff and CI. The seven affected scripts now decode relinker output and the generated manifest explicitly as UTF-8, matching the relinker output contract; command execution and assertions are unchanged. The reported non-ASCII Windows build-path run distinguishes the path failures fixed here from the Smart App Control block that also occurs in an ASCII directory. Eligibility, conventions, intake and labels pass; Ubuntu, Windows, macOS arm64/x86_64 and ASAN relinker jobs pass. Product jobs are skipped. I did not rerun tests locally.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5608447396 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9513#pullrequestreview-5608447396). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-22T02:05:53Z. **Review:** APPROVED --- Rechecked the current test-only diff and CI. The seven affected scripts now decode relinker output and the generated manifest explicitly as UTF-8, matching the relinker output contract; command execution and assertions are unchanged. The reported non-ASCII Windows build-path run distinguishes the path failures fixed here from the Smart App Control block that also occurs in an ASCII directory. Eligibility, conventions, intake and labels pass; Ubuntu, Windows, macOS arm64/x86_64 and ASAN relinker jobs pass. Product jobs are skipped. I did not rerun tests locally.
MarcZX10 commented 2026-10-22 04:20:39 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-22T04:20:39Z.

Review: DISMISSED


The test-only UTF-8 decoding change remains correct, and the reported non-ASCII Windows reproduction plus hosted Ubuntu/Windows/macOS/ASAN relinker matrix are useful. One repository requirement is now outstanding: this branch and its reported verification are based on main a6dcea9279, while current upstream main is c61d20f548. Please rebase or merge current main and rerun the focused non-ASCII path checks and relinker matrix/conventions on the updated head. I found no additional code defect in the diff; this request is for the current-main rule. I did not run local tests.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5609219295 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9513#pullrequestreview-5609219295). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-22T04:20:39Z. **Review:** DISMISSED --- The test-only UTF-8 decoding change remains correct, and the reported non-ASCII Windows reproduction plus hosted Ubuntu/Windows/macOS/ASAN relinker matrix are useful. One repository requirement is now outstanding: this branch and its reported verification are based on main a6dcea9279, while current upstream main is c61d20f54801efc3798555829f6fedcff71ad7ff. Please rebase or merge current main and rerun the focused non-ASCII path checks and relinker matrix/conventions on the updated head. I found no additional code defect in the diff; this request is for the current-main rule. I did not run local tests.
harisibrar1 commented 2026-10-22 04:58:17 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by harisibrar1 on 2026-10-22T04:58:17Z.


@MarcZX10 Rebased onto main 17f533556 (head 58d6aca5c) and reran in the non-ASCII build directory (.../ünï/b, relinker-only, WinLibs GCC 15.2.0 r7, Python 3.14, Windows 11): tls_diagnostics, relinker_executables, game_patches, guest_symbol_names, input_preservation and input_file pass 6/6 in two runs with this branch, and 0/6 with main's versions of the seven scripts. check_conventions.py --base origin/main passes and pr_overlap.py --branch reports no overlap with open pull requests.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6333092216 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9513#issuecomment-6333092216). Originally posted by [harisibrar1](https://github.com/harisibrar1) on 2026-10-22T04:58:17Z. --- @MarcZX10 Rebased onto main 17f533556 (head 58d6aca5c) and reran in the non-ASCII build directory (`.../ünï/b`, relinker-only, WinLibs GCC 15.2.0 r7, Python 3.14, Windows 11): `tls_diagnostics`, `relinker_executables`, `game_patches`, `guest_symbol_names`, `input_preservation` and `input_file` pass 6/6 in two runs with this branch, and 0/6 with main's versions of the seven scripts. `check_conventions.py --base origin/main` passes and `pr_overlap.py --branch` reports no overlap with open pull requests.
fogydes commented 2026-10-22 09:09:13 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by fogydes on 2026-10-22T09:09:13Z.


Verified the diff shape and the leftovers claim. All thirteen converted call sites are exactly the ones whose assertions compare relinker-produced text against strings containing the temp path (five run(..., text=True)-style decodes mixed with encoding="utf-8" sites, plus the read_text(encoding="utf-8") conversions across the seven path-checking scripts). I also went through the remaining unconverted sites (test_elf_header.py, test_dynamic_segment.py, test_call_zero_padding.py, etc.) and their output comparisons are exit codes and byte-image content only — no assertion compares a string that could carry the temp directory, so leaving them as text=True (locale-decoded) doesn't reintroduce the failure the PR fixes. The body's A/B evidence (main fails under a non-ASCII temp dir, the PR passes for the same runs) is consistent with the diff; the separate C++ filesystem conversion errors the body discloses are a different layer and out of scope here. Nothing invented, no behavior claims added — this is the right, contained scope for the defect it targets.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6337065769 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9513#issuecomment-6337065769). Originally posted by [fogydes](https://github.com/fogydes) on 2026-10-22T09:09:13Z. --- Verified the diff shape and the leftovers claim. All thirteen converted call sites are exactly the ones whose assertions compare relinker-produced text against strings containing the temp path (five `run(..., text=True)`-style decodes mixed with `encoding="utf-8"` sites, plus the `read_text(encoding="utf-8")` conversions across the seven path-checking scripts). I also went through the remaining unconverted sites (`test_elf_header.py`, `test_dynamic_segment.py`, `test_call_zero_padding.py`, etc.) and their output comparisons are exit codes and byte-image content only — no assertion compares a string that could carry the temp directory, so leaving them as `text=True` (locale-decoded) doesn't reintroduce the failure the PR fixes. The body's A/B evidence (main fails under a non-ASCII temp dir, the PR passes for the same runs) is consistent with the diff; the separate C++ `filesystem` conversion errors the body discloses are a different layer and out of scope here. Nothing invented, no behavior claims added — this is the right, contained scope for the defect it targets.
jotitadev commented 2026-10-22 10:26:11 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by jotitadev on 2026-10-22T10:26:11Z.

Review: COMMENTED


Tested on macOS (Apple M2 Max, macOS 27.2), relinker-only Release build, x86_64 under Rosetta with Xcode's /usr/bin/python3 (3.9.6), head 58d6aca5c merged onto main 7e2ba73e4c, build directory .../mac-cpu-e1-ünï/x86.

Red→green with a real non-UTF-8 locale. With the default locale everything passes (Python 3.9 coerces the C locale to UTF-8). With LC_ALL=en_US.ISO8859-1:

  • main: 223/230, failing exactly the seven scripts this PR names: tls_diagnostics, guest_needed_modules, relinker_executables, game_patches, guest_symbol_names, input_preservation, input_file.
  • this PR: 230/230.

So guest_needed_modules, which Smart App Control blocked on your machine, does go red→green here.

Leftover when a path byte is undefined in the code page. cp1252 has no mapping for 0x81, 0x8D, 0x8F, 0x90 and 0x9D. Those are the second UTF-8 byte of Á, Í, Ï, Ð and Ý, so a profile like C:/Users/Ángel/ or C:/Users/Íñigo/ hits them. In that case a locale decode raises UnicodeDecodeError before any assertion runs. Whether the script compares paths no longer matters. macOS has no cp1252 locale, so I emulated it: a sitecustomize.py makes locale.getpreferredencoding and _bootlocale.getpreferredencoding return cp1252 for Python 3.9 (build directory .../mac-cpu-e1-Ángel/x86):

  • ASCII build directory with the emulation: 230/230, so the emulation alone breaks nothing.
  • Ángel directory, main: 126/230 failing. This PR: 120/230 failing.
  • All 120 failures are UnicodeDecodeError: 'charmap' codec can't decode byte 0x81. In 119 of them the error comes from subprocess.run(..., text=True) while decoding relinker stdout/stderr that contains the build path (for example test_elf_header.py:135, cli/tests/test_help.py, and 33 cases of test_tls_function_coverage.py). So the unconverted text=True sites do fail under a non-ASCII directory, just not for the ü/ï directory used in the PR.
  • input_preservation still fails with this PR, at test_input_preservation.py:378. That line is Path(f"{output}.desktop").read_text() with no encoding. It runs on every host, because the windows loop also covers the Linux target. The .desktop file embeds the output path. With ü it decodes to mojibake and the startswith("[Desktop Entry]\n") check still passes, which is why it didn't show up in your run.

Suggestion: add encoding="utf-8" to line 378 here, since it is in one of the seven scripts. With that one change, input_preservation passes in the emulated Ángel run. The other 87 failing scripts could be a follow-up: either the same keyword, or ENVIRONMENT PYTHONUTF8=1 on the relinker Python tests in core/relinker/CMakeLists.txt.

Written with AI assistance (Claude Code). I ran the builds and tests above on my machine.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5612739710 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9513#pullrequestreview-5612739710). Originally posted by [jotitadev](https://github.com/jotitadev) on 2026-10-22T10:26:11Z. **Review:** COMMENTED --- Tested on macOS (Apple M2 Max, macOS 27.2), relinker-only Release build, x86_64 under Rosetta with Xcode's `/usr/bin/python3` (3.9.6), head 58d6aca5c merged onto main 7e2ba73e4c, build directory `.../mac-cpu-e1-ünï/x86`. **Red→green with a real non-UTF-8 locale.** With the default locale everything passes (Python 3.9 coerces the C locale to UTF-8). With `LC_ALL=en_US.ISO8859-1`: - main: 223/230, failing exactly the seven scripts this PR names: `tls_diagnostics`, `guest_needed_modules`, `relinker_executables`, `game_patches`, `guest_symbol_names`, `input_preservation`, `input_file`. - this PR: 230/230. So `guest_needed_modules`, which Smart App Control blocked on your machine, does go red→green here. **Leftover when a path byte is undefined in the code page.** cp1252 has no mapping for 0x81, 0x8D, 0x8F, 0x90 and 0x9D. Those are the second UTF-8 byte of `Á`, `Í`, `Ï`, `Ð` and `Ý`, so a profile like `C:/Users/Ángel/` or `C:/Users/Íñigo/` hits them. In that case a locale decode raises `UnicodeDecodeError` before any assertion runs. Whether the script compares paths no longer matters. macOS has no cp1252 locale, so I emulated it: a `sitecustomize.py` makes `locale.getpreferredencoding` and `_bootlocale.getpreferredencoding` return `cp1252` for Python 3.9 (build directory `.../mac-cpu-e1-Ángel/x86`): - ASCII build directory with the emulation: 230/230, so the emulation alone breaks nothing. - `Ángel` directory, main: 126/230 failing. This PR: 120/230 failing. - All 120 failures are `UnicodeDecodeError: 'charmap' codec can't decode byte 0x81`. In 119 of them the error comes from `subprocess.run(..., text=True)` while decoding relinker stdout/stderr that contains the build path (for example `test_elf_header.py:135`, `cli/tests/test_help.py`, and 33 cases of `test_tls_function_coverage.py`). So the unconverted `text=True` sites do fail under a non-ASCII directory, just not for the `ü`/`ï` directory used in the PR. - `input_preservation` still fails with this PR, at `test_input_preservation.py:378`. That line is `Path(f"{output}.desktop").read_text()` with no encoding. It runs on every host, because the `windows` loop also covers the Linux target. The `.desktop` file embeds the output path. With `ü` it decodes to mojibake and the `startswith("[Desktop Entry]\n")` check still passes, which is why it didn't show up in your run. Suggestion: add `encoding="utf-8"` to line 378 here, since it is in one of the seven scripts. With that one change, `input_preservation` passes in the emulated `Ángel` run. The other 87 failing scripts could be a follow-up: either the same keyword, or `ENVIRONMENT PYTHONUTF8=1` on the relinker Python tests in `core/relinker/CMakeLists.txt`. Written with AI assistance (Claude Code). I ran the builds and tests above on my machine.
harisibrar1 commented 2026-10-22 13:17:44 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by harisibrar1 on 2026-10-22T13:17:44Z.


@MarcZX10 Rebased onto main 8b3a6ba88 (head 6b1916a2e) and reran in the non-ASCII build directory (.../ünï/b, relinker-only, WinLibs GCC 15.2.0 r7, Python 3.14, Windows 11): tls_diagnostics, relinker_executables, game_patches, guest_symbol_names, input_preservation and input_file pass 6/6 in two runs with this branch, and 0/6 with main's versions of the seven scripts. check_conventions.py --base origin/main passes and pr_overlap.py --branch reports no overlap with open pull requests.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6341729477 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9513#issuecomment-6341729477). Originally posted by [harisibrar1](https://github.com/harisibrar1) on 2026-10-22T13:17:44Z. --- @MarcZX10 Rebased onto main 8b3a6ba88 (head 6b1916a2e) and reran in the non-ASCII build directory (`.../ünï/b`, relinker-only, WinLibs GCC 15.2.0 r7, Python 3.14, Windows 11): `tls_diagnostics`, `relinker_executables`, `game_patches`, `guest_symbol_names`, `input_preservation` and `input_file` pass 6/6 in two runs with this branch, and 0/6 with main's versions of the seven scripts. `check_conventions.py --base origin/main` passes and `pr_overlap.py --branch` reports no overlap with open pull requests.
THEMANnt commented 2026-10-25 04:33:43 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by THEMANnt on 2026-10-25T04:33:43Z.

Review: APPROVED


Reviewed 42961581e4c5dbc80fd860d493cc6d727ef2e318 against c8d34aa8f4d8058d57169cc1e423ba6db00faaf0. No actionable findings in this focused review.

Source review: Inspected every changed call/file read. Explicit UTF-8 decoding matches relinker diagnostics, patch manifests and desktop entries while preserving existing arguments, assertions and timeouts. Native test-executable output calls were not indiscriminately changed.

Validation: Windows Python 3.11 with PYTHONUTF8=0 and non-ASCII temporary paths: head input_file and tls_diagnostics scripts passed against the existing local relinker, while both baseline scripts failed. Five other head/baseline scripts encounter compatibility mismatches with that older binary (missing options or changed output); those are not claimed as head passes or attributed to this patch. Hosted Windows job 121012044791, Build 40140822980, explicitly logs Passed for all seven affected suites: relinker_executables, game_patches, guest_needed_modules, guest_symbol_names, input_file, input_preservation and tls_diagnostics on its merged PR checkout. Conventions, whitespace and registration passed; full-product jobs were skipped.

Scope: Test decoding and synthetic fixtures; no local pinned relinker rebuild or real title/game run.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5641515026 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9513#pullrequestreview-5641515026). Originally posted by [THEMANnt](https://github.com/THEMANnt) on 2026-10-25T04:33:43Z. **Review:** APPROVED --- Reviewed `42961581e4c5dbc80fd860d493cc6d727ef2e318` against `c8d34aa8f4d8058d57169cc1e423ba6db00faaf0`. No actionable findings in this focused review. **Source review:** Inspected every changed call/file read. Explicit UTF-8 decoding matches relinker diagnostics, patch manifests and desktop entries while preserving existing arguments, assertions and timeouts. Native test-executable output calls were not indiscriminately changed. **Validation:** Windows Python 3.11 with PYTHONUTF8=0 and non-ASCII temporary paths: head input_file and tls_diagnostics scripts passed against the existing local relinker, while both baseline scripts failed. Five other head/baseline scripts encounter compatibility mismatches with that older binary (missing options or changed output); those are not claimed as head passes or attributed to this patch. Hosted Windows job 121012044791, Build 40140822980, explicitly logs Passed for all seven affected suites: relinker_executables, game_patches, guest_needed_modules, guest_symbol_names, input_file, input_preservation and tls_diagnostics on its merged PR checkout. Conventions, whitespace and registration passed; full-product jobs were skipped. **Scope:** Test decoding and synthetic fixtures; no local pinned relinker rebuild or real title/game run.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!9513
No description provided.