You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ticket is understood, and QA has been contacted (if the ticket has a QA label).
There were old feature flags identified when working on #1711. While reviewing which task definitions to be removed, it was observed that several task definitions were old feature flags that were all set to True or never turned on. These feature flags with their related task definitions, code paths, and tests should be removed. This user story focused specifically on TEMPLATE_SERVICE_PROVIDERS_ENABLED and PROVIDER_STRATEGIES_ENABLED.
TEMPLATE_SERVICE_PROVIDERS_ENABLED and PROVIDER_STRATEGIES_ENABLED feature flags appear in if statements in the client_to_use method. Both have been set to True in all ENVs for at least 3 years.
Since the method returns a client if the feature flag PROVIDER_STRATEGIES_ENABLED is True, the rest of the method is NOT used.
We need to remove the feature flags TEMPLATE_SERVICE_PROVIDERS_ENABLED and PROVIDER_STRATEGIES_ENABLED. And remove any unused logic and related tests.
User Story(ies)
As a VA Notify Developer, I want remove old feature flags PROVIDER_STRATEGIES_ENABLED and TEMPLATE_SERVICE_PROVIDERS_ENABLED with related code paths, and task definitions So that the code runs efficiently and continues to be maintainable.
MackHalliday
changed the title
Copy of Remove old feature flags - straightforward removals
Remove old feature flags - TEMPLATE_SERVICE_PROVIDERS_ENABLED and PROVIDER_STRATEGIES_ENABLED
Oct 3, 2024
User Story - Business Need
There were old feature flags identified when working on #1711. While reviewing which task definitions to be removed, it was observed that several task definitions were old feature flags that were all set to True or never turned on. These feature flags with their related task definitions, code paths, and tests should be removed. This user story focused specifically on TEMPLATE_SERVICE_PROVIDERS_ENABLED and PROVIDER_STRATEGIES_ENABLED.
TEMPLATE_SERVICE_PROVIDERS_ENABLED and PROVIDER_STRATEGIES_ENABLED feature flags appear in
if
statements in theclient_to_use
method. Both have been set to True in all ENVs for at least 3 years.Since the method returns a client if the feature flag PROVIDER_STRATEGIES_ENABLED is True, the rest of the method is NOT used.
We need to remove the feature flags TEMPLATE_SERVICE_PROVIDERS_ENABLED and PROVIDER_STRATEGIES_ENABLED. And remove any unused logic and related tests.
User Story(ies)
As a VA Notify Developer,
I want remove old feature flags PROVIDER_STRATEGIES_ENABLED and TEMPLATE_SERVICE_PROVIDERS_ENABLED with related code paths, and task definitions
So that the code runs efficiently and continues to be maintainable.
Additional Info and Resources
See spreadsheet created for ticket #1711 - filter by 'feature flag removal' under the 'removal status' column.
Acceptance Criteria
client_to_use
is removed and test updated appropriatelyclient_to_use
is apart of this code path)client_to_use
is apart of this code path)QA Considerations
client_to_use
is apart of this code path)client_to_use
is apart of this code path)Potential Dependencies
The text was updated successfully, but these errors were encountered: