Potatoes take more time to cook than the pumpkins. So add the potatoes first, cook them until half done and then add the pumpkins.
Do not over cook the pumpkins. Fork tender is the perfect. If it gets overcooked, it becomes mushy and starchy and spoils the taste.
Kumro Chenchki https://www.themagicsaucepan.com/main-course/gravies/kumro-aaloo-chenchki