{"record":{"id":"173a26278f7ddb9d","repo":"xai-org/grok-build","slug":"remote-session-restore-is-not-available-in-this-bu","errorCode":null,"errorMessage":"Remote session restore is not available in this build","messagePattern":"Remote session restore is not available in this build","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"crates/codegen/xai-grok-shell/src/session/restore_stub.rs","lineNumber":136,"sourceCode":"}\n\nimpl SessionStateRestoreResult {\n    pub fn skipped() -> Self {\n        Self::default()\n    }\n\n    pub(crate) fn is_skipped(&self) -> bool {\n        self.files_copied == 0\n    }\n}\n\npub(crate) async fn restore_session(\n    _client: &SessionRegistryClient,\n    _session_id: &str,\n    _target_cwd: &str,\n    _turn_override: Option<i32>,\n) -> Result<RestoreResult> {\n    bail!(UNAVAILABLE)\n}\n\npub struct RestoreSessionOpts {\n    pub turn_override: Option<i32>,\n    pub progress: Option<ProgressCallback>,\n    pub restore_code: bool,\n}\n\nimpl RestoreSessionOpts {\n    pub fn conversation_only() -> Self {\n        Self {\n            turn_override: None,\n            progress: None,\n            restore_code: false,\n        }\n    }\n}\n","sourceCodeStart":118,"sourceCodeEnd":154,"githubUrl":"https://github.com/xai-org/grok-build/blob/bc7f02eddd3d84085849dc19ed216f11c23b0571/crates/codegen/xai-grok-shell/src/session/restore_stub.rs#L118-L154","documentation":"Error \"Remote session restore is not available in this build\" thrown in xai-org/grok-build.","triggerScenarios":"Thrown at crates/codegen/xai-grok-shell/src/session/restore_stub.rs:136 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":"bc7f02eddd3d84085849dc19ed216f11c23b0571","analyzedAt":"2026-08-31T04:59:42.031Z","schemaVersion":2},"datasetVersion":"2026-08-31T09:17:48.483Z"}