The dishwasher will not run, instead, it will spin the pump twice before turning off with the clean light on. For a while, the workaround of resetting the programs worked; however, it now performs unpredictable operations, such as filling with water and not pushing it out, or simply spinning the pump for a long period. I'm wondering if I need to replace the main control board, the control module, or both, based on the symptoms and how they've changed.
First, look for any water in the base that could be causing the flood switch float to float. This will result in the problem you're describing. When the unit is left sitting for long enough for the water to evaporate and the issue to circle back around, the symptoms appear to change. The problem is caused by a water valve that does not fully open, allowing a dribble of water to enter the unit's base and float the flood switch. To fix this problem, remove the water valve, clean any water in the unit's base, and reinstall the water valve.
If all is good then the control board needs to be replaced or repaired.
We can rebuild your control board/panel, here is the link https://www.upfix.com/product-category/appliances/dishwasher/