01 - Set oven temperature to 400°F.
02 - Remove giblets, then pat the chicken dry with paper towels.
03 - Rub the entire chicken with olive oil, kosher salt, and black pepper.
04 - Fill the chicken cavity with lemon halves, 4 sprigs of thyme, and 2 smashed garlic cloves.
05 - Place quartered onions, carrot chunks, remaining thyme sprigs, and remaining garlic cloves in a roasting pan, then position chicken breast side up on top.
06 - Tuck wing tips under the chicken and optionally tie legs together with kitchen twine for even cooking.
07 - Cook for 1 hour 15 minutes, basting once or twice with pan juices. Add wine or broth if pan becomes dry.
08 - Ensure juices run clear when thigh is pierced or the internal temperature reads 165°F (74°C).
09 - Remove from oven, loosely cover with foil, and let rest for 10 minutes before carving.
10 - Carve and serve chicken alongside roasted vegetables and pan juices.