gin-contrib/timeout@v1.1.0 has a known data race on Context.index between
the timeout goroutine and the handler goroutine. Use build-tag conditional
compilation to detect -race and skip affected tests.
Co-Authored-By: Virgil <virgil@lethean.io>
Wraps gin-contrib/timeout to enforce per-request deadlines. When a
handler exceeds the configured duration, the client receives a 504
Gateway Timeout with the standard Fail("timeout", ...) error envelope.
Co-Authored-By: Virgil <virgil@lethean.io>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>