• Sean McGivern's avatar
    Fix Sidekiq feature category logging · 179c3a16
    Sean McGivern authored
    The intent of our feature category logging is:
    
    1. If the worker is owned by a feature category, we log that category.
    2. If the worker is not owned, we use the category from the surrounding
       context.
    
    We removed the client middleware step previously because it interfered
    with case 2 for metrics, because we could end up putting `not_owned`
    into the context. With this change, we add that back, but only when the
    worker is owned.
    179c3a16
client.rb 1.24 KB