feat(tools): compare pinned CTest result bundles #22505
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/22505"
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 mjnhbg3 on 2026-11-17T18:14:42Z.
What
Compare two version 1 CTest bundles using pinned provenance, retained report hashes, testcase outcomes, and recorded coverage limits. Malformed, tampered, or incorrectly pinned input exits with status 2. Observed failures, skips, and coverage gaps are reported without changing the original test verdicts.
The separate test commit shares paired bundle setup. It keeps every test case and the real CTest integration. #22004 provides the artifact format.
Tested
Nine focused CTest groups passed on Windows, including all 43 Python test methods. Ran the exact producer and reader against two real 10-case bundles, an archived 5,006-case CI artifact, and matched historical 49-case GPU JUnit reports. Original and final CTest registrations match.
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-11-21T11:27:27Z.
Review: APPROVED
Reviewed — looks good
Nothing blocks this; the points below are optional.
What I ran
Reviewed head
0d2cbd65a2765e95d48349b90b087c6c74310ca6. Inspected the prepared diff and changed-file inventory; did not run commands. The description reports Windows CTest and Python test runs, which I did not independently run.Results
files.jsonwas unavailableFindings
Blocking
None.
Non-blocking
None.
Not verified
The prepared manifest lists
CMakeLists.txt,docs/dev/BUILD.md,tools/ctest_bundle_compare.py, andtools/tests/test_ctest_bundle_compare.pyas included. I reviewed the diff for all four, but did not read the full files fromreview/files/or inspect callers and repository context throughrepo_read.py. I could not verify the excluded-file list becausefiles.jsonwas unavailable. Tests and Windows behavior were not independently verified.To get this to a good state
Nothing is required.
Imported from boykopovar/AnyPS5. Originally posted by ligmaSec on 2026-12-03T11:08:16Z.
Review: COMMENTED
Ran the submitted CTest bundle comparison suite on Linux. All 43 passed. I checked the distinctions exercised by the tests for verified report contents, tampered reports, physically missing reports, and reports declared missing.
AI-assisted: yes.