Skip to content

ci: complete sanitizer instrumentation and fix test data races - #370

Draft
voidvec wants to merge 4 commits into
masterfrom
ci/tsan-instrumented-framework-dependencies
Draft

voidvec wants to merge 4 commits into
masterfrom
ci/tsan-instrumented-framework-dependencies

Conversation

@voidvec

@voidvec voidvec commented Nov 24, 2026 •

Copy link
Copy Markdown
Owner

Complete TSan compilation coverage for the Drogon/Trantor dependencies, SDK smoke consumer and server executable. Package IDs include instrumentation flags, actual installed archives and Session/main/server links are verified, and UTC plus ten consecutive real-Session passes precede the full suite.

Fix two first-party test defects exposed by that coverage:

  • Remove a runtime Logger::setLogLevel write racing with event-loop logging.
  • Replace three invalid-client test callbacks that captured stack completion flags with bounded public synchronous HTTP calls. Preserve all existing business assertions and skip conditions; POSTs still execute once.

Evidence by head:

  • 2781143 / 45427089916: ASan succeeded; Session ten-pass and SDK smoke succeeded; TSan failed 3/693 (logger plus two executable startups).
  • 75df9c1 / 45515643025: ASan succeeded; dependency/link checks, Session ten-pass, SDK, FeatureSurface and SocialLoginState succeeded. Full TSan failed only OAuth2Tests (1/693), with one report in the invalid-client health probe. Downloaded provenance matches its published SHA256 and confirms actual server/SDK compilation instrumentation.
  • Current 88f1525 includes the single-file completion fix. GCC13/C++17/WERROR syntax, macro checks and independent code review passed. New final-head full ASan/TSan and ordinary checks remain required; the previous run is not presented as current-head success.
  • The legacy EndpointTests_OutOfProcess entry retains its existing prerequisite skip in the recorded sanitizer runs. Actual FeatureSurface/Social executable checks did run. No new suppression, skip, retry, timeout relaxation, dependency version or coverage-baseline change.

Draft pending final-head validation. #371 independently restores strict coverage. #372 is the stacked C1b refactor and keeps its separate shutdown failure visible.

Addresses #366

@voidvec voidvec changed the title ci: instrument framework dependencies for ThreadSanitizer ci: complete TSan instrumentation and use a fixed UTC test environment Nov 24, 2026
@voidvec voidvec changed the title ci: complete TSan instrumentation and use a fixed UTC test environment ci: complete sanitizer instrumentation and fix test data races Nov 25, 2026

This branch has not been deployed

No deployments
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