Bring a large pot of salted water to a boil. Add the penne and cook for 1–2 minutes less than the package instructions so it stays slightly firm. Drain the pasta and set aside.
Heat the olive oil and butter in a large skillet over medium-high heat. Add the sliced mushrooms and cook for 7–9 minutes, stirring occasionally, until they release their moisture and turn golden. Add the chopped onion and cook for another 3–4 minutes until softened.
Stir in the minced garlic, dried thyme, Italian seasoning, salt, and black pepper. Cook for about 30 seconds until fragrant.
Sprinkle the flour over the mushroom mixture and stir well to coat everything. Cook for about a minute. Gradually pour in the vegetable broth, milk, and heavy cream, stirring continuously to prevent lumps. Let the sauce simmer for 3–5 minutes until slightly thickened.
Stir in the grated Parmesan cheese and ½ cup of the shredded mozzarella. Mix until the cheese melts and the sauce becomes smooth and creamy.
Add the cooked penne to the skillet and toss until every piece is coated with the mushroom sauce. Taste and adjust the seasoning if needed.
Preheat the oven to 375°F (190°C). Transfer the creamy mushroom pasta mixture to a lightly greased 9 × 13-inch baking dish. Spread it evenly and sprinkle the remaining 1 cup of mozzarella over the top.
Bake uncovered for 15–20 minutes, or until the cheese has melted and the edges are bubbling. For a more golden top, broil for 1–2 minutes, watching carefully to prevent burning.
Remove the baking dish from the oven and let it rest for 5 minutes. Sprinkle with fresh parsley and serve warm.