Adjust oven rack to the lower-middle position and heat oven to 350°F.
Pat beef cubes dry with paper towels and season generously with salt and pepper.
Heat 1 ½ tablespoons oil in a Dutch oven over medium-high heat.
Add half of the beef and cook until well browned on all sides, about 7 minutes.
Transfer browned beef to a bowl or plate. Add the remaining uncooked beef to the same bowl.
Reduce heat to medium. Add the remaining 1 ½ tablespoons oil to the pot.
Stir in mushrooms, onion, and carrots. Cook until lightly browned, about 5 minutes.
Add tomato paste and garlic; cook until fragrant, about 30 seconds.
Stir in wine (or water) and cook until mostly evaporated, about 2 minutes.
Sprinkle flour over the vegetables and stir for 1 minute.
Slowly add broth, soy sauce, Worcestershire, and bay leaf, scraping the bottom of the pot to release flavor.
Return all beef (browned and raw) to the pot. Bring to a simmer, cover, and transfer to the oven.
Bake until beef is tender, about 1 hour 15 minutes.
Test a piece of beef. If still chewy, stir in ¼ cup water and return to oven for 20–30 minutes.
Once tender, remove from oven and increase oven temperature to 400°F.
If filling looks dry, transfer meat to a bowl. Add ¼–½ cup water to the pot and scrape up the browned bits to create a rich sauce. Stir this back into the meat mixture.
Discard bay leaf. Stir in thyme and peas. Taste and season with more salt and pepper as needed.
Spray a 9-inch deep-dish pie plate with cooking spray. Add beef filling.
Brush the rim of the dish with beaten egg. Place pie dough over the top so it slightly overhangs the edges. Fold the excess dough inward and crimp edges with your fingers.
Cut a ½-inch hole in the center of the crust. Cut six small slits around it to vent steam.
Brush the crust with remaining egg and sprinkle lightly with salt, pepper, and thyme.
Place pie on a rimmed baking sheet and bake until golden brown, 20–30 minutes.
Let pie cool on a rack for 15 minutes before serving.
