You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add three regression tests for SentryKafkaRecordInterceptor that pin down
the lifecycle contract around clearThreadState cleanup:
- full lifecycle intercept -> success -> clearThreadState closes the
lifecycle token exactly once and does not double-finish the transaction
- when a delegating interceptor returns null from intercept (filtering
the record), the safety net in clearThreadState still finishes the
transaction and closes the token
- when a delegating interceptor throws from intercept, clearThreadState
still finishes the transaction and closes the token after the
exception has propagated
Addresses review finding R6-F001.
Co-Authored-By: Claude <noreply@anthropic.com>
0 commit comments