﻿# tus resumable uploads: confirmed offset versus chunk checksum

Separate tus offset reconciliation from optional checksum verification, inspect supported extensions, and distinguish a resumed upload from an accepted final artifact.

Author: Retrivium editorial team
Updated: 2026-11-04
Canonical URL: https://retrivium.ai/journal/guide-tus-upload-offset-checksum-extension/
Language: en

## Resumption starts with the server's offset

The tus protocol uses an upload resource and an Upload-Offset value to coordinate continuation. A client's locally remembered progress does not establish how many bytes the server actually received and retained before a connection failed.

A proposed artifact uploader reconciles the current server offset before continuing after an uncertain result. It should not assume that an interrupted request either stored everything or stored nothing. Resumability is useful precisely because the outcome of a transport interruption can differ from the client's last displayed progress.

## An offset conflict must not append data

The core protocol requires the supplied offset to match the resource's current offset. On a mismatch, the server returns a conflict without modifying the upload. A successful patch response reports the new offset based on received and processed or stored bytes.

The client should use this response contract rather than guessing a new position from the amount it attempted to send. Concurrent writers or stale local state can produce a mismatch even when the underlying file is unchanged.

## Checksum verification is an advertised extension

The checksum extension is optional and advertised through the extension mechanism. When used, Upload-Checksum applies to the current request payload. A mismatch or unsupported algorithm must not advance the upload offset under that extension's rules.

This is not automatically a checksum of the entire final artifact. A workflow requiring a final model-file digest needs its own documented verification. Nor does general tus support prove that a particular client/server combination implements the checksum extension.

## Remembered upload URLs have environment limits

The JavaScript client documents storage of previous upload URLs and whether the environment can persist that state. Browser storage restrictions or a different environment can prevent automatic discovery of an earlier upload even when the server resource still exists.

Separate inability to find local resume information from failure of the remote upload. A proposed application keeps enough permitted artifact identity to choose the intended continuation and avoids associating an old upload URL with a different selected file merely because their display names match.

## Upload completion is not model validation

The tus FAQ distinguishes resumable transfer from application concerns such as authentication. Similarly, reaching the declared upload length does not establish that an artifact is authorized for use, parseable by a model loader or the expected release.

A review would examine stale offsets, uncertain patch outcomes, unsupported extensions and checksum rejection. The resulting state model should make transfer progress, integrity evidence and final acceptance visible as different facts, allowing reliable recovery without claiming that resumability guarantees complete artifact correctness.

## Primary references

[tus resumable upload protocol](https://tus.io/protocols/resumable-upload).

[tus scope FAQ](https://tus.io/faq).

[tus JavaScript client API](https://raw.githubusercontent.com/tus/tus-js-client/main/docs/api.md).

Related explanations: [Model artifact storage](/journal/gpu-cloud-s3-model-cache-storage/); [Transport and body limits](/journal/provider-request-body-size-limits/).
