Line a half-sheetpan with a silicone baking mat or parchment paper. Set the sheetpan aside while you mix the cookie dough.
Add the unsalted butter, white sugar, brown sugar, and kosher salt to a large mixing bowl. Blend these ingredients with a hand mixer for 3 minutes on low speed.
Add the egg and vanilla extract to the mixture and blend these in at low speed for 2 minutes. Stop the mixer and scrape down the bowl and add the rye sourdough discard.
Blend the discard in for another 2 minutes at low speed.
Add the all-purpose flour to the bowl with the butter-sugar mixture and blend it for 2 minutes. Stop the mixer and scrape down the bowl after the first minute of mixing in the flour.
Add the chocolate chunks to the bowl with the rest of the ingredients and blend them in at low speed until they are mixed in.
Preheat your oven to 375°F (190°C).
Use a #30 portion scoop, which is 2 ½ tablespoons, to scoop precise balls of cookie dough onto a sheetpan.
For best results with your cookies, chill the dough for at least 30 minutes before baking.
Scoop and bake (or bake if you've already scooped) the cookie dough in the preheated oven for 10-12 minutes. The centers of the cookies will look glossy, and the edges a golden brown.
Remove the pan of cookies from the oven and allow them to cool on the sheetpan for 1 minute, then transfer them to a wire rack to cool slightly. Serve the rye sourdough discard cookies with a glass of cold milk while still warm.
