feat(runner): compile Go and check answers per test group

This commit is contained in:
shira committed 2026-10-11 08:59:29 +03:00
1 parent e95c681165
commit afee564bf4
61 files changed
+2592 -143

No files matched your search

+3 -2
View File
@@ -75,9 +75,10 @@ func validateConfig(cfg Config) error {
return nil
}
// NewBox creates the read-only file directory of a run.
// NewBox creates the directory of one program; the sandbox user owns its
// build output.
func (e *Executor) NewBox(fileName string, content []byte) (*Box, error) {
return CreateBox(e.cfg.WorkRoot, fileName, content)
return CreateBox(e.cfg.WorkRoot, fileName, content, Owner{UID: e.cfg.SandboxUID, GID: e.cfg.SandboxGID})
}
// Leftovers lists boxes and run cgroups that still exist. After every run