Skip to content

Investigate - Limit `recently.opened` in settings

MR: Pending

Description

In this issue, we're noticing some 500's in QA tests. It looks like we're running into check_5da3b2910b when the QA user is trying to hit settings sync.

An investigation into the data revealed that the QA user has a ridiculously large value saved in {"storage":{"recently.opened":[...]}}.

Does this list grow indefinitely? Can we add an arbitrary limit of 100 entries to it?

Acceptance Criteria

Follow-up Implementation Notes

  • Limit is added in the @gitlab/web-ide project or BE of main project for recently.opened in the state
  • Limit will naturally be applied to user's exceeding this limit so that the QA user's data will naturally heal.
Edited by Paul Slaughter