Description
When using osb file upload or SDK files.write, the API returns success (status=ok), but the target file does not exist inside the sandbox. Files smaller than ~18KB work correctly; files larger than 18KB silently fail.
Reproduction
- Sandbox ID:
1486d1e924194d058eebd7601fca1667
- Tenant:
mw-doctor
- CLI version:
osb 0.1.1
- Sandbox status: Running
osb file upload 1486d1e924194d058eebd7601fca1667 local.sh /workspace/codex-upload-big-test/hook.sh -o json
# Returns: {"status":"ok","message":"Uploaded: ... → /workspace/..."}
The target directory exists, but the uploaded file is missing. The same issue occurs with SDK files.write.
Expected Behavior
After upload / files.write returns success, the file should exist at the target path. There should be no file size limit.
Impact
Users cannot upload files larger than 18KB to sandboxes via CLI or SDK.
Description
When using
osb file uploador SDKfiles.write, the API returns success (status=ok), but the target file does not exist inside the sandbox. Files smaller than ~18KB work correctly; files larger than 18KB silently fail.Reproduction
1486d1e924194d058eebd7601fca1667mw-doctorosb0.1.1osb file upload 1486d1e924194d058eebd7601fca1667 local.sh /workspace/codex-upload-big-test/hook.sh -o json # Returns: {"status":"ok","message":"Uploaded: ... → /workspace/..."}The target directory exists, but the uploaded file is missing. The same issue occurs with
SDK files.write.Expected Behavior
After
upload/files.writereturns success, the file should exist at the target path. There should be no file size limit.Impact
Users cannot upload files larger than 18KB to sandboxes via CLI or SDK.