We are seeing an issue with the site's website settings being reverted everytime a Azure DevOps pipeline is run.
For example, we kept noticing the Mini Cart layout and the Product List grid view kept being reverted to the dropdown and 3 column with static variants respectively. We opted for the 3 column grid with view button and the overlay mini cart only to keep seeing it back to the above options even though we saved the settings to the options above.
After much troubleshoot, it seems there are state_number.dat files that keep the view information for these options and if at some point during the day ,we need to save the settings again and fail to notice it's been changed again after a pipeline run, saving the settings will revert these back to what's saved on these dat files.
We may need to add these files to Git from the Dev environment so that they run into QA/UAT and keep the right settings but is it the best approach? Are there anything we should do to avoid these settings being reverted?
Here's a screencast with the issue: https://www.screencast.com/t/CdI0fI8t5D0E