feat(tools): add pinned CTest result bundle CLI #22004
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/22004"
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-17T01:18:20Z.
What
Add the standalone
tools/ctest_bundle.py prepareandfinishcommands and document the version 1 manifest. Preserve the checked-out commit and tree, the original report bytes and hashes, and explicit states for unavailable reports. The CLI leaves the CTest exit status with the caller.This is the collector slice of #22004. The dependent #22594 contains workflow uploads and selected-test wiring. The retry fixture allows one second for Python startup and retains its intentional timeout and assertions.
Tested
Windows Release relinker-only configuration, all six original collector groups, and real CTest exit, retry, zero-selection, and stale-output fixtures. Compared all 44 original acceptance registrations with the split stack. The collector schema and production source are unchanged from the full proposal.
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-21T08:43:07Z.
Review: APPROVED
Reviewed — looks good
The reviewed change at head
bae602095b6def41a894094018d02022613ed179adds a pinned CTest report collector, and the code inspected supports its stated provenance and report-preservation behavior.What I ran
No commands were run. I read the prepared diff and the changed files through
repo_read.py; the author reports Windows Release and fixture checks, which I did not run.Results
Negative control
Not run; no command execution was available.
Findings
Blocking
None.
Non-blocking
None.
Sources
Behavior claims are based on the pinned diff and changed source at
bae602095b6def41a894094018d02022613ed179.Not verified
No runtime tests, workflow integration, or behavior on Windows or a physical console were verified. The author describes this as the collector slice, with workflow uploads and selected-test wiring deferred to #22594. All changed files listed in the manifest were read:
CMakeLists.txt,docs/dev/BUILD.md,tools/ctest_bundle.py, andtools/tests/test_ctest_bundle.py. No changed files were excluded.To get this to a good state
Nothing is required.
Imported from boykopovar/AnyPS5. Originally posted by ligmaSec on 2026-12-03T11:08:12Z.
Review: COMMENTED
Ran the submitted CTest bundle suite on Linux. All 33 cases passed. The new tests exercise actual Git commit and tree identity, ordered pins, and distinct treatment of tracked edits, untracked files, and unknown collection context.
AI-assisted: yes.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.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.