Tobias L. Maier

Results 94 comments of Tobias L. Maier

I rebased this on #558 , since the rubocop issues reported are independent of this PR.

For additional context: The new `report-to` directive requires the `Reporting-Endpoints` HTTP header to define reporting endpoints (see [W3C Reporting API spec](https://www.w3.org/TR/reporting-1/) and [MDN docs](https://developer.mozilla.org/en-US/docs/Web/API/Reporting_API)). Rails has an [open PR (#52367)](https://github.com/rails/rails/pull/52367)...

I think `#deserialize` should be designed similar to how `#call ` of `ActsAsTenant::Sidekiq ` looks like. This means, it should use `ActsAsTenant.with_tenant` ```ruby def deserialize(job_data) tenant_global_id = job_data.delete("current_tenant") ActsAsTenant.current_tenant =...

This PR implements the same feature as #556 It suffers from failing tests due to rubocop, which are independent of this PR. I opened #558 to fix this