Peel and chop potato and add to a medium pot of cold water. Season with salt & bring to a boil. Boil for 10 minutes or until the potato pieces are soft and a fork easily pierces through.
Drain and let sit for a few minutes to cool down. Mash or use a potato ricer until smooth and add to a work surface. Create a well in the middle.
Add egg yolk and combine using a fork until incorporated. Add flour and bring together until a shaggy dough is formed.
Knead for 3-5 minutes, using additional flour when needed and from into a smooth ball. Wrap in plastic wrap and allow to cool in the fridge until ready to cook.
Divide the dough into 4 equal parts and roll out into logs. Cut into desired sized gnocchis and using a gnocchi board or fork, roll the gnocchi to create ridges.
Bring a pot of water to a boil and season generously with salt. When ready to cook, add gnocchi and cook for 1-2 minutes or until they float.
Reserve some of the starchy water.
For the tomato confit:
Preheat oven to 375F.
Add tomatoes, garlic, olive oil and salt into a small glass baking dish or ceramic.
Bake for 30-45 minutes or until the tomatoes are bright red and softened.
For the pesto:
To make the pesto, combine garlic, nuts and cheese and blitz until combined in a food processor or blender. Add in basil and blitz until broke down. Drizzle in olive oil while continuously blending. Add lemon juice and season with salt & pepper and set aside.
For the sauce:
In a large pan on medium heat, melt butter. Add in cream and cook while stirring until cream has thickened (about 5 minutes.)
Add in gnocchi and 2 heaping tablespoons of the pesto. Stir to combine and add in pasta water. Cook for another 2 minutes and serve immediately topping with the tomato confit :)