Docs feedback: Sidekiq development
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
https://docs.gitlab.com/ee/development/sidekiq/ does not provide any actionable information. At the top it states, "These guides are for writing jobs that will work well on GitLab.com and be consistent with our existing worker classes." Except it does none of that. First, why only "gitlab.com"? Or does this mean any Gitlab instance? Second, while the document appears to describe some shiny leaves, I'm looking for a path in the proverbial forest.
- How does one write a Sidekiq worker to be used within a Gitlab instance?
- Can and how can such a job be deployed in a deployed Gitlab instance? Where should the script/class/ruby file be located?
- How to "add a new worker"? Is this the same question as the previous?
- What is the run-time environment for such a job? Is it the same, for instance, as the gitlab-rails console? What user will it run under? How much time may be spent in the job before it is failed?
Edited by 🤖 GitLab Bot 🤖