Skip to content

Draft: Avoid race condition in DB fixture

Tan Le requested to merge 262861-fix-race-condition-in-fixture into master

What does this MR do?

This MR ensures fixture data created as part of background jobs (i.e MergeRequests) run synchronously.

This solution is based on the assumption that AccessDeniedError is caused by missing dependent data.

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

Related to #262861 (closed)

Edited by Tan Le

Merge request reports