# Interrupted file upload test report

> Inspect a local fixture that resumes an interrupted upload. Compare the confirmed byte offset and completed file with the expected original payload.

Source: https://cueapril.com/reports/file-upload-resume
Updated: 2026-12-01
Index: https://cueapril.com/llms.txt

## Will resuming an upload preserve the original file byte for byte?

The original implementation failed the “Three-byte prefix saved” check. Expected bef57ec7f53a6d40 and observed 83857f640dc7bc18. The corrected implementation met both expectations on the same inputs.

Resuming a transfer preserves the original byte sequence. Compare two versions of a small, runnable fixture. The inputs, expected values and recorded results are public.

## What the control case missed

An uninterrupted transfer starts with an empty prefix and produces the right checksum. A resumed transfer combines the prefix and the whole file, duplicating the first bytes while still reporting success.

Observed values from the two implementations

| Check | Expected | Original | Corrected |
| --- | --- | --- | --- |
| No saved prefix | bef57ec7f53a6d40 | bef57ec7f53a6d40 | bef57ec7f53a6d40 |
| Three-byte prefix saved | bef57ec7f53a6d40 | 83857f640dc7bc18 | bef57ec7f53a6d40 |

## What to check before merging

Resume from the confirmed byte offset and verify the completed file's digest. The fixture uses ASCII to make the offset visible. In a full upload exercise binary buffers, multiple chunks and rejected offsets.

## Reproduce the recorded result

Download the [Node.js fixture](/examples/qa-regressions/run.mjs) and run node run.mjs file-upload-resume with Node.js 24. Compare the printed JSON with the [recorded results](/examples/qa-regressions/results.json). This is a locally executed model of the regression, using synthetic inputs. It covers the rule shown here. Hosted runs, browser behaviour and customer PRs require their own evidence.

## Primary documentation

- [Runnable synthetic regression fixtures](/examples/qa-regressions/run.mjs)
- [Recorded output for all twelve fixtures](/examples/qa-regressions/results.json)

By Cue April. Updated 2026-12-01.

## Related

- [Worked test reports](https://cueapril.com/reports): Replay a real mobile pricing defect from a Cue April pull request. Explore runnable reports for checkout, search, data migrations and other regressions.
- [Pull request testing](https://cueapril.com/use-cases/pull-request-testing): See what a pull request test report should show before you merge. Follow a failing checkout check through the fix and inspect a real PR report.
