{"record":{"id":"f465c1640a6a83cc","repo":"zed-industries/zed","slug":"git-clone-failed-f465c1","errorCode":null,"errorMessage":"Git Clone failed","messagePattern":"Git Clone failed","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"crates/project/src/git_store.rs","lineNumber":3168,"sourceCode":"                ..\n            } => {\n                if upstream_client.is_via_collab() {\n                    return Task::ready(Err(anyhow!(\n                        \"Git Clone isn't supported for project guests\"\n                    )));\n                }\n                let request = upstream_client.request(proto::GitClone {\n                    project_id: *upstream_project_id,\n                    abs_path: path.to_string_lossy().into_owned(),\n                    remote_repo: repo,\n                });\n\n                cx.background_spawn(async move {\n                    let result = request.await?;\n\n                    match result.success {\n                        true => Ok(()),\n                        false => Err(anyhow!(\"Git Clone failed\")),\n                    }\n                })\n            }\n        }\n    }\n\n    pub fn git_config(&self, path: Arc<Path>, args: Vec<String>, cx: &App) -> Task<Result<String>> {\n        match &self.state {\n            GitStoreState::Local { fs, .. } => {\n                let fs = fs.clone();\n                cx.background_executor()\n                    .spawn(async move { fs.git_config(&path, args).await })\n            }\n            GitStoreState::Remote {\n                upstream_client, ..\n            } => {\n                // Prevent running git config commands for collab.\n                if upstream_client.is_via_collab() {","sourceCodeStart":3150,"sourceCodeEnd":3186,"githubUrl":"https://github.com/zed-industries/zed/blob/f4178619acd0d47ea1f76a2025c42962c6d6638c/crates/project/src/git_store.rs#L3150-L3186","documentation":"The remote git clone RPC (proto::GitClone) sent to the host failed — the request itself returned an error rather than completing. The host-side clone likely failed (bad URL, auth, disk) or the connection dropped mid-request.","triggerScenarios":"Thrown at crates/project/src/git_store.rs:3168 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Check the host's logs for the underlying clone failure","Verify the repository URL and credentials, and available disk space on the host","Retry after fixing the cause; transient connection drops can simply be retried"],"exampleFix":null,"handlingStrategy":"retry","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"f4178619acd0d47ea1f76a2025c42962c6d6638c","analyzedAt":"2026-08-20T19:29:52.058Z","contentChangedAt":"2026-08-20T19:29:52.058Z","schemaVersion":2},"datasetVersion":"2026-09-14T05:17:10.506Z"}