{"record":{"id":"0cd7fed0a3102e38","repo":"paperclipai/paperclip","slug":"sandbox-provider-parsed-config-provider-is-in-0cd7fe","errorCode":null,"errorMessage":"Sandbox provider \"${parsed.config.provider}\" is installed, but sandbox plugin workers are unavailable in this server process.","messagePattern":"Sandbox provider \"(.+?)\" is installed, but sandbox plugin workers are unavailable in this server process\\.","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"server/src/services/environment-runtime.ts","lineNumber":1637,"sourceCode":"      driverKey: input.provider,\n      workerManager: pluginWorkerManager,\n      requireRunning: true,\n    });\n    if (running) {\n      return { state: \"running\" as const, resolved: running };\n    }\n\n    const installed = await resolvePluginSandboxProviderDriverByKey({\n      db,\n      driverKey: input.provider,\n      workerManager: pluginWorkerManager,\n      requireRunning: false,\n    });\n    if (!installed) {\n      return { state: \"missing\" as const, resolved: null };\n    }\n\n    if (installed.plugin.status !== \"ready\") {\n      return { state: \"not_ready\" as const, resolved: installed };\n    }\n\n    if (!pluginWorkerManager) {\n      return { state: \"worker_unavailable\" as const, resolved: installed };\n    }\n\n    const deadline = Date.now() + Math.max(0, pluginWorkerReadyTimeoutMs);\n    while (Date.now() < deadline) {\n      const retried = await resolvePluginSandboxProviderDriverByKey({\n        db,\n        driverKey: input.provider,\n        workerManager: pluginWorkerManager,\n        requireRunning: true,\n      });\n      if (retried) {\n        return { state: \"running\" as const, resolved: retried };\n      }","sourceCodeStart":1619,"sourceCodeEnd":1655,"githubUrl":"https://github.com/paperclipai/paperclip/blob/3f1d897a7c018d76563a21c6e39c3c9b03933622/server/src/services/environment-runtime.ts#L1619-L1655","documentation":"Plugin-worker availability failure in acquireRunLease: the sandbox provider is installed as a plugin (state not 'missing'), but the plugin worker runtime is unavailable in this server process (state 'not_ready' — workers not enabled or failed to start). Lease acquisition fails because sandbox work cannot be delegated to a worker.","triggerScenarios":"Thrown at server/src/services/environment-runtime.ts:1507 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Restart the server with sandbox plugin workers enabled, or use a built-in provider instead."],"exampleFix":null,"handlingStrategy":"validation","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"}