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 Feature#on_request hook to fix instrumentation with retries
The instrumentation feature's start/finish spans were mismatched when
using .retriable — start was called once via wrap_request at build time,
but finish was called on every retry via wrap_response. This caused
NoMethodError with ActiveSupport::Notifications on Rails 7+.
Add a new Feature#on_request lifecycle hook called before each request
attempt (including retries) and move instrumentation's span start logic
there, ensuring properly paired start/finish calls.
Closes#826
0 commit comments