feat(ci): publish pinned CTest result bundles #22594

Open
mjnhbg3 wants to merge 3 commits from upstream-pr/22594 into main
mjnhbg3 commented 2026-11-17 22:51:31 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by mjnhbg3 on 2026-11-17T22:51:31Z.


What

Wire the #22004 CLI into eight existing CI job families and forward JUnit from the Windows changed-guest selector. Publish the retained bundle after the test step. Keep selection, timeout, retry, skip policy, and failure propagation in the existing test steps.

Review the CI-only diff against #22004. The follow-up carries the existing build_changed_guest_tests and relinker_test_step test updates. #15153 also touches the selector command; its proposed --graph option can compose with the JUnit and log options.

Tested

Windows Release relinker-only build. The 44-group original suite passed 41 groups. Clean main also failed the same three Windows selector groups while building or cleaning fixture executables. The changed forwarding and workflow tests, the six collector groups, and the relinker smoke tests passed. A real CTest fixture checked failure status, retry behavior, empty selection, and stale output.

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 and the licence notice of code adapted from upstream (see AGENTS.md)
  • 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: #22004
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5366423128 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/22594). Originally posted by [mjnhbg3](https://github.com/mjnhbg3) on 2026-11-17T22:51:31Z. --- ### What Wire the #22004 CLI into eight existing CI job families and forward JUnit from the Windows changed-guest selector. Publish the retained bundle after the test step. Keep selection, timeout, retry, skip policy, and failure propagation in the existing test steps. [Review the CI-only diff against #22004](https://github.com/mjnhbg3/AnyPS5/compare/codex/pinned-ctest-bundles-20261116...codex/ctest-bundle-ci-upload). The follow-up carries the existing `build_changed_guest_tests` and `relinker_test_step` test updates. #15153 also touches the selector command; its proposed `--graph` option can compose with the JUnit and log options. ### Tested <!-- 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. --> Windows Release relinker-only build. The 44-group original suite passed 41 groups. Clean main also failed the same three Windows selector groups while building or cleaning fixture executables. The changed forwarding and workflow tests, the six collector groups, and the relinker smoke tests passed. A real CTest fixture checked failure status, retry behavior, empty selection, and stale output. ### Checklist <!-- Rules behind each item: https://github.com/boykopovar/AnyPS5/blob/main/CONTRIBUTING.md --> - [x] Based on current `main`; no other open PR implements the same functions - [x] 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) and the licence notice of code adapted from upstream (see AGENTS.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: <!-- #PR, or none --> #22004 - [x] Fixes: <!-- issue it closes as Fixes #N, or none --> none - [x] Unblocks: <!-- title ID and Game bring-up discussion, e.g. PPSA01325 #3232, or none --> none - [x] GPUs tested: <!-- for AGC, shader recompiler or VideoOut changes: vendor, model, driver and OS of each GPU the GPU tests ran on; otherwise n/a --> n/a - [x] AI-assisted: <!-- yes / no --> yes
MarcZX10 commented 2026-11-21 08:36:22 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-21T08:36:22Z.

Review: COMMENTED


Reviewed — comments

The review covered the prepared diff at head 70a652f101d96e3b2559ab289205136295fe330f; I did not run checks or read every added line, so a formal approval is not justified.

What I ran

No checks were run. I inspected the prepared diff and selected source ranges through the pinned reader.

Results

Check Result Note
Diff and source inspection passed Selected changed code reviewed
Automated checks not run No test execution performed

Findings

Blocking

None identified in the code inspected.

Non-blocking

None.

Not verified

I read review/description.md, review/commits.md, review/README.md, review/manifest.json, and selected ranges of review/diff.patch. I read the complete tools/ctest_bundle.py, plus selected ranges of .github/workflows/build.yml, tools/build_changed_guest_tests.py, tools/tests/test_build_changed_guest_tests.py, docs/dev/BUILD.md, and tools/tests/test_relinker_test_step.py. The changed files CMakeLists.txt and tools/tests/test_ctest_bundle.py were not fully read; most added lines in the workflow and changed-guest test file were not read either. The manifest lists all eight changed files as included; I did not inspect files.json or check for excluded files. No tests or workflow checks were run.

To get this to a good state

Nothing is required. Optional: complete inspection of all added lines and run the changed tests and applicable workflow checks before making a merge decision.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6004179925 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/22594#pullrequestreview-6004179925). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-21T08:36:22Z. **Review:** COMMENTED --- # Reviewed — comments The review covered the prepared diff at head `70a652f101d96e3b2559ab289205136295fe330f`; I did not run checks or read every added line, so a formal approval is not justified. ## What I ran No checks were run. I inspected the prepared diff and selected source ranges through the pinned reader. ## Results | Check | Result | Note | |---|---|---| | Diff and source inspection | passed | Selected changed code reviewed | | Automated checks | not run | No test execution performed | ## Findings ### Blocking None identified in the code inspected. ### Non-blocking None. ## Not verified I read `review/description.md`, `review/commits.md`, `review/README.md`, `review/manifest.json`, and selected ranges of `review/diff.patch`. I read the complete `tools/ctest_bundle.py`, plus selected ranges of `.github/workflows/build.yml`, `tools/build_changed_guest_tests.py`, `tools/tests/test_build_changed_guest_tests.py`, `docs/dev/BUILD.md`, and `tools/tests/test_relinker_test_step.py`. The changed files `CMakeLists.txt` and `tools/tests/test_ctest_bundle.py` were not fully read; most added lines in the workflow and changed-guest test file were not read either. The manifest lists all eight changed files as included; I did not inspect `files.json` or check for excluded files. No tests or workflow checks were run. ## To get this to a good state Nothing is required. Optional: complete inspection of all added lines and run the changed tests and applicable workflow checks before making a merge decision.
ligmaSec commented 2026-12-03 11:54:08 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by ligmaSec on 2026-12-03T11:54:08Z.

Review: COMMENTED


Ran the bundle, changed-guest test selection, and relinker step Python suites on Linux. All 83 tests passed with TMPDIR outside the checkout. The bundle suite has a reproducible failure when TMPDIR is inside the checkout.

AI-assisted: yes.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6169231996 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/22594#pullrequestreview-6169231996). Originally posted by [ligmaSec](https://github.com/ligmaSec) on 2026-12-03T11:54:08Z. **Review:** COMMENTED --- Ran the bundle, changed-guest test selection, and relinker step Python suites on Linux. All 83 tests passed with `TMPDIR` outside the checkout. The bundle suite has a reproducible failure when `TMPDIR` is inside the checkout. AI-assisted: yes.
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/22594:upstream-pr/22594'
git switch 'upstream-pr/22594'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/22594'
git switch 'upstream-pr/22594'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/22594'
git switch 'upstream-pr/22594'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/22594'
git switch 'main'
git merge --squash 'upstream-pr/22594'
git switch 'main'
git merge --ff-only 'upstream-pr/22594'
git switch 'main'
git merge 'upstream-pr/22594'
git push origin 'main'
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!22594
No description provided.