{"record":{"id":"7dafc1f70aab73bb","repo":"paperclipai/paperclip","slug":"timed-out-checking-command-command-on-sandbox","errorCode":null,"errorMessage":"Timed out checking command \"${command}\" on sandbox target.","messagePattern":"Timed out checking command \"(.+?)\" on sandbox target\\.","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"packages/adapter-utils/src/execution-target.ts","lineNumber":607,"sourceCode":"  }\n  // Local and SSH adapters preserve the historical \"0 means no adapter\n  // timeout\" behavior. Sandbox-backed runs execute through provider RPCs\n  // that usually apply their own shorter command defaults, so request an\n  // explicit longer timeout for full adapter runs when the adapter leaves\n  // timeoutSec unset.\n  if (target?.kind === \"remote\" && target.transport === \"sandbox\") {\n    return { timeoutSec: DEFAULT_REMOTE_SANDBOX_ADAPTER_TIMEOUT_SEC, source: \"sandbox_default\" };\n  }\n  return { timeoutSec: 0, source: \"unlimited\" };\n}\n\nexport function resolveAdapterExecutionTargetTimeoutSec(\n  target: AdapterExecutionTarget | null | undefined,\n  configuredTimeoutSec: number | null | undefined,\n): number {\n  return resolveAdapterExecutionTargetTimeout(target, configuredTimeoutSec).timeoutSec;\n}\n\nfunction describeAdapterExecutionTimeoutSource(\n  source: AdapterExecutionTargetTimeoutSource,\n): string {\n  switch (source) {\n    case \"configured\":\n      return \"configured via adapterConfig.timeoutSec\";\n    case \"sandbox_default\":\n      return \"sandbox default\";\n    case \"unlimited\":\n      return \"no adapter wall-clock timeout\";\n  }\n}\n\n/**\n * Self-describing error message for when the adapter wall-clock execution\n * timeout kills a run. Names the timer that fired and the knob that controls\n * it so run failures never surface as a bare \"Timed out\".\n */","sourceCodeStart":589,"sourceCodeEnd":625,"githubUrl":"https://github.com/paperclipai/paperclip/blob/3f1d897a7c018d76563a21c6e39c3c9b03933622/packages/adapter-utils/src/execution-target.ts#L589-L625","documentation":"Probe timeout in sandbox command resolution: the `command -v`-style check for the adapter binary on the sandbox target exceeded its timeout budget, so resolvability could be neither confirmed nor denied; typically a slow or overloaded sandbox connection.","triggerScenarios":"Thrown at packages/adapter-utils/src/execution-target.ts:571 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Check sandbox health and retry the probe.","Increase the probe timeout if the sandbox target is slow."],"exampleFix":null,"handlingStrategy":"retry","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"3f1d897a7c018d76563a21c6e39c3c9b03933622","analyzedAt":"2026-08-18T22:49:45.177Z","contentChangedAt":"2026-08-18T22:49:45.177Z","schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}