Skip to content

Deprecate supporting null scheduling_type of ci_builds

What does this MR do?

From #205426

When implementing empty needs, we tried to make it backward compatible. It means we considered existing ci_builds without scheduling_type, and implemented populating those on the fly. That's because our code always needs to ensure scheduling_type existence of processables.

This MR will:

  • deprecate handling null scheduling_type of ci_builds and hide behind a FF.
  • Add background migration that populates null scheduling_types

After this, we can drop this completely.

Question

Now we have a background migration that needs to be completed until 13.0.

Is it correct workflow to remove an on-the-fly migration code?

Screenshots

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 Furkan Ayhan

Merge request reports