2 months ago
c5a53c5- DropboxProvider, GoogleDriveProvider, and WebDAVProvider now report resumable_upload and range_download as false. The helper functions (dropbox_resumable_upload, google_drive_resumable_upload) exist but are not yet wired to the resumable_upload_bytes and download_range trait methods. Advertising support without an implementation caused callers to route to the default trait method, which returns a non-retryable ProviderCapabilityUnavailable error — making large database publishes to Dropbox/Google Drive fail permanently and resumable downloads fail on the first chunk. - resumable_atomic_download now resets the transfer-part row's transferred_bytes to 0 and state to 'failed' when a range download fails and the temp file is removed. Without this, the next run sees a matching part row with a non-zero offset but no temp file, resets offset to 0 internally, then overwrites the DB row after the first chunk — creating an inconsistent state where the DB claims progress the file does not have.
Parent32bb84d