Limit ciConfigVariables and pipeline inputs cache work

What does this MR do and why?

  • ciConfigVariables and ciPipelineCreationInputs can each be called once per GraphQL request.
  • New cache entries for both fields are limited to 30 per user per minute. Reading an existing entry is not limited. The limit only logs until the ci_config_cache_entry_limit flag is enabled.

References

Screenshots or screen recordings

Not applicable, no UI change.

How to set up and validate locally

Feature.enable(:ci_config_cache_entry_limit).

New pipeline and switch between branches. The form loads variables and inputs as before.

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Laura Montemayor

Merge request reports

Loading
Loading