+4
−0
+16
−0
Loading
Without this, tests that push contexts without using with_context can
leak state into subsequent tests via Thread.current[:labkit_contexts].
Labkit::Context.clear provides a clean way to reset this in an after
hook without exposing the internal thread-local key.
Co-Authored-By:
Claude Sonnet 4.6 <noreply@anthropic.com>