Q.Something growing in garden pot that I forgot I planted
Something is growing in my garden pot that I forgot I had planted. Now I’m not sure whether it’s edible. It smells like a scallion and has long shoots with clusters of 8 or so white flowers growing from the plants. How can I be sure that it’s edible?

I believe this to be leeks. The flat leaf would be the identifier.
Does that refresh you memory of what you may have planted?
Here is a few articles about Leeks--personally one of my favorites!
https://www.gardeningknowhow.com/edible/vegetables/leeks/reasons-why-leeks-too-thin.htm
https://www.gardeningknowhow.com/edible/vegetables/leeks/leeks-bolting.htm