{ "name": "download.add \u2014 not enough space to preallocate", "description": "Preallocating at the final size means the failure happens now, on add, rather than at 97 % after an hour.", "request": { "jsonrpc": "2.0", "id": 106, "method": "download.add", "params": { "url": "https://releases.ubuntu.com/26.04/ubuntu-26.04-desktop-amd64.iso", "saveDir": "/home/sami/Downloads/Programs", "startMode": "now" } }, "response": { "jsonrpc": "2.0", "id": 106, "error": { "code": -32012, "message": "not enough free space to preallocate 5.8 GB" } }, "assertions": [ "the check is against the actual filesystem holding saveDir, not the home directory", "the partially created .veloxpart is removed before this error is returned", "not replayable against a mock: exercised in tests/integration on a small tmpfs" ], "requires": "a filesystem with no free space" }