mirror of
https://github.com/DeusData/codebase-memory-mcp.git
synced 2026-11-03 08:03:38 +08:00
test-runner-tsan mirrors test-runner but links vendored objects compiled
with -fsanitize=thread and links the mimalloc object with MI_OVERRIDE=0
(no malloc override, so TSan intercepts the real malloc/free), satisfying
the unconditional mi_* calls in src/foundation/mem.c. TSan cannot combine
with ASan/UBSan and uses the system allocator. Replaces the placeholder
test-tsan stub ("TSan not yet wired for full extraction tests").
make -f Makefile.cbm test-tsan # slow; race reports go to stderr
Also add *.plist to .gitignore: `make test-analyze` (clang --analyze)
drops a .plist report per source file in CWD; these regenerable reports
polluted the tree (183 files after the analyzer run).
Verification: built + ran test-runner-tsan over suite_incremental; 0 data
races. The deferred B1 incremental races (HANDLES-edge nondeterminism
under the concurrent parallel pipeline) are timing-nondeterministic and
did not reproduce under TSan's scheduling, so the B1 fix stays a dedicated
follow-up (tracked in notes sec 8f). TSan targets the incremental +
parallel suites that exercise the racy paths.
Signed-off-by: Andrew Hundt <ATHundt@gmail.com>
76 lines
1.1 KiB
Plaintext
76 lines
1.1 KiB
Plaintext
# Binaries
|
|
code-graph-mcp
|
|
/codebase-memory-mcp
|
|
bin/
|
|
*.exe
|
|
*.dll
|
|
*.so
|
|
*.dylib
|
|
|
|
# Test artifacts
|
|
*.test
|
|
*.out
|
|
coverage.txt
|
|
# Clang static analyzer (make -f Makefile.cbm test-analyze) per-file reports
|
|
*.plist
|
|
|
|
# Test fixture temp dirs (created by C test suite in CWD instead of /tmp/)
|
|
cbm_*/
|
|
cli-*/
|
|
|
|
# IDE
|
|
.idea/
|
|
.vscode/
|
|
*.swp
|
|
*.swo
|
|
|
|
# OS
|
|
.DS_Store
|
|
Thumbs.db
|
|
|
|
# Git worktrees (created by Claude Code subagents)
|
|
.worktrees/
|
|
|
|
# Runtime/session artifacts
|
|
session_project
|
|
project
|
|
project|params.project
|
|
conductor/
|
|
with
|
|
|
|
# Database files (local cache)
|
|
*.db
|
|
*.db-wal
|
|
*.db-shm
|
|
|
|
# MCP config (user-local, generated by install command)
|
|
.mcp.json
|
|
|
|
# MCP Registry auth tokens
|
|
.mcpregistry_*
|
|
|
|
# Local project memory (Claude Code auto-memory)
|
|
memory/
|
|
reference/
|
|
.claude/
|
|
|
|
# Local-only scratch / session notes (never pushed)
|
|
private/
|
|
|
|
# Build artifacts
|
|
build/
|
|
node_modules/
|
|
graph-ui/dist/
|
|
|
|
# Generated reports
|
|
BENCHMARK_REPORT.md
|
|
TEST_PLAN.md
|
|
scripts/autotune_results.json
|
|
CHANGELOG.md
|
|
|
|
# Soak test output
|
|
soak-results/
|
|
|
|
# LSP originality-check reference cache (scripts/check-lsp-originality.sh)
|
|
.lsp-refs/
|