Skip to content

fix(deps): use build_folder_vars in tsan profile to prevent CMakeUserPresets re-inclusion#468

Merged
mvillmow merged 1 commit into
mainfrom
324-auto-impl
Apr 26, 2026
Merged

fix(deps): use build_folder_vars in tsan profile to prevent CMakeUserPresets re-inclusion#468
mvillmow merged 1 commit into
mainfrom
324-auto-impl

Conversation

@mvillmow
Copy link
Copy Markdown
Collaborator

Summary

  • Adds user.keystone.sanitizer=tsan and tools.cmake.cmake_layout:build_folder_vars=["settings.build_type", "user.keystone.sanitizer"] to conan/profiles/tsan so Conan generates preset name conan-debug-tsan instead of conan-debug, eliminating the duplicate-preset collision with the plain debug build in CMakeUserPresets.json.
  • This fix is idempotent and holds even when conan install is run directly (bypassing just), addressing the root cause described in deps-tsan recipe doesn't prevent CMakeUserPresets.json re-inclusion #324.
  • Removes the now-unnecessary post-install cleanup steps (rm -f build/tsan/CMakePresets.json and python3 scripts/remove-preset-include.py ...) from the deps-tsan justfile recipe.

Test plan

  • Run conan install . --output-folder=build/tsan --profile=conan/profiles/tsan --build=missing directly and verify CMakeUserPresets.json contains conan-debug-tsan (not conan-debug).
  • Run just deps-tsan and verify no collision with a pre-existing debug build.
  • Run just build-tsan to confirm the TSan build completes successfully.
  • Run just format-check — passes.

Closes #324

🤖 Generated with Claude Code

@mvillmow mvillmow enabled auto-merge (rebase) April 26, 2026 00:42
@github-actions
Copy link
Copy Markdown

✅ Dependency Audit

Severity Count
Critical 0
High 0
Medium 0
Low 0

See the Security tab for detailed findings.


Workflow: Dependency Audit

@github-actions
Copy link
Copy Markdown

Security Scan Results

  • ❌ Secret Scanning: Potential secrets found
  • ✅ SAST: Completed (check Security tab for details)
  • ✅ Dependency Scanning: Completed
  • ✅ C++ Static Analysis: Completed
  • ✅ Docker Image Scanning: 0 high, 22 medium vulnerabilities (acceptable)

Recommendations

  • Review findings in the GitHub Security tab
  • Check artifact uploads for detailed reports
  • Address critical Docker vulnerabilities immediately

Workflow: Security Scanning

@mvillmow mvillmow force-pushed the 324-auto-impl branch 2 times, most recently from 8a938e1 to 1983c57 Compare April 26, 2026 18:31
…Presets re-inclusion

Add `user.keystone.sanitizer=tsan` and `tools.cmake.cmake_layout:build_folder_vars`
to the tsan Conan profile so Conan generates the preset name "conan-debug-tsan"
instead of "conan-debug", eliminating the duplicate-preset collision with the
debug build in CMakeUserPresets.json. This fix is idempotent and holds even when
`conan install` is invoked directly, bypassing `just`. Remove the now-unnecessary
post-install cleanup steps (rm + remove-preset-include.py) from deps-tsan.

Closes #324

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@mvillmow mvillmow merged commit c15ae7e into main Apr 26, 2026
8 of 9 checks passed
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.

deps-tsan recipe doesn't prevent CMakeUserPresets.json re-inclusion

1 participant