> It's frustrating to work on projects that are cancelled,
I'm going to guess you're fairly junior in the profession?
The more time you spend writing code, the more you realize that most of your projects will never, ever ship. That's just how the gig goes.
And it's okay. As an engineer, you should be looking forward more to the journey and how much you'll learn working on that project than anything else. Once in a while, you'll ship and you'll feel pride knowing that millions of people are using your code, but that's the exception, not the rule.
Enjoy the journey.