Skip to content

Cache entities for MR API [RUN ALL RSPEC] [RUN AS-IF-FOSS]

Robert May requested to merge cached-mr-api into master

What does this MR do?

Caches the generated API entities on the MR API. This uses the default cache_context of including the current_user, due to some user-specific fields in returned Entities::UserBasic records.

Related #250356 (closed)

Screenshots (strongly suggested)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • 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
Edited by Robert May

Merge request reports

Loading