fix(web): align deployed relinker with release libraries #5409

Closed
likecrank-dotcom wants to merge 1 commit from upstream-pr/5409 into main
likecrank-dotcom commented 2026-10-13 19:05:19 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by likecrank-dotcom on 2026-10-13T19:05:19Z.


What

Fixes #5381. The Pages workflow previously built the browser relinker from main while downloading PRX libraries from the latest release. This could publish guest modules that import symbols missing from the bundled libraries.

The Release workflow now builds relinker_wasm.mjs and relinker_wasm.wasm from the same tagged commit as the Windows and Linux libraries, then attaches all three platform assets to that release. Pages deploys after a successful Release workflow, verifies the latest release tag resolves to that workflow's commit, and packages the WASM and libraries from that exact tag.

The website now updates on successful releases, rather than every push to main, so its relinker and libraries remain version-aligned.

Tested

Windows 11 Pro build 26100, WinLibs MinGW GCC 15.2.0, CMake 4.4.4:

  • web_release_pin: 1/1 CTest passed.
  • tools/tests/test_test_registration.py: 20/20 passed.
  • tools/check_conventions.py and git diff --check passed.

The Emscripten release job was not run locally. It uses the same Emsdk 6.0.3 configure, build and web smoke-test commands as the existing Pages workflow. No game run.

Checklist

  • Based on current main; no other open PR implements the same behavior
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical-debt comments
  • Unimplemented paths throw; no stubs added
  • No notes, investigation files or images added to the repository
  • No third-party code added
  • Generic behavior, not title-specific
  • Depends on: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes (OpenAI Codex); the human author is responsible for this contribution
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4848115838 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/5409). Originally posted by [likecrank-dotcom](https://github.com/likecrank-dotcom) on 2026-10-13T19:05:19Z. --- ### What Fixes #5381. The Pages workflow previously built the browser relinker from `main` while downloading PRX libraries from the latest release. This could publish guest modules that import symbols missing from the bundled libraries. The Release workflow now builds `relinker_wasm.mjs` and `relinker_wasm.wasm` from the same tagged commit as the Windows and Linux libraries, then attaches all three platform assets to that release. Pages deploys after a successful Release workflow, verifies the latest release tag resolves to that workflow's commit, and packages the WASM and libraries from that exact tag. The website now updates on successful releases, rather than every push to `main`, so its relinker and libraries remain version-aligned. ### Tested Windows 11 Pro build 26100, WinLibs MinGW GCC 15.2.0, CMake 4.4.4: - `web_release_pin`: 1/1 CTest passed. - `tools/tests/test_test_registration.py`: 20/20 passed. - `tools/check_conventions.py` and `git diff --check` passed. The Emscripten release job was not run locally. It uses the same Emsdk 6.0.3 configure, build and web smoke-test commands as the existing Pages workflow. No game run. ### Checklist - [x] Based on current `main`; no other open PR implements the same behavior - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except technical-debt comments - [x] Unimplemented paths throw; no stubs added - [x] No notes, investigation files or images added to the repository - [x] No third-party code added - [x] Generic behavior, not title-specific - [x] Depends on: none - [x] Unblocks: none - [x] GPUs tested: n/a - [x] AI-assisted: yes (OpenAI Codex); the human author is responsible for this contribution
github-actions[bot] commented 2026-10-13 19:05:41 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-13T19:05:41Z.


Thank you for your contribution! Authors with no pull requests merged into main can have 1 open pull request at a time, authors with at least 1 merged can have 20, and from 20 merged there is no limit. This PR has been automatically closed and labeled "open PR limit" because that limit was reached. This is not a judgment of the quality of your changes: reopen it once one of your open pull requests is merged or closed.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6153055493 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/5409#issuecomment-6153055493). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-13T19:05:41Z. --- Thank you for your contribution! Authors with no pull requests merged into `main` can have 1 open pull request at a time, authors with at least 1 merged can have 20, and from 20 merged there is no limit. This PR has been automatically closed and labeled "open PR limit" because that limit was reached. This is not a judgment of the quality of your changes: reopen it once one of your open pull requests is merged or closed.

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