Closed severinbeauvais closed 4 years ago
Whichever team / SME knows something about this... please share! :)
@sumesh-aot @saravankumarpa @pwei1018 Have you guys seen this before, and do you have any ideas how to resolve it?
@sumesh-aot @saravankumarpa @pwei1018 Have you guys seen this before, and do you have any ideas how to resolve it?
Nope .Haven't seen this before.If you need a hand in debugging , very happy to do it together.
I also discussed this with Sumesh back on June 10. At the time, when my LD flags were being cached, I found that I had to clear Chrome's "site data and cookies". I also found that sometimes hard-refreshing the browser tab caused it to reload the flags, but not on subsequent soft reloads!?
Investigation Notes:
After looking into the Filings UI Launch Darkly feature flags, specifically the flag implemented for the BCOMP-Maintenance-Filings, the flag value itself was not caching and working as intended in both DEV and TEST Env's.
We tested on multiple systems in Chrome, Safari and Firefox.
After reflecting on the root issue that was experienced during the release of the Create UI, we recalled the issues were around swapping the LdClientId
for which LaunchDarkly uses to grab to correct account and associated keys. After this swap, rebuild in OpenShift and Redeploy is where we believe an issue of caching could have occurred in the browser. This was the result of there being an incorrect LdClientId
at the time which required a fix, not a normal scenario for switching flags on or off.
That being said, we believe the issue is in our request to pull the config Map from OS not with Launch Darkly itself and are working on a solution to enforce that request.
Due to our earlier findings, we updated our request to pull in the configuration file from OS. We ensured the response is not cached by our service worker, so that a fresh request is made when we refresh the app opposed to pulling a potentially outdated config file from the cache.
@riyazuddinsyed For QA/testing, i think it's safe to just ensure you are pulling in the ldClientId in the browser as well as testing the flags on/off as we did previously in Dev and Test.
In some situations, it seems the Launch Darkly config (ie, feature flags) are cached, so that the user is not seeing features that should be enabled, or is seeing features that should be disabled.
It's possible that a service worker is caching the LD config. Or it could be Chrome... Either way, we need this to stop happening. This ticket is to investigate and resolve this issue.