Parent: #493 Related: #936, #937, #938
Problem
The focused runtime TSan gate fails the test named "deeply nested source raises a catchable RangeError", while the same focused gate passes without TSan. The failure is identical on the exact parent revision 76768e2 and with the #985 runtime-coordination change applied, and the sanitizer reports no data race.
Observed command: zig build test-runtime -Dtsan=true
The ordinary focused runtime gate and the standalone runtime coordinator's normal and TSan tests pass.
Scope
- Reduce the failing deep-source shape to the smallest deterministic TSan witness.
- Determine whether TSan's larger frames move the stack-limit boundary, the subprocess expectation uses an unstable depth, or the catchable error is lost on a sanitizer-only path.
- Preserve the production RangeError behavior and the existing normal-build depth coverage.
- Pin a deterministic sanitizer-aware test that exercises the same semantic boundary without skipping it.
- Run the focused normal/TSan gates and the deep-source regression matrix.
No-workaround rule
Do not disable the test under TSan, weaken the RangeError requirement, or select an arbitrary shallower input without proving that it still crosses the guarded production boundary.