department-of-veterans-affairs / va.gov-cms

Editor-centered management for Veteran-centered content.
https://prod.cms.va.gov
GNU General Public License v2.0
98 stars 68 forks source link

Remove btsss_login_widget feature flag after launch #13117

Closed jilladams closed 1 year ago

jilladams commented 1 year ago

Description

12591 created a flipper, btsss_login_widget for the purposes of testing / launch.

When BTSSS widget is launched, this flipper can be deprecated.

User story

Describe the audience/user, enhancement or fix, and value / outcome desired.

AS A(N) engineer I WANT to reduce technical debt and the number of feature flags in play SO THAT the build system stays optimized.

(This story is speaking for Plat where they care about the fact of Flippers, but I can't speak technically to why.)

Order of operations

Acceptance criteria

Team

Please check the team(s) that will do this work.

jilladams commented 1 year ago

3 assumes this could be a good ramp up task for Randi.

randimays commented 1 year ago

Validation complete for staging and production for vets-website and vets-api changes. Waiting on the flipper dashboard to catch up (and remove the flag) as final validation.

randimays commented 1 year ago

Still waiting on flipper dashboard to catch up and remove the flag here: https://api.va.gov/flipper/features Not sure what the standard waiting period is, but it looks like this ticket won't close in time for the new sprint.

jilladams commented 1 year ago

Totally fine. If we don't see this ship in a day or two, may be worth a #vfs-platform-support ask to understand timing and if we hit all the necessary boxes for it to wrap.

randimays commented 1 year ago

I made a Platform Support ticket to see what's happening with the flipper dashboard. Waiting for a response.

randimays commented 1 year ago

Screenshots for prod validation

Logged In

Screenshot 2023-04-27 at 4 25 10 PM

Not Logged In

Screenshot 2023-04-27 at 4 25 26 PM
randimays commented 1 year ago

@wesrowe @jilladams Turns out there is a job that automatically prunes unused toggles from the database (thus removing them from Flipper Admin) but it was also removing toggles that are still in use, so they disabled the job temporarily. That is why the toggle is still appearing in Flipper Admin. Platform confirmed we've done everything we needed to do to remove the toggle. @wesrowe anything else you want to check while this is in PO review, or are we ready to close?

randimays commented 1 year ago

Support ticket and Slack thread for reference: https://github.com/department-of-veterans-affairs/va.gov-team/issues/57465 https://dsva.slack.com/archives/CBU0KDSB1/p1682527701785429

wesrowe commented 1 year ago

Since this is Platform's problem and they have a process around it, I think we can close.

jilladams commented 1 year ago

INTERESTING. I did not know that the pruning job was doing this exact work. @randimays did Platform indicate they would run the pruning job? Or now is it expected behavior that removed flags will appear in the UI? Do we know what happens if we try to modify the flag, now that it doesn't exist?

randimays commented 1 year ago

@jilladams Platform said in the support ticket that they would try to get it manually removed, but not that they would run the job. I think it's disabled until they can dig deeper. For now the expected behavior is that removed flags will still appear in the UI until that job is fixed. Since there is no vets-api mapping for the flag anymore, and no code in the UI to respond to it, changing it in Flipper Admin shouldn't do anything.