Skip to content

Increase debounce rate for Pipeline Editor validation to 500ms

What does this MR do and why?

Increase debounce rate for Pipeline Editor validation to 500ms. This should reduce the load on the lint API because every call requires us to create a pipeline under the hood to validate. The middle ground between reducing the number of calls without losing the "instantaneous" feeling was 500ms.

Screenshots or screen recordings

Before After
Screen_Recording_2022-03-01_at_11.42.56_AM Screen_Recording_2022-03-01_at_11.45.55_AM

How to set up and validate locally

  1. Navigate to CI/CD => Editor
  2. Start typing in the editor
  3. Notice that the delay after you stop typing is 500ms (or just that that it feels quick! 😬 )

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #353547 (closed)

Edited by Frédéric Caplette

Merge request reports