What you are describing is usually not a fault with the cycle setting itself, but rather the washer trying to meet its programmed efficiency goals, and often it is related to how the load is behaving. I had a similar issue a few years back with an older unit and the fix was surprisingly simple. Most modern front loaders rely heavily on detecting the balance of the load and the speed of the drum during the spin cycles. If the machine detects an imbalance or if the water is draining slowly, it will automatically extend the cycle time to ensure it gets a proper spin and rinse, wich is why it feels like it is running forever.
Before assuming a costly sensor failure, start by checking the weight distribution of the clothes in the drum. If you have heavy items like jeans or towels, make sure they are evenly spread around the inner drum, not clumped on one side. If the load is heavy, the machine will take longer to fully agitate and balance, making the cycle seem much longer than necessary for a small load. Also, check the water level sensors and the drain pump filter if you can access it, just to rule out a restricted drain which would force extra rinse cycles.
If the washer is consistently struggling with balance even when the clothes are spread out, then the issue is likely a degraded accelerometer or possibly a worn suspension component, which is common on machines that are approaching thier decade. These components tell the washer if it is wobbling so it can shift the load and continue the spin. Once that fails, the cycle just slows down drastically. If it's not balance related and the machine is still taking an hour for a minimal load, you are probably looking at a bad pressure switch or a timer relay, and at that point, a pro needs to take a look.