fix(web): align deployed relinker with release libraries #6746
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/6746"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by mariusyo07 on 2026-10-16T09:15:46Z.
What
Fixes #5381. The Pages workflow previously built the browser relinker from
mainwhile downloading PRX libraries from the latest release, causing fresh conversions to require imports absent from older bundled libraries.The Release workflow now builds
relinker_wasm.mjsandrelinker_wasm.wasmfrom the same tagged commit as the release libraries, attaching all artifacts to the release. Pages deploys from the completed Release workflow, verifying the latest release tag resolves to that workflow's commit, and packages the WASM and libraries from that exact tag using--release-tag.Tested
macOS arm64:
python3 -m unittest tools/tests/test_build_web_release_pin.pypassed (2/2).python3 -m unittest discover -s tools/testspassed (497 tests).git diff --checkandtools/check_conventions.pypassed.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by copilot-pull-request-reviewer[bot] on 2026-10-16T09:15:55Z.
Review: COMMENTED
Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.
Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-16T09:34:16Z.
Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.
.github/workflows/release.ymlCMakeLists.txt.github/workflows/pages.ymlCMakeLists.txtCMakeLists.txtCMakeLists.txtCMakeLists.txtCMakeLists.txtCMakeLists.txtCMakeLists.txtCMakeLists.txtCMakeLists.txtCMakeLists.txtCMakeLists.txttools/build_web.pyCMakeLists.txtCMakeLists.txtCMakeLists.txtCMakeLists.txtCMakeLists.txtCMakeLists.txtCMakeLists.txtCMakeLists.txtCMakeLists.txtCMakeLists.txtImported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-19T08:08:15Z.
Review: CHANGES_REQUESTED
Thanks, aligning the WASM relinker with the release libraries is the right fix for #5381. One problem to address:
.github/workflows/pages.yml:3: removing thepush(main) andworkflow_dispatchtriggers means the site is only redeployed after a newv*tag. Changes todemo/web/**,tools/progress.py,tools/progress_history.pyand the progress pages would never be published between releases, and the workflow can no longer be run by hand. Keep a path-filteredpushtrigger plusworkflow_dispatch, but have those runs also use the latest release's WASM and libraries (gh release viewtag, same--release-tag), so the pair stays consistent without building WASM frommain. The commit-vs-tag check can stay for theworkflow_runpath only.maininpages.yml:mainadded apaths:filter to thepushtrigger (afe2141a7). Please rebase and keep that filter when restoring the trigger.The rest (release.yml
webjob,--release-tagvalidation, the new test registered in ctest) looks fine. The full Release→Pages flow only runs on a real tag, so please say in the PR how you checked it (e.g. a dry run on your fork).Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-20T05:09:40Z.
Thanks for working on this. #5710 has now merged as the fix for #5381: the site deploys the relinker and libraries from the same release, so this one is covered and now conflicts. Closing; thank you for the work on it.
Pull request closed