Skip to content

port 507 on over-quota upload finish - #910

Merged
fschade merged 2 commits into
opencloud-eu:mainfrom
butonic:port-738
Oct 23, 2026
Merged

fschade merged 2 commits into
opencloud-eu:mainfrom
butonic:port-738

Conversation

@butonic

@butonic butonic commented Oct 23, 2026

Copy link
Copy Markdown
Member

When a TUS upload is finished and the space quota is exceeded at that point (e.g. another upload filled the space in the meantime), FinishUpload returned the plain InsufficientStorage error, which tusd answers with 500. It is now mapped to a tusd error with ERR_INSUFFICIENT_STORAGE / 507, in both decomposedfs copies (utils and pkg, so posix and decomposeds3 are covered too). Specs added to both upload_test.go files.

This change was prepared with the help of an AI assistant (Claude Code).

@butonic butonic self-assigned this Oct 23, 2026
@fschade
fschade merged commit b670988 into opencloud-eu:main Oct 23, 2026
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants