Repository navigation
Fix generated installation CI and dependency setup ordering - #61
Conversation
Keep generated CI source-only, configure package-specific install switches in presets, and document a client-owned installation workflow. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
sean-parent
left a comment
There was a problem hiding this comment.
Talos — Review Complete
No issues found in the full PR diff against main.
Reviewed SHA: eb4f4f9d27eb0c51b9285b81385f02e89c0ceb1d.
| Files | Reviewers | Candidates → validated → accepted | Posted | Tests |
|---|---|---|---|---|
| 14 | 6 personas, challenge | 0 → 0 → 0 | 0 inline, 0 overflow | Fresh local CMake regressions, docs rendering, clangd, YAML parsing and diff checks passed; the follow-up CI template check was executed directly and passed. |
All six baseline personas (security, correctness, standards, architecture, operations and documentation) completed, then challenge completed with no candidates. No duplicate or recurring findings and no unanchored findings were omitted. No approval was submitted.
Persona routing: static roster (DCAP routing off; rerun with --dcap to enable).
Org knowledge: off (rerun with --knowledge).
Project context: CLAUDE.md at base 7e8dfba; one GitHub custom instruction file, .github/copilot-instructions.md, loaded at that revision, applied to all 14 changed paths; no instruction diagnostics. No eligible i18n or opted-in test-quality persona.
Scout
Used: risk MEDIUM, evidence LOW, status COMPLETE (scout 0.9.135, <1s).
Cross-file leads given to reviewers: 0 changed symbol(s) with uses outside the diff, 0 new value(s) not handled everywhere, 1 possibly unused symbol(s).
Scout rated its evidence LOW for this change; reviewers used it only as leads.
Scout evidence is incomplete (rows cut by the packet budget); reviewers treated missing evidence as unknown, not as proof.
Scout also lists 3 Should Run test(s).
Scout left 3 affected-test entries out of its packet; for the full list run scout affected-tests -r '/Users/sean-parent/repos/github.com/stlab/cpp-library/.claude/worktrees/issue-58' -s compare -b main.
Verification boundary
The CI template existence check initially referenced the old filename; it was corrected in the reviewed head, validated by executing the workflow step, and the final full-diff Talos review was rerun. Latest-head Unit Tests, Documentation Test, Integration Tests, and macOS/Ubuntu clangd jobs passed. Windows static/DLL and Windows clangd jobs were still pending at publication preparation. The example workflow's exact shell steps passed locally during implementation, but the client-owned example itself has not been run on GitHub-hosted Ubuntu.
Summary
cpp_library_setup().Fixes #58. Addresses the dependency-ordering hazard discussed in #37 without another client initialization API.
Test plan
Fresh local validation on macOS, AppleClang 21, CMake 4.5.1, Ninja 1.13.2, and Doxygen 1.18.0:
cmake -P tests/install/CMakeLists.txt— 53 assertions passed; harness retains its expected fatal-error-case skip.cmake -P tests/install/test_provider_merge.cmake— passed.cmake -P tests/install/test_nested_install.cmake— all cases passed, including new configure-only ordering cases.cmake -P tests/install/test_package_ci.cmake— source presets, custom options, regeneration, and optional artifact checks passed.cmake -P tests/setup/test_target_type.cmake— all cases passed.cmake -P tests/setup/test_header_checks.cmake— all cases passed.cmake -P tests/setup/test_source_testing.cmake— static/shared production coverage passed.cmake -P tests/setup/test_version_override.cmake— all cases passed.cmake -P tests/setup/test_install_dirs.cmake— all cases passed.cmake -P tests/setup/test_runtime_dlls.cmake— host-compatible runtime deployment passed; Windows DLL behavior remains CI-only.cmake -P tests/setup/test_setup_version_resolution.cmake— passed.cmake -P tests/docs/test_docs.cmake— documentation regression and rendering checks passed.cmake -DCPP_LIBRARY_TEST_CLANGD=ON -DCPP_LIBRARY_TEST_COMPILER_ID=AppleClang -P tests/setup/test_clangd.cmake— passed.git diff --checkand Ruby YAML parsing — passed.de6addc01fb26ad45655b36eaa86bf07f39ca161; verified dependencies resolved inside the staged prefix.CIworkflow: Ubuntu jobs and the existing CPM-to-installed-consumer integration job.CIworkflow: Windows static/DLL, PowerShell scaffold, and other clangd matrix variants.The documented example has not been executed on GitHub-hosted Ubuntu. No repository-wide formatter/linter entry point is configured for these CMake changes; consumer clang-tidy presets are not this toolkit's own build.
Generated with GitHub Copilot CLI