Skip to content

Fix cache update for schedules and policies

Olena Horal-Koretska requested to merge 335027-cache-update-with-immer-fix into master

What does this MR do?

On escalation policy or schedule creation fixes how cache is updated with immer - replaces array in draftData instead of pushing to it

The bug and STR is described here and here

Slack discussion

The issue is reproduced on staging and production but is not reproduced locally - perhaps due to the dev and prod builds differences.

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • 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 #335027 (closed), #334053 (closed)

Edited by Olena Horal-Koretska

Merge request reports