Preheat the oven to 400°F. Lightly grease a 9x13 baking dish.
Heat olive oil in a large skillet over medium-high heat. Add chopped beef in a single layer and sear until browned (about 2–3 minutes per side). Remove from the pan and set aside.
2 tbsp olive oil, 1½-2 lbs beef
In the same pan, add butter, onion, and garlic. Cook until softened (3–4 minutes).
1 tbsp butter, 1 small yellow onion, 3 cloves garlic
Add chopped mushrooms, salt, pepper, and thyme. Cook until mushrooms release moisture, and the moisture cooks off completely (about 8–10 minutes).
16 oz. mushrooms, 1 tsp salt, ½ tsp black pepper, 1 tsp fresh thyme
Sprinkle in flour and stir for 1 minute. Pour in beef broth and cream, stirring until thickened.
2 tbsp flour, ½ cup beef broth, ½ cup heavy cream
Stir in Dijon mustard, then return the beef to the pan. Mix until everything is coated in a thick, creamy sauce.
1 tbsp Dijon mustard
Pour filling evenly into the prepared 9x13 dish.
Roll out the puff pastry slightly and lay it over the dish. Press edges gently into the sides. Cut small slits in the top for ventilation.
1 sheet puff pastry
Whisk egg and brush over pastry. Sprinkle lightly with flaky salt.
1 egg, flaky salt
Bake for 25–35 minutes, until pastry is golden brown and filling is bubbling at the edges. If pastry browns too quickly, loosely tent with foil.
Let rest for 10–15 minutes before serving. Scoop into bowls and finish with fresh thyme or cracked pepper if desired.