Skip to content

feat(tools): compare pinned CTest result bundles - #22505

Merged
oneandonlydean merged 2 commits into
boykopovar:mainfrom
mjnhbg3:codex/ctest-bundle-comparison-20261117
Dec 4, 2026
Merged

oneandonlydean merged 2 commits into
boykopovar:mainfrom
mjnhbg3:codex/ctest-bundle-comparison-20261117

Conversation

@mjnhbg3

@mjnhbg3 mjnhbg3 commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

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

  • 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: feat(tools): add pinned CTest result bundle CLI #22004
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes

@github-actions

github-actions Bot commented Nov 17, 2026 •

Copy link
Copy Markdown

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.

Pull request Shared files not compared
PR 1835 CMakeLists.txt
docs/dev/BUILD.md
PR 7642 CMakeLists.txt
PR 9508 CMakeLists.txt
PR 10193 CMakeLists.txt
PR 10897 CMakeLists.txt
PR 11435 docs/dev/BUILD.md
PR 13928 CMakeLists.txt
PR 13929 CMakeLists.txt
PR 15136 docs/dev/BUILD.md
PR 15456 docs/dev/BUILD.md
PR 16793 docs/dev/BUILD.md
PR 18208 docs/dev/BUILD.md
PR 18210 docs/dev/BUILD.md
PR 19562 docs/dev/BUILD.md
PR 19610 docs/dev/BUILD.md
PR 19628 docs/dev/BUILD.md
PR 19635 docs/dev/BUILD.md
PR 19645 docs/dev/BUILD.md
PR 19670 docs/dev/BUILD.md
PR 19720 docs/dev/BUILD.md
PR 21222 docs/dev/BUILD.md
PR 22178 CMakeLists.txt
PR 22434 docs/dev/BUILD.md
PR 22647 docs/dev/BUILD.md
PR 23970 CMakeLists.txt
PR 26131 docs/dev/BUILD.md
PR 26173 docs/dev/BUILD.md
PR 27133 docs/dev/BUILD.md
PR 28485 CMakeLists.txt

@mjnhbg3
mjnhbg3 force-pushed the codex/ctest-bundle-comparison-20261117 branch from b4aa2cf to 0d2cbd6 Compare November 17, 2026 22:52

@MarcZX10 MarcZX10 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 ligmaSec left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@oneandonlydean
oneandonlydean merged commit ced4033 into boykopovar:main Dec 4, 2026
14 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants