Draft: Fix console error for CI variable mutations
What does this MR do and why?
Fix for #416589 (closed)
The following console error shows up when creating or updating CI variables for groups and projects:
This occurs because we are using a client resolver for mutations and not passing limit
when writing to the cache. This number does not change from the initial fetch during mutations, so it's just a matter of making sure we include limit
when writing to the cache.
Screenshots or screen recordings
Before | After |
---|---|
before | after |
How to set up and validate locally
- For your project/group, go to Settings > CI/CD > Variables.
- Click on the Add Variable button at the bottom of the table and fill in the form to create a CI variable.
- Verify that the variable is create and no console error shows up in the console log.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.