fix: sandbox executor pack size limit #101

Merged
manuel merged 3 commits from fix-pack-size-limit into master 2026-07-24 13:04:10 +08:00
Showing only changes of commit 9b23765848 - Show all commits

View File

@ -102,8 +102,8 @@ func (e *Sandbox) runWithTar(cmds []stage.Cmd, tarData []byte) ([]stage.Executor
tarFileName := "/w/__joj3_copyin.tar"
script := fmt.Sprintf(
"/bin/tar xf %s -C / --no-same-owner && exec \"$@\"",
tarFileName,
"/bin/tar xf %s -C / --no-same-owner && rm %s && exec \"$@\"",
tarFileName, tarFileName,
)
cmds[0].CopyIn[tarFileName] = stage.CmdFile{FileID: &fid}