Repository navigation
Conversation
added 30 commits
November 17, 2026 10:02
…nch-errors-stacked-20261119
Windows can reject a fixed-base title before the process starts. Record the host launch error in the smoke summary so batch runs continue and comparisons distinguish it from relink failure.
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
|
|
Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Report an OS process-launch error as a normal
launch-failedtitle-run outcome. The smoke path previously letSession/Popenraise anOSError, endingtools/title_run.pywith a Python traceback and no run summary. The runner now writes the flattened error tostderr.log, records zero presents and no exit code, and includes the failure in the standard JSON and Markdown summaries. This applies to launch failures on any title and host OS.docs/dev/TRACING.mdlists the new outcome.This draft depends on boykopovar#22357, which includes boykopovar#22267 and their title-run outcome, provenance and cache-policy changes. It merges upstream
ee93861d05finto that stack. The actual feature commited10f834c51on top changes onlytools/title_run.py,tools/tests/test_title_run.py, and the existing title-run documentation; inherited changes remain owned by their original PRs.On Windows, one XPSemu Alpha 2.1 (PPSA97358) invocation with the existing
--windows-fixed-base 0x400000option reproduced WinError 623, Illegal System DLL Relocation. A later repeat on this stacked head launched and rendered, so the host-side address conflict is intermittent in this setup. This PR reports launch failures accurately; it does not fix that address conflict or claim to unlock the title.Tested
tools/tests/test_title_run.pysuite passed, 161 tests with 19 skips (180 total). Alltest_title_run*.pymodules passed, 257 tests with 44 skips (301 total), andtest_performance_bisect.pypassed 67/67. The new test forces a multilineOSError(623, ...)fromSessionand verifies thelaunch-failedresult, flattened error, log, zero presents, absent exit code, absent FPS, and unknown native provenance.launch-failedJSON/Markdown summary instead of a traceback. A later repeat with this exact stacked runner produced arenderingsummary at 116.4 FPS (20 seconds, 1,164 presents), showing the successful path still works. Both runs used earliera092ae79db5runtime binaries; the report identifies their native provenance as mismatched with the source. Neither is a current-main runtime validation or a runtime fix.tools/check_conventions.py --base upstream/mainwith this title/body,tools/debt_fold.py --check, andgit diff --checkpassed. The later upstream tipdd9b766645bchanges none of this feature's three files or inheritedCMakeLists.txt; agit merge-tree --write-tree upstream/main HEADcheck succeeded.tools/pr_overlap.py --branchscan found fix(tools): distinguish incomplete short title observations boykopovar/AnyPS5#22267 and fix(tools): record effective cache policy for title runs boykopovar/AnyPS5#22357 editing the outcome/FPS rules, so this branch builds on fix(tools): record effective cache policy for title runs boykopovar/AnyPS5#22357. The exact stacked head's full scan fetched 2,028 open PR heads and found no competing code hunks or exports. It exited 2 because 14 older PRs could not be merged against the base for automatic comparison: feat(aot): discuss native ARM64 compiler architecture and integration boykopovar/AnyPS5#1835, feat(agc): look up table images at run time through a device image table on the GPU heap (APS5_GPU_PATH) boykopovar/AnyPS5#7642, feat(agc): GPU descriptor heap on VK_EXT_descriptor_heap (APS5_GPU_HEAP) boykopovar/AnyPS5#9508, feat(aot): add opt-in LLVM integer leaf compiler boykopovar/AnyPS5#9776, feat(agc): serve lane-keyed, pointer and runtime image-table columns boykopovar/AnyPS5#10193, feat(freetype): implement font table validation boykopovar/AnyPS5#10897, feat(agc): resolve table samplers through device image keys boykopovar/AnyPS5#13928, feat(agc): resolve runtime sampler addresses through device image keys boykopovar/AnyPS5#13929, build(cmake): set explicit ctest timeouts for python tooling and relinker tests boykopovar/AnyPS5#18425, perf(agc): keep shaders off host imports on NVIDIA's Windows driver and cut per-draw CPU boykopovar/AnyPS5#20315, test(tools): cover base_ref.resolve base branch choice boykopovar/AnyPS5#21444, test(tools): cover the stub, seed, packaging and selection tools boykopovar/AnyPS5#22178, test(tools): cover the debt, NID name, environment and ISA profile tools boykopovar/AnyPS5#22179, feat(ci): publish pinned CTest result bundles boykopovar/AnyPS5#22594. I compared every reported patch: the CMake changes register or configure other tests or optional builds; perf(agc): keep shaders off host imports on NVIDIA's Windows driver and cut per-draw CPU boykopovar/AnyPS5#20315 edits the trace-switch table near line 43, whereas this PR documents the outcome near line 88. This is manual resolution of the checker warning, not a clean checker exit.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