Skip to content

Put deprecated serverless features behind feature flag

What does this MR do and why?

Serverless is deprecated and scheduled for removal in %15.0. This adds a feature flag guard to user facing Serverless features.

See #352753 (closed)

Screenshots or screen recordings

flag status: enabled disabled
menu Screenshot_2022-02-24_at_22.59.06 Screenshot_2022-02-24_at_22.50.47
page Screenshot_2022-02-24_at_22.59.21 Screenshot_2022-02-24_at_22.59.41

How to set up and validate locally

  1. To establish a baseline:
  2. Visit a project in GDK
  3. Hover the Infrastructure menu
  4. Click Serverless
  5. In rails console disable the feature flag
    Feature.disable(:deprecated_serverless)
  6. Refresh the page. It should be a 404
  7. Press back. Observe that Serverless is gone from the Infrastructure menu.

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 Hordur Freyr Yngvason

Merge request reports