| 91 | // Use a base working directory - TestWorkspace will create subdirectories as needed |
| 92 | // For local runtime, use os.tmpdir() which matches where TestWorkspace creates directories |
| 93 | const getBaseWorkdir = () => { |
| 94 | if (type === "ssh") { |
| 95 | return sshConfig!.workdir; |
| 96 | } |
| 97 | if (type === "docker") { |
| 98 | return "/src"; |
| 99 | } |
| 100 | return os.tmpdir(); |
| 101 | }; |
| 102 | |
| 103 | // DockerRuntime is slower than local/ssh, and the integration job has a hard |
| 104 | // time budget. Keep the Docker coverage focused on the core Runtime contract. |