Skip to content

osb file upload / SDK files.write returns success but file not actually written #1016

@Pangjiping

Description

@Pangjiping

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.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions