{"record":{"id":"f5f842e703a09bf3","repo":"zed-industries/zed","slug":"copilot-hasn-t-started-yet","errorCode":null,"errorMessage":"copilot hasn't started yet","messagePattern":"copilot hasn't started yet","errorType":"exception","errorClass":"anyhow::Error","httpStatus":null,"severity":"error","filePath":"crates/copilot/src/copilot.rs","lineNumber":814,"sourceCode":"                                    Err(Arc::new(error))\n                                }\n                            })?\n                        })\n                        .shared();\n                    server.sign_in_status = SignInStatus::SigningIn {\n                        prompt: None,\n                        task: task.clone(),\n                    };\n                    cx.notify();\n                    task\n                }\n            };\n\n            cx.background_spawn(task.map_err(|err| anyhow!(\"{err:?}\")))\n        } else {\n            // If we're downloading, wait until download is finished\n            // If we're in a stuck state, display to the user\n            Task::ready(Err(anyhow!(\"copilot hasn't started yet\")))\n        }\n    }\n\n    pub fn sign_out(&mut self, cx: &mut Context<Self>) -> Task<Result<()>> {\n        self.update_sign_in_status(request::SignInStatus::NotSignedIn, cx);\n        match &self.server {\n            CopilotServer::Running(RunningCopilotServer { lsp: server, .. }) => {\n                let request_timeout = ProjectSettings::get_global(cx)\n                    .global_lsp_settings\n                    .get_request_timeout();\n\n                let server = server.clone();\n                cx.background_spawn(async move {\n                    server\n                        .request::<request::SignOut>(request::SignOutParams {}, request_timeout)\n                        .await\n                        .into_response()\n                        .context(\"copilot: sign in confirm\")?;","sourceCodeStart":796,"sourceCodeEnd":832,"githubUrl":"https://github.com/zed-industries/zed/blob/bc538def4545534201bbfcac4e95ac34ea6501b6/crates/copilot/src/copilot.rs#L796-L832","documentation":"Error \"copilot hasn't started yet\" thrown in zed-industries/zed.","triggerScenarios":"Thrown at crates/copilot/src/copilot.rs:814 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"bc538def4545534201bbfcac4e95ac34ea6501b6","analyzedAt":"2026-08-16T07:30:46.435Z","schemaVersion":2},"datasetVersion":"2026-08-16T08:17:34.114Z"}