Repository navigation
feat(tools): compare pinned CTest result bundles - #22505
oneandonlydean merged 2 commits into
Conversation
|
Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.
|
b4aa2cf to
0d2cbd6
Compare
MarcZX10
left a comment
There was a problem hiding this comment.
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
| Check | Result | Note |
|---|---|---|
| Diff and source review | passed | Four changed files inspected |
| Tests in this review | not run | Windows runs reported by author |
| Excluded files | not applicable | files.json was unavailable |
Findings
Blocking
None.
Non-blocking
None.
Not verified
The prepared manifest lists CMakeLists.txt, docs/dev/BUILD.md, tools/ctest_bundle_compare.py, and tools/tests/test_ctest_bundle_compare.py as included. I reviewed the diff for all four, but did not read the full files from review/files/ or inspect callers and repository context through repo_read.py. I could not verify the excluded-file list because files.json was unavailable. Tests and Windows behavior were not independently verified.
To get this to a good state
Nothing is required.
ligmaSec
left a comment
There was a problem hiding this comment.
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.
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)