It sounds like most of your stress is being caused by not having a Product Manager. You should find out what the deal is there from your manager, and if you don't like the answer, then consider leaving. Beyond that I would say, don't leave a job just because it isn't a dev utopia when you walk through the door. A better measure of when to leave a job is when you know that your goals and theirs don't align and never will.