Skip to content

Enable assumeImmutableResults in environments_folder_bundle

Hannah Lin requested to merge hxqlin/gitlab:master into master

What does this MR do and why?

This MR sets assumeImmutableResults to true in the Apollo provider in app/assets/javascripts/environments/folder/environments_folder_bundle.js

Closes #338429 (closed)!.

Screenshots or screen recordings

Screen_Shot_2021-09-26_at_5.57.46_PM

How to set up and validate locally

  1. Open the environments page in a Gitlab project with environments in a folder (eg. https://3000-beige-goat-rripqu6h.ws-us18.gitpod.io/gitlab-org/gitlab-test/-/environments)
  2. Expand the folder list view and click "Show all"
  3. Environments folder view loads successfully (eg. https://3000-beige-goat-rripqu6h.ws-us18.gitpod.io/gitlab-org/gitlab-test/-/environments/folders/review)

MR acceptance checklist

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

Edited by Hannah Lin

Merge request reports

Loading