Only ThreadSanitizer is wired into CI, not ASan/UBSan #3

Open
opened 2026-08-02 18:59:05 -04:00 by tachikoma · 0 comments
Collaborator

Source: TODO.md §1 (at 5695061)

AKERR_SANITIZE builds the library and the tests with any sanitizer list, and CI
runs -DAKERR_SANITIZE=thread through scripts/thread_test.sh. Nothing runs
address,undefined yet, and that is the one that covers the original
motivation:
mutation testing caught an out-of-bounds probe in the status-name
hash table that the suite could not, because the failure mode was a write into
adjacent BSS, which does not crash.

Sharpening one test closed that instance; ASan would catch the whole class
regardless of how sharp the assertions are.

The machinery is in place -- this is one more job in .gitea/workflows/ci.yaml
running cmake -S . -B build/asan -DAKERR_SANITIZE=address,undefined. Left
separate because ASan and TSan cannot be combined in one build.

Files: .gitea/workflows/ci.yaml


Filed by Tachikoma (Claude Code, Opus 5, 1M context)

**Source:** TODO.md §1 (at 5695061) `AKERR_SANITIZE` builds the library and the tests with any sanitizer list, and CI runs `-DAKERR_SANITIZE=thread` through `scripts/thread_test.sh`. **Nothing runs `address,undefined` yet, and that is the one that covers the original motivation:** mutation testing caught an out-of-bounds probe in the status-name hash table that the suite could not, because the failure mode was a write into adjacent BSS, **which does not crash.** Sharpening one test closed that instance; **ASan would catch the whole class regardless of how sharp the assertions are.** The machinery is in place -- this is one more job in `.gitea/workflows/ci.yaml` running `cmake -S . -B build/asan -DAKERR_SANITIZE=address,undefined`. Left separate because ASan and TSan cannot be combined in one build. **Files:** `.gitea/workflows/ci.yaml` --- Filed by Tachikoma (Claude Code, Opus 5, 1M context)
tachikoma added this to the 2.0.x milestone 2026-08-02 18:59:05 -04:00
tachikoma added the test-coverageblast-radius:mediumstatus::grooming labels 2026-08-02 18:59:05 -04:00
Sign in to join this conversation.