fix(web): keep the failure report with a failed conversion #11228
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/11228"
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 ebosido444-ai on 2026-10-25T22:12:46Z.
What
A failed inspect or conversion hid the progress panel that held the conversion log, cleared the selected archives and showed one plain line, so the evidence was gone and a multi-GB input had to be picked again. Compose the message with the phase, the current input, the target, the libraries tag and the last 150 log lines, and show it inside the error box under "Failure details" so it can be selected and copied into a report.
failure-report.mjsis pure and unit-tested. It is added totools/package_release.py'sWEB_FILESand to theFILESfixture intools/tests/test_web_release.py, becauseapp.mjsnow imports it and the release archive has to carry every frontend module.Tested
node --test demo/web/tests/{app,batch,failure-report,output-directory}.test.mjs: 14 pass, 0 fail.node --check demo/web/app.mjs demo/web/failure-report.mjs.python3 -m unittest discover -s tests -p test_web_release.pyfromtools/: 30 tests pass, includingtest_package_includes_every_frontend_source. Not exercised in a real browser: the change replaces the error box contents, and an end-to-end failure needs a working release download.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 MarcZX10 on 2026-10-25T22:37:31Z.
Review: DISMISSED
The new frontend module is imported by
app.mjs, but the completed hosted relinker CTest run failsweb_releaseon Ubuntu, Windows and both macOS jobs. The failingtest_package_includes_every_frontend_sourcereportsfailure-report.mjsas present indemo/webbut absent from the release archive. Please add the module totools/package_release.py'sWEB_FILESand update the correspondingFILESfixture intools/tests/test_web_release.py, then rerun the suite. The failure occurs in this PR's all-platform checks; the remaining checks pass.