fix(tools): catch recursion error decoding release metadata in build_web #12446

Merged
jagrat04 merged 2 commits from upstream-pr/12446 into main 2026-10-30 05:57:46 +00:00
jagrat04 commented 2026-10-28 13:53:30 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by jagrat04 on 2026-10-28T13:53:30Z.


What

Catch RecursionError at the release metadata JSON decode boundary in tools/build_web.py and convert it into ValueError so deeply nested or malformed release metadata responses are reported through the existing argparse usage error boundary (exit code 2, concise diagnostic on stderr, no traceback, no site mutation). Add regression coverage in tools/tests/test_build_web.py.

Tested

  • Windows 11 x64, Python 3.12.0
  • Ran python -m unittest tools/tests/test_build_web.py (18/18 passed)
  • Verified build_web.main(["--build", <temp>, "--release"]) with deeply nested JSON array exits with code 2, outputs a clean ValueError diagnostic, produces no traceback, and leaves the build/site directory untouched
  • Verified publish_libraries with deeply nested JSON raises ValueError
  • Ran python tools/check_conventions.py --base origin/main (0 violations)

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: #12383
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5051663842 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/12446). Originally posted by [jagrat04](https://github.com/jagrat04) on 2026-10-28T13:53:30Z. --- ### What Catch `RecursionError` at the release metadata JSON decode boundary in `tools/build_web.py` and convert it into `ValueError` so deeply nested or malformed release metadata responses are reported through the existing argparse usage error boundary (exit code 2, concise diagnostic on stderr, no traceback, no site mutation). Add regression coverage in `tools/tests/test_build_web.py`. ### Tested - Windows 11 x64, Python 3.12.0 - Ran `python -m unittest tools/tests/test_build_web.py` (18/18 passed) - Verified `build_web.main(["--build", <temp>, "--release"])` with deeply nested JSON array exits with code 2, outputs a clean `ValueError` diagnostic, produces no traceback, and leaves the build/site directory untouched - Verified `publish_libraries` with deeply nested JSON raises `ValueError` - Ran `python tools/check_conventions.py --base origin/main` (0 violations) ### 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: #12383 - [x] Unblocks: none - [x] GPUs tested: n/a - [x] AI-assisted: yes
MarcZX10 commented 2026-10-28 13:56:51 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-28T13:56:51Z.

Review: COMMENTED


I reviewed the exact head 68fb169ff0 and ran python -m unittest tools.tests.test_build_web from its isolated snapshot on Python 3.11: 18 tests were discovered, 17 passed and 1 platform-dependent ZIP-extra-field test skipped. Both new recursion regressions passed. load_release catches RecursionError only at JSON decoding and converts it to the existing ValueError path; publication cleanup/rollback remains outside the change. git diff --check is clean. Hosted eligibility/conventions/intake/labels were queued at my last refresh. I found no concrete defect.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5683810310 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/12446#pullrequestreview-5683810310). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-28T13:56:51Z. **Review:** COMMENTED --- I reviewed the exact head `68fb169ff0` and ran `python -m unittest tools.tests.test_build_web` from its isolated snapshot on Python 3.11: 18 tests were discovered, 17 passed and 1 platform-dependent ZIP-extra-field test skipped. Both new recursion regressions passed. `load_release` catches `RecursionError` only at JSON decoding and converts it to the existing `ValueError` path; publication cleanup/rollback remains outside the change. `git diff --check` is clean. Hosted eligibility/conventions/intake/labels were queued at my last refresh. I found no concrete defect.
rooklz commented 2026-10-28 14:14:43 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by rooklz on 2026-10-28T14:14:43Z.

Review: COMMENTED


Reviewed head 68fb169ff0 on macOS 15 arm64. I ran it against real Python 3.9.6 (/usr/bin/python3, the floor) and Homebrew 3.12.13, 3.13.13, 3.14.8 and 3.15.1. The fix is correct: both API decode sites now go through load_release, and main() turns the error into rc 2. I found two things to change before approving.

1. Both new tests pass on main on Python ≥ 3.12, so they only guard 3.9–3.11.

The fixture depth is sys.getrecursionlimit() * 2, which is 2000. That nesting depth no longer recurses on 3.12+, because the C decoder there doesn't hit the Python-level limit at that depth. I checked at what depth json.loads("["*n + "]"*n) actually fails:

Python n = 2000 n = 20 000 n = 200 000
3.9.6 RecursionError RecursionError RecursionError
3.12.13 / 3.13.13 parses RecursionError RecursionError
3.14.8 / 3.15.1 parses parses RecursionError

On 3.12+, the decoded nested list then fails release_metadata's "must be a JSON object" check. That is a ValueError containing "release", so both tests pass whether or not the fix is there:

  • main build_web.py + head tests: 3.9.6 RED (2 errors), 3.12/3.13/3.14/3.15 OK
  • Mutants (each one puts back one json.load call site, 81 or 146): killed only on 3.9.6, both survive on 3.12 and 3.15

build.yml runs the image's python3/python without a setup-python pin, so on a runner with Python ≥ 3.12 CI can't see the RED case. A fixed depth of 200 000 fails on every version. It adds no measurable time: the whole module runs in 0.17–0.67 s.

-        deep_json = b"[" * (sys.getrecursionlimit() * 2) + b"]" * (sys.getrecursionlimit() * 2)
+        deep_json = b"[" * 200000 + b"]" * 200000

(Change it in both tests.) With this change:

  • head: OK on all 5 Pythons
  • main-src: RED on all 5, exactly the 2 new tests
  • Each mutant is now killed by its own test on 3.9.6, 3.13 and 3.15: the L81 mutant by ..._in_libraries_raises_value_error and the L146 mutant by ..._api_responses_are_cli_errors_...

All runs used -B with __pycache__ cleared. A stale .pyc from two same-size mutants written within the same second gave me one misleading result before I did that.

2. Another release-metadata decode in the same flow still leaks RecursionError.

publish_release also decodes the archive's web-release.json: metadata = json.loads(archive.read("web-release.json")). That file is downloaded release metadata too, and nothing catches this decode. To test it, I made a release whose web-v1.zip has a matching size and sha256 digest and a 200 000-deep web-release.json, then called main(["--build", root, "--release"]):

  • head, 3.9.6 / 3.13 / 3.14: uncaught RecursionError (escapes main(), rc 1, traceback). Temporary staging is cleaned up and web/keep.txt is preserved.
  • depth 2 (control): rc 2 Web converter does not match the selected release

The same helper fixes it. json.load reads bytes from the zip member, just as json.loads(archive.read(...)) did:

-            metadata = json.loads(archive.read("web-release.json"))
+            metadata = load_release(archive.open("web-release.json"))

With this change the probe gives rc 2 Invalid release metadata: maximum recursion depth exceeded… on 3.9.6/3.13, and …Stack overflow… on 3.15. There is no traceback, the site is untouched, and the root contains only web/. The existing suite stays OK on 3.9.6/3.13/3.15. A regression test needs a digest-matching web-<tag>.zip fixture. I can post that harness if useful. It is about 25 lines, built from WEB_FILES and the request patch you already use.

The manifest = json.loads(... release.json ...) at L192 reads a file publish_libraries just wrote, so it can't be attacker-deep. I'd leave it out of scope.

Other checks

  • merge-tree against upstream main d4cb89300f is clean. build_web.py, test_build_web.py and package_release.py are unchanged on main since your base 750cf6cf48.
  • Built on that merge with the relinker-only configuration, 270/270. ctest gave 391/391. One -j 8 run failed macos_guest_weak_imports once. It passed in isolation, passed 15× repeated, and passed in 3 further full -j 8 runs. It's a relinker test unrelated to this diff.
  • check_conventions.py --base upstream/main passes.

AI-assisted: yes

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5684082116 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/12446#pullrequestreview-5684082116). Originally posted by [rooklz](https://github.com/rooklz) on 2026-10-28T14:14:43Z. **Review:** COMMENTED --- Reviewed head `68fb169ff0` on macOS 15 arm64. I ran it against real Python 3.9.6 (`/usr/bin/python3`, the floor) and Homebrew 3.12.13, 3.13.13, 3.14.8 and 3.15.1. The fix is correct: both API decode sites now go through `load_release`, and `main()` turns the error into rc 2. I found two things to change before approving. **1. Both new tests pass on `main` on Python ≥ 3.12, so they only guard 3.9–3.11.** The fixture depth is `sys.getrecursionlimit() * 2`, which is 2000. That nesting depth no longer recurses on 3.12+, because the C decoder there doesn't hit the Python-level limit at that depth. I checked at what depth `json.loads("["*n + "]"*n)` actually fails: | Python | n = 2000 | n = 20 000 | n = 200 000 | |---|---|---|---| | 3.9.6 | RecursionError | RecursionError | RecursionError | | 3.12.13 / 3.13.13 | parses | RecursionError | RecursionError | | 3.14.8 / 3.15.1 | parses | parses | RecursionError | On 3.12+, the decoded nested list then fails `release_metadata`'s "must be a JSON object" check. That is a `ValueError` containing "release", so both tests pass whether or not the fix is there: - `main` `build_web.py` + head tests: 3.9.6 RED (2 errors), **3.12/3.13/3.14/3.15 OK** - Mutants (each one puts back one `json.load` call site, 81 or 146): killed only on 3.9.6, **both survive on 3.12 and 3.15** `build.yml` runs the image's `python3`/`python` without a `setup-python` pin, so on a runner with Python ≥ 3.12 CI can't see the RED case. A fixed depth of 200 000 fails on every version. It adds no measurable time: the whole module runs in 0.17–0.67 s. ```diff - deep_json = b"[" * (sys.getrecursionlimit() * 2) + b"]" * (sys.getrecursionlimit() * 2) + deep_json = b"[" * 200000 + b"]" * 200000 ``` (Change it in both tests.) With this change: - head: OK on all 5 Pythons - `main`-src: RED on all 5, exactly the 2 new tests - Each mutant is now killed by its own test on 3.9.6, 3.13 and 3.15: the L81 mutant by `..._in_libraries_raises_value_error` and the L146 mutant by `..._api_responses_are_cli_errors_...` All runs used `-B` with `__pycache__` cleared. A stale `.pyc` from two same-size mutants written within the same second gave me one misleading result before I did that. **2. Another release-metadata decode in the same flow still leaks `RecursionError`.** `publish_release` also decodes the archive's `web-release.json`: `metadata = json.loads(archive.read("web-release.json"))`. That file is downloaded release metadata too, and nothing catches this decode. To test it, I made a release whose `web-v1.zip` has a matching size and sha256 digest and a 200 000-deep `web-release.json`, then called `main(["--build", root, "--release"])`: - head, 3.9.6 / 3.13 / 3.14: **uncaught `RecursionError`** (escapes `main()`, rc 1, traceback). Temporary staging is cleaned up and `web/keep.txt` is preserved. - depth 2 (control): rc 2 `Web converter does not match the selected release` The same helper fixes it. `json.load` reads bytes from the zip member, just as `json.loads(archive.read(...))` did: ```diff - metadata = json.loads(archive.read("web-release.json")) + metadata = load_release(archive.open("web-release.json")) ``` With this change the probe gives rc 2 `Invalid release metadata: maximum recursion depth exceeded…` on 3.9.6/3.13, and `…Stack overflow…` on 3.15. There is no traceback, the site is untouched, and the root contains only `web/`. The existing suite stays OK on 3.9.6/3.13/3.15. A regression test needs a digest-matching `web-<tag>.zip` fixture. I can post that harness if useful. It is about 25 lines, built from `WEB_FILES` and the `request` patch you already use. The `manifest = json.loads(... release.json ...)` at L192 reads a file `publish_libraries` just wrote, so it can't be attacker-deep. I'd leave it out of scope. **Other checks** - `merge-tree` against upstream `main` `d4cb89300f` is clean. `build_web.py`, `test_build_web.py` and `package_release.py` are unchanged on `main` since your base `750cf6cf48`. - Built on that merge with the relinker-only configuration, 270/270. ctest gave 391/391. One `-j 8` run failed `macos_guest_weak_imports` once. It passed in isolation, passed 15× repeated, and passed in 3 further full `-j 8` runs. It's a relinker test unrelated to this diff. - `check_conventions.py --base upstream/main` passes. AI-assisted: yes
MarcZX10 commented 2026-10-28 14:24:52 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-28T14:24:52Z.

Review: COMMENTED


Rechecked exact head 418cd0d37ee9011a70c4784c814eefcba42534d7, including the two issues raised in the thread. The regression depth is now 200,000 in both fixtures, and publish_release routes the archive’s web-release.json through load_release. On this Linux/Python 3.11 host, python3 -m unittest tools.tests.test_build_web passes 19 tests with 1 platform-dependent skip; git diff --check upstream/main...HEAD and python3 tools/check_conventions.py --base upstream/main pass. I copied the current test file into a disposable worktree at current main and ran the three new regressions against main’s build_web.py; all three fail with uncaught RecursionError, including the nested archive metadata case. This confirms the tests are sensitive to the fix locally. The current hosted relinker matrix and labels are still pending, so I am not approving yet.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5684235267 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/12446#pullrequestreview-5684235267). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-28T14:24:52Z. **Review:** COMMENTED --- Rechecked exact head `418cd0d37ee9011a70c4784c814eefcba42534d7`, including the two issues raised in the thread. The regression depth is now 200,000 in both fixtures, and `publish_release` routes the archive’s `web-release.json` through `load_release`. On this Linux/Python 3.11 host, `python3 -m unittest tools.tests.test_build_web` passes 19 tests with 1 platform-dependent skip; `git diff --check upstream/main...HEAD` and `python3 tools/check_conventions.py --base upstream/main` pass. I copied the current test file into a disposable worktree at current main and ran the three new regressions against main’s `build_web.py`; all three fail with uncaught `RecursionError`, including the nested archive metadata case. This confirms the tests are sensitive to the fix locally. The current hosted relinker matrix and labels are still pending, so I am not approving yet.
rooklz commented 2026-10-28 14:26:52 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by rooklz on 2026-10-28T14:26:52Z.

Review: APPROVED


Re-checked head 418cd0d37e on macOS 26 arm64 (py3.9.6 / 3.13 / 3.14). Both points from my earlier review are addressed.

  • python3 -B -m unittest tools.tests.test_build_web: OK on all three (one platform skip on 3.9.6). ReleaseMetadataTests finishes in under 1 s.
  • Control, with main's build_web.py under the head tests: exactly the 3 new tests ERROR with uncaught RecursionError on 3.9.6 and 3.14. At depth 200,000 the fixtures now fail on every Python, not only 3.9.
  • Per-site mutants, each reverting one call site to json.load/json.loads. Every one is killed by its own test, on both 3.9.6 and 3.14:
    • publish_libraries API response → ..._libraries_raises_value_error
    • publish_release API response → ..._api_responses_are_cli_errors_without_site_changes
    • archive web-release.json → ..._web_release_metadata_is_cli_error_without_site_changes
    • Catching a different exception class in load_release → all 3 RED.
  • check_conventions --base upstream/main: pass. git merge-tree against main 446bd8776c: clean.
  • Merge-order note (not blocking): the merge with #12352 (StoneDC) has a content conflict in tools/tests/test_build_web.py. build_web.py itself auto-merges. Whichever lands second needs a trivial rebase of the test file.

Approving.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5684267919 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/12446#pullrequestreview-5684267919). Originally posted by [rooklz](https://github.com/rooklz) on 2026-10-28T14:26:52Z. **Review:** APPROVED --- Re-checked head `418cd0d37e` on macOS 26 arm64 (py3.9.6 / 3.13 / 3.14). Both points from my earlier review are addressed. - `python3 -B -m unittest tools.tests.test_build_web`: OK on all three (one platform skip on 3.9.6). `ReleaseMetadataTests` finishes in under 1 s. - Control, with `main`'s `build_web.py` under the head tests: exactly the 3 new tests ERROR with uncaught `RecursionError` on 3.9.6 and 3.14. At depth 200,000 the fixtures now fail on every Python, not only 3.9. - Per-site mutants, each reverting one call site to `json.load`/`json.loads`. Every one is killed by its own test, on both 3.9.6 and 3.14: - `publish_libraries` API response → `..._libraries_raises_value_error` - `publish_release` API response → `..._api_responses_are_cli_errors_without_site_changes` - archive `web-release.json` → `..._web_release_metadata_is_cli_error_without_site_changes` - Catching a different exception class in `load_release` → all 3 RED. - `check_conventions --base upstream/main`: pass. `git merge-tree` against `main` 446bd8776c: clean. - Merge-order note (not blocking): the merge with #12352 (StoneDC) has a content conflict in `tools/tests/test_build_web.py`. `build_web.py` itself auto-merges. Whichever lands second needs a trivial rebase of the test file. Approving.
MarcZX10 commented 2026-10-28 20:29:09 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-28T20:29:09Z.

Review: APPROVED


Re-checked — new head, looks good

The exact head still handles recursion failures at the release JSON decode boundaries, and #12488 now explicitly depends on this PR with a clean combined merge preview.

What I ran

  • PR head: 418cd0d37ee9011a70c4784c814eefcba42534d7; upstream base: 319621ba2e578bd053b0baba2877fe70520e0737.
  • Linux x86_64, Python 3.11.
  • python3 -m unittest tools.tests.test_build_web — 19 tests passed, 1 existing platform-dependent test skipped.
  • git diff --check upstream/main...refs/review/pr-12446-current — passed.
  • git merge-tree --write-tree upstream/main refs/review/pr-12446-current — clean, tree f88a86fe0910dc67f60c7e06704e3fa3df4767cb.
  • git merge-tree --write-tree refs/review/pr-12446-current refs/review/pr-12488-current — clean, tree 38c0808d8419e822cdbe6778496952ac1283564a.

Results

Check Result
Exact-head test_build_web 19 passed, 1 platform-dependent skip
Diff check Passed
Merge preview onto current main Clean
Combined preview with dependent #12488 Clean
Hosted relinker, ASan, conventions and policy checks Passed
Hosted macOS relinker Queued at last refresh
Product and specialized tests Skipped by workflow
Test output
.............s.....
----------------------------------------------------------------------
Ran 19 tests in 0.300s

OK (skipped=1)

Negative control

Not rerun in this follow-up. The exact-head review history records base-parser negative controls for all three JSON decode regressions; I reran the current-head focused test module here.

Findings

Blocking

None found.

Non-blocking

The hosted macOS relinker jobs remain queued, and the workflow skips product and specialized tests. The exact-head Python suite passes locally; I did not run a full native build or browser/WASM integration.

Sources

Not verified

I did not run Windows/macOS locally, the native full project build, browser/WASM integration, or product tests. The macOS hosted jobs were queued when checked.

To get this to a good state

No changes are required for this review. #12488 records #12446 as its prerequisite; I can rerun these checks if either head changes.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5689266073 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/12446#pullrequestreview-5689266073). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-28T20:29:09Z. **Review:** APPROVED --- # Re-checked — new head, looks good The exact head still handles recursion failures at the release JSON decode boundaries, and #12488 now explicitly depends on this PR with a clean combined merge preview. ## What I ran - PR head: `418cd0d37ee9011a70c4784c814eefcba42534d7`; upstream base: `319621ba2e578bd053b0baba2877fe70520e0737`. - Linux x86_64, Python 3.11. - `python3 -m unittest tools.tests.test_build_web` — 19 tests passed, 1 existing platform-dependent test skipped. - `git diff --check upstream/main...refs/review/pr-12446-current` — passed. - `git merge-tree --write-tree upstream/main refs/review/pr-12446-current` — clean, tree `f88a86fe0910dc67f60c7e06704e3fa3df4767cb`. - `git merge-tree --write-tree refs/review/pr-12446-current refs/review/pr-12488-current` — clean, tree `38c0808d8419e822cdbe6778496952ac1283564a`. ## Results | Check | Result | |---|---| | Exact-head `test_build_web` | 19 passed, 1 platform-dependent skip | | Diff check | Passed | | Merge preview onto current main | Clean | | Combined preview with dependent #12488 | Clean | | Hosted relinker, ASan, conventions and policy checks | Passed | | Hosted macOS relinker | Queued at last refresh | | Product and specialized tests | Skipped by workflow | <details> <summary>Test output</summary> ```text .............s..... ---------------------------------------------------------------------- Ran 19 tests in 0.300s OK (skipped=1) ``` </details> ## Negative control Not rerun in this follow-up. The exact-head review history records base-parser negative controls for all three JSON decode regressions; I reran the current-head focused test module here. ## Findings ### Blocking None found. ### Non-blocking The hosted macOS relinker jobs remain queued, and the workflow skips product and specialized tests. The exact-head Python suite passes locally; I did not run a full native build or browser/WASM integration. ## Sources - [Release JSON recursion handling at this PR head](https://github.com/boykopovar/AnyPS5/blob/418cd0d37ee9011a70c4784c814eefcba42534d7/tools/build_web.py) - [Regression coverage at this PR head](https://github.com/boykopovar/AnyPS5/blob/418cd0d37ee9011a70c4784c814eefcba42534d7/tools/tests/test_build_web.py) - [Dependent manifest PR and recorded `Depends on: #12446`](https://github.com/boykopovar/AnyPS5/blob/ef9d0a4d05d0f27651a9abdf4630795191c7db49/tools/build_web.py) ## Not verified I did not run Windows/macOS locally, the native full project build, browser/WASM integration, or product tests. The macOS hosted jobs were queued when checked. ## To get this to a good state No changes are required for this review. #12488 records #12446 as its prerequisite; I can rerun these checks if either head changes.
THEMANnt commented 2026-10-29 06:30:14 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by THEMANnt on 2026-10-29T06:30:14Z.

Review: COMMENTED


Reviewed 418cd0d37ee9011a70c4784c814eefcba42534d7 against acd13871affe9bb42bb4b59bfeb99778c816d3a8. All three release-metadata JSON entry points translate decoder recursion failure into the existing ValueError/CLI-error handling before publishing output. No actionable finding in this scoped review.

Windows/Python 3.11 validation: head 18 passed, 1 skipped; baseline 15 passed, 1 skipped. The three new deep-metadata controls raise uncaught RecursionError with old production and pass with the fix, including preservation of the existing site. Network responses and archives are test fixtures; no site or release was published. One platform permission case is skipped.

Publication-time checks: merge conflict with main. Please complete these checks before final approval; this status alone is not a demonstrated implementation defect.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5693728552 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/12446#pullrequestreview-5693728552). Originally posted by [THEMANnt](https://github.com/THEMANnt) on 2026-10-29T06:30:14Z. **Review:** COMMENTED --- Reviewed `418cd0d37ee9011a70c4784c814eefcba42534d7` against `acd13871affe9bb42bb4b59bfeb99778c816d3a8`. All three release-metadata JSON entry points translate decoder recursion failure into the existing ValueError/CLI-error handling before publishing output. No actionable finding in this scoped review. Windows/Python 3.11 validation: head 18 passed, 1 skipped; baseline 15 passed, 1 skipped. The three new deep-metadata controls raise uncaught RecursionError with old production and pass with the fix, including preservation of the existing site. Network responses and archives are test fixtures; no site or release was published. One platform permission case is skipped. Publication-time checks: merge conflict with main. Please complete these checks before final approval; this status alone is not a demonstrated implementation defect.
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!12446
No description provided.