Skip to content

Enable cop CodeReuse/Worker

Peter Leitzen requested to merge pl-enable-cop-code-reuse-worker into master

What does this MR do?

This MR enables CodeReuse/Worker which was missed in !7229 (merged).

Also, it disables current offenses via:

rubocop --auto-correct --disable-uncorrectable --only CodeReuse/Worker

The missing require was discovered during: !24662 (merged)

The matrix of Guidelines for reusing abstractions backs up the theory that we've forgotten to enable the worker.

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • [-] Label as security and @ mention @gitlab-com/gl-security/appsec
  • [-] The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • [-] Security reports checked/validated by a reviewer from the AppSec team
Edited by Peter Leitzen

Merge request reports