It’ll depend on customs / immigration - I assume you fly into Sfo on a global flight.
if you miss the connection then you should just get assigned to another nonstop to SEA.
i don’t know if international pax can use nexus / GE or any other trusted traveler rights for Sfo international.