fix(ci): recover Linux tests when the runner CTest cannot start #28615
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/28615"
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 RuiRDA on 2026-12-02T03:16:46Z.
What
Probe the CTest executable selected by CMake before the Linux build. If the pair cannot start, verify and unpack the pinned Kitware bundle in the runner’s temporary directory and use both tools from that bundle.
Tested
Linux: exercised the workflow step with a working pair, simulated the reported CTest exit 127, and tested checksum rejection. With the recovered pair, configured and built a Ninja fixture, ran it through the repository’s CTest wrapper, validated nonempty JUnit, and produced the test graph. Self-hosted upstream runner pending.
The conventions checker and
git diff --checkpassed. I searched relevant open PRs for the affected behavior and checked related patches where found. The complete overlap scan requires CLI authentication.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)Summary by CodeRabbit
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-12-02T04:12:59Z.
Review: APPROVED
Reviewed — looks good
The fallback checks the runner’s CTest and, if it cannot start, verifies and selects the pinned Kitware CMake/CTest bundle for subsequent workflow steps.
What I ran
Inspected PR head
b1040a24436604322946edc7359e0c7612a502df. No merged-preview check or executable checks were run. I read the changed workflow hunk and its surrounding setup and build/test steps; no toolchain was used.Results
Negative control
Not run; the workflow was not executed in this review.
Findings
Blocking
None.
Non-blocking
None.
Sources
Not verified
The PR description reports exercising the working-pair path, simulated CTest failure, checksum rejection, and a Ninja fixture. Those runs were not independently verified here. Read
.github/workflows/build.ymlin the changed hunk and relevant surrounding context;files.jsonlists no excluded files.To get this to a good state
Nothing is required.