I spent 2.5 years at my first job (effectively moved from junior dev to senior). I then took a job at a traveling consulting company (where I was officially promoted, and ran a huge project), but left after 1 year because I couldn't stand traveling that extensively. Then I moved to my current company, where I've been for 9-10 months, but will likely be fired by the new management team that came in, because I'm part of an overbudget project.
Am I fucked? My current plan is to just wait and see if I am let go or not (probably will be), and then go travel for a few months (I'm burned out). But the very first page of this slideshow is that hiring managers look for red flags about multiple short time roles and employment gaps, and I'll have a 1 year, and a < 1 year on my resume.