Tech
Ship a Restart-Safe Upload CLI That Survives an Expired Resume URL
My upload CLI looked restart-safe until I tested two failures together: the process crashed at 63%, and the signed resume URL expired before restart.
The checkpoint needs identity, not credentials:
{
"file" : "release.tar.gz" ,
"fingerprint" : "sha256:..." ,
"uploadId" : "up_123" ,
"localOffset" : 66060288 ,
"updatedAt" : "2026-07-19T12:00:00Z"
}
Do not persist the signed URL. On restart, exchange the durable...
Read the full discussion on Dev.to
This article was aggregated from Dev.to. Click to join the conversation.
View on Dev.to