xai-org/grok-build · error

Session {} not found locally and session registry is not ava

Error message

Session {} not found locally and session registry is not available (auth may be missing or registry is disabled)

What it means

Error "Session {} not found locally and session registry is not available (auth may be missing or registry is disabled)" thrown in xai-org/grok-build.

Source

Thrown at crates/codegen/xai-grok-shell/src/session/worktree.rs:229

            kind = ?resolved.resolution_kind,
            "RESUME_LOCAL_RESOLVED: session found via repo-wide lookup"
        );
        return resume_local_session_in_worktree(
            req,
            ops,
            &resolved.session_id,
            &resolved.cwd,
            worktree_type_default,
            restore_code_default,
            registry_client,
            auth_manager,
            agent_id,
            grove_worktree,
        )
        .await;
    }
    let client = registry_client.ok_or_else(|| {
        anyhow::anyhow!(
            "Session {} not found locally and session registry is not available \
             (auth may be missing or registry is disabled)",
            req.session_id,
        )
    })?;
    tracing::info!(
        session_id = %req.session_id,
        "Restoring remote session: creating worktree first to keep source clean"
    );
    let worktree_type = req
        .worktree_type
        .map(ShellWorktreeType::from)
        .unwrap_or(worktree_type_default);
    let wt_resp = create_worktree_for_resume(
        &req.source_cwd,
        req.copy_mode,
        worktree_type,
        req.git_ref.clone(),

View on GitHub (pinned to bc7f02eddd)

When it happens

Trigger: Thrown at crates/codegen/xai-grok-shell/src/session/worktree.rs:229 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of xai-org/grok-build@bc7f02eddd (2026-08-31). Data as JSON: /api/errors/ad70d1ac575be270. Report an issue: GitHub.