feat(wasm): run relinked titles in the browser with WebGPU #6879

Closed
SteelCrab wants to merge 18 commits from upstream-pr/6879 into main
SteelCrab commented 2026-10-16 15:44:24 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by SteelCrab on 2026-10-16T15:44:24Z.


What

Temporarily closed to land the focused prerequisites one at a time. The relinker fix #10017 has merged; #11341 is the active Emscripten library-portability prerequisite. The integration remains preserved on SteelCrab:feat/wasm-browser at bf328da04a4b2ac2638b6b85f912b30bd02e6c2d. Resume the runtime topic after the prerequisites merge, then reduce, rebase and rerun the full runtime verification.

Runtime integration for translated titles using Emscripten memory64 and WebGPU. Build and run instructions: docs/dev/WASM_RUNTIME.md.

The focused prerequisite topics and intended landing order are listed below. Each PR's Tested section records its own base, validation and CI ownership:

Order Prerequisite Depends on Dedicated test job
1 #10017 relinker symbol types (merged) none Build / relinker
2 #11341 Emscripten library portability #10017 Emscripten library portability / library-portability
3 #9094 WGSL and native cache compatibility #11341 WGSL backend / native-compatibility-and-wgsl
4 #9096 wasm-aot #9094, #10017 WASM AOT / rust-translator

The runtime integration stays closed while the focused prerequisites land. #10017 has merged, #11341 replaces closed #9092 as the active library topic, and the shader/translator prerequisites remain staged for later. The first merged contribution raises the open-PR limit to 20; sequential staging is retained for focused review. Full native CI still requires a maintainer dispatch.

This head still contains the integration bundle and conflicts with main. After the remaining prerequisites merge, rebase it to remove their copies and leave the runtime, its web/tools files, docs and build/CI wiring. Runtime-specific library adapters must be kept within that runtime topic during the reduction. Then rerun the complete verification on that reduced head and replace Tested with those exact results.

The independent native GuestBesselSecondKindZero correction, its native regression additions and its debt removal have now been dropped from this PR's effective diff. The preserved integration head predates merged #8864; its next rebase must inherit that correction. In this preserved head, the WebAssembly portability guard omits the unavailable host fenv call and does not set mxcsr |= 4. #8864 owns the native correction and is already merged.

Tested

Historical staging checks before temporary closure: Ubuntu 26.04.1 x86-64, GCC 15.2, Emscripten 6.0.12, Node 26.12.0 and Rust 1.98.0.

  • The existing native Bessel regression compiled from this head's Math.cpp, Bessel.cpp and Process.cpp and passed after dropping the independent correction.
  • The existing memory64 MathTests.cpp compiled with this head's Math.cpp and Process.cpp and passed under Node 26. This covers seeded guest MXCSR/errno preservation for signed-zero Bessel calls, binary128 NaNs and hyperbolic-helper exceptions.
  • The new runtime CI command cargo test --release --locked --manifest-path core/wasm-aot/Cargo.toml -- --nocapture was executed locally: 98 passed, 0 failed, 4 explicitly ignored on the current integration sources. The isolated #9096 extraction has a fifth ignored case for production-runtime coverage.
  • Code-only tools/check_conventions.py --base origin/main passes. The complete PR Conventions check remains unresolved while the current-main and one-topic checklist entries are false. They will be checked after the actual reduction and rebase.

Runtime claim ownership:

Claim Workflow / job Coverage and remaining work
Full Emscripten browser and test-runtime build WASM runtime / emscripten-runtime Existing build step links anyps5-runtime-web and anyps5-runtime-test; full build not rerun for this staging-only revision.
Memory64 helper and web cases WASM runtime / emscripten-runtime Runs wasm_platform, wasm_math, wasm_web_scripts CTest cases and generated-NID-thunk Python tests. Only the focused math check was rerun in this staging revision.
Node translated-guest runtime cases WASM runtime / emscripten-runtime Explicit cargo ... --test runtime -- --ignored runs the test-host case. On the reduced head, also build anyps5-runtime-node, export ANYPS5_WASM_RUNTIME_NODE, and run both cases introduced by #9096; this post-merge verification remains pending.
Full Rust translator/oracle suite on the runtime head WASM runtime / emscripten-runtime The job now runs the full release/locked suite before the explicit ignored runtime cases. Its new command passes locally as listed above.

The separate prerequisite PRs contain their current local test counts and remote Conventions links. The Emscripten and WGSL workflow runs expired awaiting maintainer approval before creating any jobs; they are not passing remote build results.

The full runtime-only rebase, complete runtime build, both Node runtime cases, shader validation and browser verification have not been rerun on a reduced head: the prerequisite PRs are unmerged. Earlier integration and candidate-branch results recorded in this PR's history are not results for that future head.

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: #10017, #11341, #9094, #9096, #8864
  • Fixes: none
  • Unblocks: none
  • GPUs tested: Mesa llvmpipe (LLVM 21.1.8, 256 bits), Mesa 26.0.8, Vulkan, Ubuntu 26.04.1 for prior integration checks; final runtime-only head not yet revalidated
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4890753558 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6879). Originally posted by [SteelCrab](https://github.com/SteelCrab) on 2026-10-16T15:44:24Z. --- ### What Temporarily closed to land the focused prerequisites one at a time. The relinker fix #10017 has merged; #11341 is the active Emscripten library-portability prerequisite. The integration remains preserved on `SteelCrab:feat/wasm-browser` at `bf328da04a4b2ac2638b6b85f912b30bd02e6c2d`. Resume the runtime topic after the prerequisites merge, then reduce, rebase and rerun the full runtime verification. Runtime integration for translated titles using Emscripten memory64 and WebGPU. Build and run instructions: `docs/dev/WASM_RUNTIME.md`. The focused prerequisite topics and intended landing order are listed below. Each PR's Tested section records its own base, validation and CI ownership: | Order | Prerequisite | Depends on | Dedicated test job | | --- | --- | --- | --- | | 1 | #10017 relinker symbol types (merged) | none | Build / `relinker` | | 2 | #11341 Emscripten library portability | #10017 | Emscripten library portability / `library-portability` | | 3 | #9094 WGSL and native cache compatibility | #11341 | WGSL backend / `native-compatibility-and-wgsl` | | 4 | #9096 wasm-aot | #9094, #10017 | WASM AOT / `rust-translator` | The runtime integration stays closed while the focused prerequisites land. #10017 has merged, #11341 replaces closed #9092 as the active library topic, and the shader/translator prerequisites remain staged for later. The first merged contribution raises the open-PR limit to 20; sequential staging is retained for focused review. Full native CI still requires a maintainer dispatch. This head still contains the integration bundle and conflicts with main. After the remaining prerequisites merge, rebase it to remove their copies and leave the runtime, its web/tools files, docs and build/CI wiring. Runtime-specific library adapters must be kept within that runtime topic during the reduction. Then rerun the complete verification on that reduced head and replace Tested with those exact results. The independent native `GuestBesselSecondKindZero` correction, its native regression additions and its debt removal have now been dropped from this PR's effective diff. The preserved integration head predates merged #8864; its next rebase must inherit that correction. In this preserved head, the WebAssembly portability guard omits the unavailable host fenv call and does not set `mxcsr |= 4`. #8864 owns the native correction and is already merged. ### Tested Historical staging checks before temporary closure: Ubuntu 26.04.1 x86-64, GCC 15.2, Emscripten 6.0.12, Node 26.12.0 and Rust 1.98.0. - The existing native Bessel regression compiled from this head's `Math.cpp`, `Bessel.cpp` and `Process.cpp` and passed after dropping the independent correction. - The existing memory64 `MathTests.cpp` compiled with this head's `Math.cpp` and `Process.cpp` and passed under Node 26. This covers seeded guest MXCSR/errno preservation for signed-zero Bessel calls, binary128 NaNs and hyperbolic-helper exceptions. - The new runtime CI command `cargo test --release --locked --manifest-path core/wasm-aot/Cargo.toml -- --nocapture` was executed locally: **98 passed, 0 failed, 4 explicitly ignored** on the current integration sources. The isolated #9096 extraction has a fifth ignored case for production-runtime coverage. - Code-only `tools/check_conventions.py --base origin/main` passes. The complete PR Conventions check remains unresolved while the current-main and one-topic checklist entries are false. They will be checked after the actual reduction and rebase. Runtime claim ownership: | Claim | Workflow / job | Coverage and remaining work | | --- | --- | --- | | Full Emscripten browser and test-runtime build | WASM runtime / `emscripten-runtime` | Existing build step links `anyps5-runtime-web` and `anyps5-runtime-test`; full build not rerun for this staging-only revision. | | Memory64 helper and web cases | WASM runtime / `emscripten-runtime` | Runs `wasm_platform`, `wasm_math`, `wasm_web_scripts` CTest cases and generated-NID-thunk Python tests. Only the focused math check was rerun in this staging revision. | | Node translated-guest runtime cases | WASM runtime / `emscripten-runtime` | Explicit `cargo ... --test runtime -- --ignored` runs the test-host case. On the reduced head, also build `anyps5-runtime-node`, export `ANYPS5_WASM_RUNTIME_NODE`, and run both cases introduced by #9096; this post-merge verification remains pending. | | Full Rust translator/oracle suite on the runtime head | WASM runtime / `emscripten-runtime` | The job now runs the full release/locked suite before the explicit ignored runtime cases. Its new command passes locally as listed above. | The separate prerequisite PRs contain their current local test counts and remote Conventions links. The Emscripten and WGSL workflow runs expired awaiting maintainer approval before creating any jobs; they are not passing remote build results. The full runtime-only rebase, complete runtime build, both Node runtime cases, shader validation and browser verification have **not** been rerun on a reduced head: the prerequisite PRs are unmerged. Earlier integration and candidate-branch results recorded in this PR's history are not results for that future head. <!-- OS, title or homebrew, what was checked. "Not tested" is a valid answer. A performance change: the summary lines of main and of this PR from the same machine and scene, with the traces attached, captured as the Performance report issue form describes. --> ### Checklist <!-- Rules behind each item: https://github.com/boykopovar/AnyPS5/blob/main/CONTRIBUTING.md --> - [ ] Based on current `main`; no other open PR implements the same functions - [ ] 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: #10017, #11341, #9094, #9096, #8864 <!-- #PR, or none --> - [x] Fixes: none <!-- issue it closes as Fixes #N, or none --> - [x] Unblocks: none <!-- title ID and Game bring-up discussion, e.g. PPSA01325 #3232, or none --> - [x] GPUs tested: Mesa llvmpipe (LLVM 21.1.8, 256 bits), Mesa 26.0.8, Vulkan, Ubuntu 26.04.1 for prior integration checks; final runtime-only head not yet revalidated <!-- for AGC, shader recompiler or VideoOut changes: vendor, model, driver and OS of each GPU the GPU tests ran on; otherwise n/a --> - [x] AI-assisted: yes <!-- yes / no -->
github-actions[bot] commented 2026-10-19 10:37:32 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-19T10:37:32Z.


Progress report (a07e985 → 6f459b6)

📈 System libraries: 60.48% (+0.02%, +4 implemented, +1 declared functions)

✅ 4 implemented
Library Name
libc longjmp_nid_postfix
libc setjmp_nid_postfix
libkernel siglongjmp_nid_postfix
libkernel sigsetjmp_nid_postfix
🆕 1 declared as stubs
Library Name
libkernel getcontext_nid_postfix
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6265276110 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6879#issuecomment-6265276110). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-19T10:37:32Z. --- <!-- progress-report --> ### Progress report (a07e985 → 6f459b6) 📈 **System libraries**: 60.48% (+0.02%, +4 implemented, +1 declared functions) <details> <summary>✅ 4 implemented</summary> | Library | Name | | - | - | | libc | `longjmp_nid_postfix` | | libc | `setjmp_nid_postfix` | | libkernel | `siglongjmp_nid_postfix` | | libkernel | `sigsetjmp_nid_postfix` | </details> <details> <summary>🆕 1 declared as stubs</summary> | Library | Name | | - | - | | libkernel | `getcontext_nid_postfix` | </details>
adriadam10 commented 2026-10-19 10:38:19 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-19T10:38:19Z.

Review: CHANGES_REQUESTED


Thanks, this is an ambitious piece of work. In its current form it can't be reviewed or merged as one PR:

  • One topic per PR. It bundles the relinker symbol-type fix, the Rust core/wasm-aot translator, the Emscripten core/wasm-runtime (GPU thread, audio, input, saves), the WGSL backend and recompiler cache-key changes, ~33 files across core/libs/prx, root CMakeLists.txt and docs (179 files, +22955). Please split along those lines, each with its own tests and a "Depends on" chain: (1) fix(relinker) imports keep STT_OBJECT/STT_FUNC (small, can go first), (2) the libs changes that only let sources build under Emscripten, (3) the WGSL backend + cache key (native tests, SPIR-V output unchanged), (4) wasm-aot, (5) wasm-runtime.
  • Conflicts with main that need your attention: core/libs/prx/libc/src/GuestArena.cpp, core/shader/recompiler/CacheKey.hpp, Recompiler.cpp, Recompiler.hpp, ShaderDiskCache.cpp.
  • Not re-run after the rebase (per the PR body): cargo test for core/wasm-aot and the shader check (anyps5-wgsl, naga, wgsl-check). Please rerun them on the rebased head and update Tested.
  • CI coverage: the Rust and Emscripten pieces are not built by the current CI, so nothing in the Build run exercises them. Say in each PR which job covers which claim, or add the job in the PR that introduces the toolchain.
  • The WGSL path adds wgsl to the shader cache key; the PR that does so needs a native test showing the SPIR-V artifact and key for existing shaders are unchanged.

Feel free to reopen the split PRs once these are addressed.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5570342222 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6879#pullrequestreview-5570342222). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-10-19T10:38:19Z. **Review:** CHANGES_REQUESTED --- Thanks, this is an ambitious piece of work. In its current form it can't be reviewed or merged as one PR: - **One topic per PR.** It bundles the relinker symbol-type fix, the Rust `core/wasm-aot` translator, the Emscripten `core/wasm-runtime` (GPU thread, audio, input, saves), the WGSL backend and recompiler cache-key changes, ~33 files across `core/libs/prx`, root `CMakeLists.txt` and docs (179 files, +22955). Please split along those lines, each with its own tests and a "Depends on" chain: (1) `fix(relinker)` imports keep `STT_OBJECT`/`STT_FUNC` (small, can go first), (2) the libs changes that only let sources build under Emscripten, (3) the WGSL backend + cache key (native tests, SPIR-V output unchanged), (4) `wasm-aot`, (5) `wasm-runtime`. - **Conflicts with `main`** that need your attention: `core/libs/prx/libc/src/GuestArena.cpp`, `core/shader/recompiler/CacheKey.hpp`, `Recompiler.cpp`, `Recompiler.hpp`, `ShaderDiskCache.cpp`. - **Not re-run after the rebase** (per the PR body): `cargo test` for `core/wasm-aot` and the shader check (`anyps5-wgsl`, naga, `wgsl-check`). Please rerun them on the rebased head and update Tested. - **CI coverage:** the Rust and Emscripten pieces are not built by the current CI, so nothing in the Build run exercises them. Say in each PR which job covers which claim, or add the job in the PR that introduces the toolchain. - The WGSL path adds `wgsl` to the shader cache key; the PR that does so needs a native test showing the SPIR-V artifact and key for existing shaders are unchanged. Feel free to reopen the split PRs once these are addressed.
valenciana-nc commented 2026-10-21 03:31:39 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by valenciana-nc on 2026-10-21T03:31:39Z.


Manual overlap review found that this port also changes GuestBesselSecondKindZero. I opened draft #8864 for a one-line correctness fix: the console-binary evidence already recorded in docs/dev/debt/libc.md says y0f, y1f and ynf do not raise an exception at ±0. A regression test fails on main; removing the explicit feraiseexcept(FE_DIVBYZERO) makes it pass. Could #8864 land first, with this port rebased to omit its corresponding mxcsr |= 4 too? The fix does not depend on the WASM port.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6307333950 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6879#issuecomment-6307333950). Originally posted by [valenciana-nc](https://github.com/valenciana-nc) on 2026-10-21T03:31:39Z. --- Manual overlap review found that this port also changes `GuestBesselSecondKindZero`. I opened draft #8864 for a one-line correctness fix: the console-binary evidence already recorded in `docs/dev/debt/libc.md` says `y0f`, `y1f` and `ynf` do not raise an exception at ±0. A regression test fails on main; removing the explicit `feraiseexcept(FE_DIVBYZERO)` makes it pass. Could #8864 land first, with this port rebased to omit its corresponding `mxcsr |= 4` too? The fix does not depend on the WASM port.
SteelCrab commented 2026-10-21 04:05:18 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by SteelCrab on 2026-10-21T04:05:18Z.


Manual overlap review found that this port also changes GuestBesselSecondKindZero. I opened draft #8864 for a one-line correctness fix: the console-binary evidence already recorded in docs/dev/debt/libc.md says y0f, y1f and ynf do not raise an exception at ±0. A regression test fails on main; removing the explicit feraiseexcept(FE_DIVBYZERO) makes it pass. Could #8864 land first, with this port rebased to omit its corresponding mxcsr |= 4 too? The fix does not depend on the WASM port.

Agreed, let’s land #8864 first. I’ll then rebase this port and remove the corresponding mxcsr |= 4 change. Thanks for catching this!

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6307766330 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6879#issuecomment-6307766330). Originally posted by [SteelCrab](https://github.com/SteelCrab) on 2026-10-21T04:05:18Z. --- > Manual overlap review found that this port also changes `GuestBesselSecondKindZero`. I opened draft #8864 for a one-line correctness fix: the console-binary evidence already recorded in `docs/dev/debt/libc.md` says `y0f`, `y1f` and `ynf` do not raise an exception at ±0. A regression test fails on main; removing the explicit `feraiseexcept(FE_DIVBYZERO)` makes it pass. Could #8864 land first, with this port rebased to omit its corresponding `mxcsr |= 4` too? The fix does not depend on the WASM port. Agreed, let’s land #8864 first. I’ll then rebase this port and remove the corresponding mxcsr |= 4 change. Thanks for catching this!
SteelCrab commented 2026-10-21 05:58:57 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by SteelCrab on 2026-10-21T05:58:57Z.


Scoped this PR to the relinker symbol-type fix. Local tests: 238/238 passed

Conventions passed. The remaining WASM changes will follow in separate PRs after this merges.

Build CI awaits maintainer approval.

@adriadam10

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6309197993 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6879#issuecomment-6309197993). Originally posted by [SteelCrab](https://github.com/SteelCrab) on 2026-10-21T05:58:57Z. --- Scoped this PR to the relinker symbol-type fix. Local tests: 238/238 passed Conventions passed. The remaining WASM changes will follow in separate PRs after this merges. Build CI awaits maintainer approval. @adriadam10
SteelCrab commented 2026-10-21 07:22:54 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by SteelCrab on 2026-10-21T07:22:54Z.


@adriadam10 Correction to my earlier scope note: #6879 is restored as the full WASM browser/runtime PR. I propose keeping this PR for runtime integration, landing focused prerequisites, then rebasing #6879 after they merge. #8864 remains a prerequisite.

Prepared against main 86b84244fb:

The capture checks also pass (16 stages, 8 pipelines) with the independent masked-select fix; its regression fails on main and passes with the fix. The relinker symbol-type fix is needed for imported-data inputs: mislabeled STT_FUNC produces an ImportStub instead of HostData. These dependencies will be explicit; #6879 remains the WASM PR.

The one-open-PR limit currently prevents submitting prerequisites alongside #6879. Would you approve this staging plan and use the maintainer-reopen exception if needed? Could you also approve the pending toolchain workflow runs or trigger Build? Each extraction includes its focused CI coverage.

Full runtime verification against main f894ba69d3 is on a separate candidate. It fixes nested recompiler test sources replacing product startup; a new production-library guest regression fails before the fix and passes after it. The runtime CI now builds the production Node target and executes both runtime cases. Local results: 98 Rust tests plus both runtime cases pass; 19 Naga stages and 11 Vulkan pipelines pass with no validation errors; Chromium 151/SwiftShader runs the synthetic guest and creates all three public compute pipelines. The shader-debt conflict with that main revision is resolved on the candidate. #6879's title, body and code remain preserved while staging agreement is pending; these candidate results are not remote CI results.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6310450993 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6879#issuecomment-6310450993). Originally posted by [SteelCrab](https://github.com/SteelCrab) on 2026-10-21T07:22:54Z. --- @adriadam10 Correction to my earlier scope note: #6879 is restored as the full WASM browser/runtime PR. I propose keeping this PR for runtime integration, landing focused prerequisites, then rebasing #6879 after they merge. #8864 remains a prerequisite. Prepared against main `86b84244fb`: - [Emscripten library portability](https://github.com/SteelCrab/AnyPS5/compare/86b84244fbf0dc0a0e70c3368c630d0c5bb7fee2...79a80d7324e0eec0eea9671ce694ade5f3c6b6b4) — 16 memory64 source builds; native/WASM conversion tests pass. - [WGSL/native cache compatibility](https://github.com/SteelCrab/AnyPS5/compare/86b84244fbf0dc0a0e70c3368c630d0c5bb7fee2...da93372714958c35eda15a31d43c207d29b7b0a7) — native key/artifact/SPIR-V snapshots match main; three public Naga/wgpu compute fixtures pass. - [wasm-aot](https://github.com/SteelCrab/AnyPS5/compare/86b84244fbf0dc0a0e70c3368c630d0c5bb7fee2...ebb38961103ba11b89ac69d71c6703183f7d66fc) — 98 tests pass, four optional cases explicitly ignored. The capture checks also pass (16 stages, 8 pipelines) with the independent masked-select fix; its regression fails on main and passes with the fix. The relinker symbol-type fix is needed for imported-data inputs: mislabeled STT_FUNC produces an ImportStub instead of HostData. These dependencies will be explicit; #6879 remains the WASM PR. The one-open-PR limit currently prevents submitting prerequisites alongside #6879. Would you approve this staging plan and use the maintainer-reopen exception if needed? Could you also approve the pending toolchain workflow runs or trigger Build? Each extraction includes its focused CI coverage. Full runtime verification against main `f894ba69d3` is on a [separate candidate](https://github.com/SteelCrab/AnyPS5/tree/verify/wasm-runtime-current-main). It fixes nested recompiler test sources replacing product startup; a new production-library guest regression fails before the fix and passes after it. The runtime CI now builds the production Node target and executes both runtime cases. Local results: 98 Rust tests plus both runtime cases pass; 19 Naga stages and 11 Vulkan pipelines pass with no validation errors; Chromium 151/SwiftShader runs the synthetic guest and creates all three public compute pipelines. The shader-debt conflict with that main revision is resolved on the candidate. #6879's title, body and code remain preserved while staging agreement is pending; these candidate results are not remote CI results.
adriadam10 commented 2026-10-21 10:29:29 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-21T10:29:29Z.

Review: CHANGES_REQUESTED


Thanks for the staging plan, it is the right direction. The head is still the full bundle (221 files, +28914: relinker, Emscripten libs, WGSL, wasm-aot, wasm-runtime) and conflicts with main, so it can't be reviewed or merged yet.

  • Go ahead and open the prerequisite PRs (relinker symbol-type fix, Emscripten library portability, WGSL/native cache compatibility, wasm-aot), each with its own tests, "Depends on" chain and the CI job that covers its claims. The one-open-PR limit should not hold them back.
  • Once they merge, rebase this PR so it only carries core/wasm-runtime, its web/tools files and docs, then rerun the full runtime verification you describe on the rebased head and put the results in Tested.
  • Keep dropping the GuestBesselSecondKindZero change as agreed with #8864.
  • The runtime PR must say which job covers each claim (Emscripten build, Node runtime cases, Rust tests); the Conventions check currently fails on this head.

Leaving it as changes requested until it is reduced to the runtime topic.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5598326858 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6879#pullrequestreview-5598326858). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-10-21T10:29:29Z. **Review:** CHANGES_REQUESTED --- Thanks for the staging plan, it is the right direction. The head is still the full bundle (221 files, +28914: relinker, Emscripten libs, WGSL, wasm-aot, wasm-runtime) and conflicts with `main`, so it can't be reviewed or merged yet. - Go ahead and open the prerequisite PRs (relinker symbol-type fix, Emscripten library portability, WGSL/native cache compatibility, wasm-aot), each with its own tests, "Depends on" chain and the CI job that covers its claims. The one-open-PR limit should not hold them back. - Once they merge, rebase this PR so it only carries `core/wasm-runtime`, its web/tools files and docs, then rerun the full runtime verification you describe on the rebased head and put the results in Tested. - Keep dropping the `GuestBesselSecondKindZero` change as agreed with #8864. - The runtime PR must say which job covers each claim (Emscripten build, Node runtime cases, Rust tests); the Conventions check currently fails on this head. Leaving it as changes requested until it is reduced to the runtime topic.
SteelCrab commented 2026-10-21 12:31:15 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by SteelCrab on 2026-10-21T12:31:15Z.


@adriadam10 The prerequisites are submitted: #8899 → #9092 → #9094 → #9096. Each includes focused tests, dependencies and CI coverage, and all four pass Conventions.

The intake bot still closed them under the one-open-PR limit. Its exception requires a maintainer to reopen them directly. Could you reopen these four and approve/rerun the required CI workflows?

After they and #8864 merge, I’ll reduce #6879 to the runtime topic, rebase it and rerun the full verification.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6315953097 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6879#issuecomment-6315953097). Originally posted by [SteelCrab](https://github.com/SteelCrab) on 2026-10-21T12:31:15Z. --- @adriadam10 The prerequisites are submitted: #8899 → #9092 → #9094 → #9096. Each includes focused tests, dependencies and CI coverage, and all four pass Conventions. The intake bot still closed them under the one-open-PR limit. Its exception requires a maintainer to reopen them directly. Could you reopen these four and approve/rerun the required CI workflows? After they and #8864 merge, I’ll reduce #6879 to the runtime topic, rebase it and rerun the full verification.
MarcZX10 commented 2026-10-22 02:06:59 +00:00 (Migrated from github.com)

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


I am reviewing #9506, which adds sceNetSetDnsInfo, sceNetSetDns6Info and sceNetGetDns6Info plus a new registered test and debt entry. The overlap bot could not compare some of these branches because of base conflicts, and this PR author has not yet recorded an agreed merge order. Please confirm whether your current changes overlap these exact exports, CMake/test insertion, or debt section, and whether #9506 can land before your PR or should depend on yours. The #9506 author is being asked to record the agreed order in Depends on and the overlap note.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6330951509 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6879#issuecomment-6330951509). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-22T02:06:59Z. --- I am reviewing #9506, which adds `sceNetSetDnsInfo`, `sceNetSetDns6Info` and `sceNetGetDns6Info` plus a new registered test and debt entry. The overlap bot could not compare some of these branches because of base conflicts, and this PR author has not yet recorded an agreed merge order. Please confirm whether your current changes overlap these exact exports, CMake/test insertion, or debt section, and whether #9506 can land before your PR or should depend on yours. The #9506 author is being asked to record the agreed order in `Depends on` and the overlap note.
SteelCrab commented 2026-10-22 07:26:55 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by SteelCrab on 2026-10-22T07:26:55Z.


I am reviewing #9506, which adds sceNetSetDnsInfo, sceNetSetDns6Info and sceNetGetDns6Info plus a new registered test and debt entry. The overlap bot could not compare some of these branches because of base conflicts, and this PR author has not yet recorded an agreed merge order. Please confirm whether your current changes overlap these exact exports, CMake/test insertion, or debt section, and whether #9506 can land before your PR or should depend on yours. The #9506 author is being asked to record the agreed order in Depends on and the overlap note.

Thanks for checking, @MarcZX10!

I compared both diffs. The only change #6879 makes to core/libs/prx/libSceNet/Export.cpp is adding #include <sys/time.h>. It does not modify the DNS exports, test registration, or libSceNet debt section changed by #9506.

Please feel free to land #9506 first—it does not depend on #6879, so Depends on: none can stay. I’ll rebase #6879 afterward, preserving your DNS changes and keeping the portability include.

Thanks for helping coordinate the merge order!

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6335235750 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6879#issuecomment-6335235750). Originally posted by [SteelCrab](https://github.com/SteelCrab) on 2026-10-22T07:26:55Z. --- > I am reviewing #9506, which adds `sceNetSetDnsInfo`, `sceNetSetDns6Info` and `sceNetGetDns6Info` plus a new registered test and debt entry. The overlap bot could not compare some of these branches because of base conflicts, and this PR author has not yet recorded an agreed merge order. Please confirm whether your current changes overlap these exact exports, CMake/test insertion, or debt section, and whether #9506 can land before your PR or should depend on yours. The #9506 author is being asked to record the agreed order in `Depends on` and the overlap note. Thanks for checking, @MarcZX10! I compared both diffs. The only change #6879 makes to `core/libs/prx/libSceNet/Export.cpp` is adding `#include <sys/time.h>`. It does not modify the DNS exports, test registration, or `libSceNet` debt section changed by #9506. Please feel free to land #9506 first—it does not depend on #6879, so `Depends on: none` can stay. I’ll rebase #6879 afterward, preserving your DNS changes and keeping the portability include. Thanks for helping coordinate the merge order!

Pull request closed

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!6879
No description provided.