Skip to content

WIP: Draft not working yet

Qingyu Zhao requested to merge pass-http-header-to-sidekiq-job into master

What does this MR do?

WIP draft POC for issue #30286 (comment 227463111)

Use Ruby thread-local variable to pass Request header to sidekiq jobs. This idea is a bit complex.

It is not working yet, so the idea is not proved.. Need more research.

Update: looks RequestStore can make it easier by replacing thread-local variable here. I will try it. If we can directly use correllation-id, it would be even simpler -- but I suspect correlation-id is not available at the time user operate UI. I will try it.

Edited by 🤖 GitLab Bot 🤖

Merge request reports