Tests: add disclosed sanitizer diagnostic reruns for CPU-side failures #2553
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from ivall/xcl. Originally posted by mokkamokacaffe on 2026-11-25T23:01:54Z.
Tests: add disclosed sanitizer diagnostic reruns for CPU-side failures
Summary
Add opt-in and scheduled sanitizer configurations for CPU-side memory corruption, undefined behavior and concurrency failures. Reports should distinguish the ordinary test result from the sanitizer rerun and disclose the added duration and instrumentation overhead.
Motivation
Shader translation, cache workers, command-list interception and asynchronous resource retirement contain unsafe code and shared state. A crash or hang observed during a GPU-oriented test can originate in CPU memory ownership, invalid shifts, stale pointers or a race. A sanitizer rerun can provide a useful second diagnosis, but its timing and memory behavior differ from an ordinary build.
Proposed lanes
Execution policy
Required report fields
Initial implementation
main.Success criteria
AI use
OpenAI Codex reviewed XCL's diagnostic goals and drafted this sanitizer-rerun proposal.