Merge "Remove pin file trace slice which can crash if file exceeds max trace length" into main