Italian scratching his head here. I can think of only one particular type of ragu that takes a few hours to make properly and is obviously not what’s being discussed here due to jars, doctoring sweating and general confusion.
Mate putting together a tomato sauce from scratch for some spaghetti shouldn’t take longer than the time it takes to the water to boil plus the 9 or so minutes that it takes to cook the pasta you are overthinking it