{"record":{"id":"77e316cb5580964e","repo":"deepseek-ai/deepseek-harness","slug":"workspace-rename-failed-result-error-code-r","errorCode":null,"errorMessage":"workspace rename failed: ${result.error.code}: ${result.error.message}","messagePattern":"workspace rename failed: (.+?): (.+?)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"packages/client/runtime/src/client/workspaces/service.ts","lineNumber":260,"sourceCode":"   * Open a filesystem path with the Host operating system's default application.\n   * @param path - absolute or host-resolvable path.\n   */\n  async openPath(path: string): Promise<void> {\n    const response = await this.api.host.openPath({ path })\n    if (!response.result.ok) {\n      throw new Error(`path open failed: ${response.result.error.message}`)\n    }\n  }\n\n  /**\n   * Rename a Workspace.\n   * @param workspaceId - target workspace.\n   * @param title - new display title (trimmed non-empty by the Host).\n   * @returns the renamed Workspace view.\n   */\n  async rename(workspaceId: WorkspaceId, title: string): Promise<WorkspaceView> {\n    const result = await this.manager.rename(workspaceId, title)\n    if (!result.ok) throw new Error(`workspace rename failed: ${result.error.code}: ${result.error.message}`)\n    return result.value.workspace\n  }\n\n  /**\n   * Delete one Workspace registration. Sessions, session logs, and the\n   * directory remain Host-owned outside this operation.\n   * @param workspaceId - target workspace.\n   */\n  async delete(workspaceId: WorkspaceId): Promise<void> {\n    const result = await this.manager.delete(workspaceId)\n    if (!result.ok) throw new Error(`workspace delete failed: ${result.error.code}: ${result.error.message}`)\n  }\n\n  /**\n   * Move a Workspace within the durable registry display order.\n   * @param workspaceId - Workspace to move.\n   * @param beforeWorkspaceId - Anchor workspace; omitted appends.\n   */","sourceCodeStart":242,"sourceCodeEnd":278,"githubUrl":"https://github.com/deepseek-ai/deepseek-harness/blob/b150a551b8d465e31e418e1b2eaf5e79bbb7d28e/packages/client/runtime/src/client/workspaces/service.ts#L242-L278","documentation":"Error \"workspace rename failed: ${result.error.code}: ${result.error.message}\" thrown in deepseek-ai/deepseek-harness.","triggerScenarios":"Thrown at packages/client/runtime/src/client/workspaces/service.ts:260 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Read the error code and message and correct the workspace rename request."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"b150a551b8d465e31e418e1b2eaf5e79bbb7d28e","analyzedAt":"2026-08-24T18:12:29.105Z","schemaVersion":2},"datasetVersion":"2026-08-24T22:17:12.610Z"}