Skip to content

Upgrade cpp-library to 6.2.0 and inline private runtime tests - #11

Merged
sean-parent merged 3 commits into
mainfrom
update/cpp-library-6.2.0
Nov 21, 2026
Merged

sean-parent merged 3 commits into
mainfrom
update/cpp-library-6.2.0

Conversation

@sean-parent

Copy link
Copy Markdown
Member

Summary

  • Upgrade cpp-library to 6.2.0 and regenerate its source-only CI and presets.
  • Use default thread support and remove private source-directory exposure from standalone tests.
  • Move 66 private test cases inline; preserve all 144 cases and 54,402 assertions.
  • Move single-translation-unit definitions out of shared headers and give implementation-only helpers internal linkage without changing public headers.

Validation

  • Debug, Release, clang-tidy, and ASan/UBSan: 19/19 CTests each.
  • Configure and build the init preset; production default build, formatting, and strict Doxygen generation pass.
  • Verify all moved test bodies are unchanged and production artifacts contain no doctest dependencies or symbols.
  • Installation and installed-consumer tests were deliberately not run; regenerated CI does not install.
  • Cross-platform CI and the published local Talos review are pending.

Generated with GitHub Copilot CLI

Preserve public API tests while moving private coverage beside its implementation. Hide single-translation-unit state and helpers, inherit portable Threads linkage, and regenerate source-build CI and presets.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

@sean-parent sean-parent left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Talos review

Reviewed SHA: 8c9553b.

Six baseline personas plus challenge reviewed all 23 changed files. One candidate, one validated, one accepted LOW finding, one posted inline; no overflow. Static roster; DCAP and org knowledge off. No i18n or test-quality persona was eligible.

Local validation evidence: Debug, Release, clang-tidy and ASan/UBSan each 19/19 CTests, formatting and strict docs, production isolation, and unchanged bodies for all 144 test cases. Installation tests deliberately excluded. Cross-platform CI is separate: Windows currently fails compilation and must be fixed before merge.

Scout was used as advisory evidence: risk CRITICAL, evidence LOW; packet incomplete because of row and dead-code limits. Missing Scout evidence was not treated as absence.

Verdict: address the documentation finding and CI failure before merge.

Comment thread src/raw_stack.cpp Resolved
Include ostream directly for doctest string_view diagnostics after the tests moved out of their implementation-main translation unit. Update parity and retirement evidence to the in-source runners.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

@sean-parent sean-parent left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Talos review: final current-head snapshot

Reviewed SHA: ad6b7c6fa21e2b17608682ac19c44c7d6114e525 against main (18bd3d900927d7b81c2d09b4728b939c1d99e3d3).

Verdict: needs attention; not release-ready. One new LOW documentation finding is posted inline. Separately, current-head Windows CI still fails compilation in runtime_in_source_tests/src/callable.cpp.obj at src/callable.cpp:206, with doctest string-view formatting instantiating an incomplete std::basic_ostream. Failing Windows job. This compiler blocker is reported separately from the documentation finding count.

Scoped fix verdicts

Fix Verdict Evidence
Prior parity and retirement citations ADDRESSED docs/parity.md:34–35,38,44–45 now names the relocated cases; retirement knowledge cites src/value_type.cpp:577,609 and tests/resource_test.cpp:52, with runner guidance.
Guarded <ostream> for value_type.cpp ADDRESSED for that translation unit src/value_type.cpp:519; its in-source-test object compiles in the current Windows log.
Overall Windows-build correction NOT ADDRESSED The same job fails at src/callable.cpp:206–208. The remaining inline doctest sites need the same root-cause scope check; the controller owns the followup patch.

Prior citation thread PRRT_kwDOVp7uNM66Uyzp was replied to with exact corrections (reply), then resolved. The new finding concerns a different cloning-knowledge page, not those corrected surfaces.

Coverage and verification

Files Reviewers Candidates → validated → accepted Posted Tests
25 textual files Six baseline personas plus challenge 1 → 1 → 1 LOW 1 of 1; no overflow No suites rerun; reused reported Debug/Release/tidy/sanitizer 19/19 and 144 cases/54,402 assertions, with targeted fix-wave evidence.

Security, correctness, standards, architecture, and operations returned no observation candidates; documentation supplied the accepted LOW candidate. No rejected or latent findings. Current CI was read, not rerun: Ubuntu GCC/Clang and macOS succeeded; Windows failed; clang-tidy was still in progress at the evidence snapshot; docs was skipped. No installation, installed-consumer, or package-artifact tests were added or run. Public-header invariance and patch hygiene were checked read-only.

Persona routing: static roster; DCAP and org knowledge off. No i18n or test-quality persona was eligible. Base project rules and GitHub custom instructions: none.

Scout supplied bounded advisory evidence: risk CRITICAL, evidence LOW, status COMPLETE, but packet completeness false because of row-budget and dead-code candidate limits. Sixteen changed files used conservative roots, and 64 affected-test entries were omitted; missing evidence was treated as unknown, not absence. No claim is made that Scout's risk label is an accepted defect or that its derived evidence is complete.

No code changes, commits, pushes, approvals, merges, or releases were performed by this review.

Comment thread src/value.cpp Resolved
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

@sean-parent sean-parent left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Talos current-head review: no findings

Reviewed SHA: a4fafc11c952b0ac45a19b42b700a6f51f1d18fe against main (18bd3d900927d7b81c2d09b4728b939c1d99e3d3). No new or remaining accepted findings identified. This is a COMMENT review, not an approval or release authorization.

All six original persona contexts (security, correctness, standards, architecture, operations, documentation) and challenge covered this new head by retaining the prior full-branch review and reading the complete ad6b7c6..a4fafc1 fix diff. No unchanged broad exploration or suites were repeated. The cumulative branch has 26 changed files; the complete fix changes three files, with one guarded <ostream> include as the only C++ delta.

Scoped fix verdicts

Fix Verdict Exact evidence
Cloning citation finding, comment 4651884943 ADDRESSED Knowledge sources now match src/value.cpp:936,946,978,1000,1021 and identify runtime_in_source_tests with configure/build/CTest selectors.
Shifted callable parity anchors and directly stale relocation citations ADDRESSED docs/parity.md:39,53 targets src/callable.cpp:176,302; prior corrected parity/retirement surfaces remain intact.
Remaining MSVC inline-doctest stream dependency ADDRESSED Test-guarded <ostream> at src/callable.cpp:158; exact-head CI run 44892428321 and Windows Build/Test job 136810930222 succeeded. The original value_type.cpp correction remains intact.

Correction reply 4651918165 was posted and verified before resolving cloning thread PRRT_kwDOVp7uNM66U2-2. No previous finding was duplicated.

Files Reviewers Candidates → validated → accepted Posted Validation
26 cumulative; 3-file complete fix Six personas plus challenge, retained contexts 0 → 0 → 0 0 inline, no overflow Existing exact-head CI and repair reports; no suite reruns

CI run 44892428321 is completed/successful at the reviewed SHA: Windows, Ubuntu GCC, Ubuntu Clang, macOS, and clang-tidy all passed. Hosted docs was intentionally skipped; the repair report records successful local strict docs, Debug 19/19, analyzer 1/1, and unchanged 144 cases/54,402 assertions. Those local results are reused evidence, not tests rerun by this review. Read-only patch-hygiene, one-include-only code delta, and public-header invariance checks succeeded. No installation, installed-consumer, or package-artifact tests were added or run.

Persona routing remains static; DCAP and org knowledge are off. No i18n or test-quality persona was eligible. Base rules remain unchanged at the same base; the GitHub custom-instructions helper returned zero instructions.

Scout evidence was bounded to the fix delta: risk MEDIUM, evidence LOW, packet complete for those three files, with conservative whole-file roots and no specific-symbol affected-test guarantee. Prior full-branch evidence remains preserved and incomplete; delta completeness does not make the earlier broad evidence complete. Missing leads were not treated as absence.

No code changes, commits, pushes, approvals, merges, or releases were performed by this review.

@sean-parent
sean-parent merged commit fc9fa3b into main Nov 21, 2026
6 checks passed
@sean-parent
sean-parent deleted the update/cpp-library-6.2.0 branch November 21, 2026 10:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant