Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hide deprecated env vars in the UI #3967

Merged
merged 1 commit into from
May 31, 2024
Merged

Conversation

knolleary
Copy link
Member

Description

This hides the long-deprecated env vars in the UI as they should not be used today and we should not publicise them.

The way the FF_ env vars are injected, we have no way to selectively stop injecting them for new instances. We could just remove them (they have been marked deprecated for a long time) - but always nervous of breaking user's flows that have been happily running without needing to change.

Removing them in the UI removes the noise and will prevent further accidental adoption.

@knolleary knolleary linked an issue May 31, 2024 that may be closed by this pull request
@knolleary knolleary requested a review from Steve-Mcl May 31, 2024 10:56
Copy link

codecov bot commented May 31, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.02%. Comparing base (46a787e) to head (0e92d4a).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3967   +/-   ##
=======================================
  Coverage   79.02%   79.02%           
=======================================
  Files         282      282           
  Lines       12839    12839           
  Branches     2863     2863           
=======================================
  Hits        10146    10146           
  Misses       2693     2693           
Flag Coverage Δ
backend 79.02% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@knolleary knolleary merged commit 17bb165 into main May 31, 2024
10 checks passed
@knolleary knolleary deleted the 3956-remove-deprecated-env-vars branch May 31, 2024 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Stop exposing deprecated env vars to new instances
2 participants