I'd like to add onto this point.
Started cheffing at 17, always wanted to code, self taught enough to be qualified as a chef and get a job programming for a fairly large company by 22.
It sucked. As you said, waiting for assignments, no decision making and just another cog in a very large wheel.
Went back to cheffing, I've now travelled all over Australia, lived in Japan for 6 years, met a woman who became my wife and is currently pregnant with our first.
I may work 70+ hours some weeks, but it's fun. I have ran 3 restaurant successfully as an executive chef, now I'm helping a family member with a take away and loving it(haute cuisine food from a take away? Can't plate as I useto but damn it tastes good at an affordable price).
Long story short I'm enjoying life now, seems you need to broaden your horizons work wise more than how life just is.
P.s when I get the urge, I still have a massive side project I work on, so that training in coding, definitely not wasted :-)
I hope you find a better fit for you mate.