Preheat an oven to 350°F.
Place a sauté pan over medium heat until hot. Add half of the step 3 oil and half of the butter, then add the sliced onion and a pinch of salt. Turn the heat to low and then cook, stirring often, about 5 minutes until the the onion caramelizes golden brown. If the onion looks scorchy, add a little water to soften it and then allow the water to reduce away. Transfer the onion to a container and wipe out the pan.
Blot the beef dry with paper towels, then season with salt. Toss the beef with half the flour.
Place the sauté pan over medium heat until hot. Add the remaining oil, and then the beef. Sauté, turning the cubes to brown them on all sides. Take care that the suc, or browned protein forming on the pan surface, doesn’t over-brown. Remove the beef to an oven-proof casserole. Create the fond, or flavor base, by adding about ⅓ of the beer and deglazing the pan. Pour the fond into the casserole with the beef.
Return the pan to the burner and add the bacon lardons. Fry over low heat until the fat renders out and the lardons become slightly crisp. Transfer the lardons to the casserole.
Add the minced onion, carrot, and celery to the pan along with the remaining butter. Sauté about 1 minute until the vegetables are lightly browned. Stir in the minced garlic.
Add the reserved flour and stir about 30 seconds longer to make a brown roux.
Slowly stir in the remaining beer in a thin stream to avoid lumping, and then stir in the broth. Bring the sauce to the boil and season lightly with salt. Lower the heat and then simmer about 5 minutes until lightly thickened. Add the brown sugar and vinegar.
Pour the sauce over the beef in the casserole and add the thyme and bay leaf. Cover the casserole, place it in the oven, and bake for about 20 minutes.
Uncover the casserole and bake for about 20 minutes longer until the beef is almost tender and the sauce achieves a light nappé consistency.
Stir in the caramelized onions and bake 10 minutes longer.
Taste and evaluate the seasoning. Add salt if needed.
If prepping ahead, cool the carbonnade to room temperature and store in a container.