You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sibling of #324 (awaitUpload painting cancel as .failed), but on the async recording/Library client.
AsyncTranscriptionClient.isTransient correctly excludes CancellationError, then treats everyURLError as transient — including .cancelled. A cancelled mid-poll fetch can retry up to pollAttempts (4) with sleeps before surfacing.
Separately, upload (and submit) are single-shot while fetch is retried — so a blip on POST /v2/upload costs the whole recording even though the file is still local. The comments justify retries so one blip shouldn't cost an hour-long recording its upload, but only the status poll is covered.
Evidence
// AsyncTranscriptionClient.swift
staticfuncisTransient(_error:anyError)->Bool{iferror is CancellationError{returnfalse}if case AsyncTranscriptionError.http(letstatus, _)=error{returnstatus==0||status==429||status>=500}returnerror is URLError // includes .cancelled
}
Activity