xai-org/grok-build · error

{msg}; not falling back to copy

Error message

{msg}; not falling back to copy

What it means

Error "{msg}; not falling back to copy" thrown in xai-org/grok-build.

Source

Thrown at crates/codegen/xai-fast-worktree/src/nfs/mod.rs:207

                worktree_path: adopted.dest,
                commit,
                copy_stats: CopyStats::default(),
                ignored_stats: None,
                dirty_files_report: None,
                resolved_strategy: grove_resolved_strategy(&adopted.transport),
                strategy_metadata: Some(metadata),
            }))
        }
        Ok(NfsCreateDecision::Fallback) => Ok(None),
        Err(NfsTryError::StorageFull) => {
            let err = std::io::Error::from(std::io::ErrorKind::StorageFull);
            Err(anyhow::Error::new(err).context(OUT_OF_DISK_CONTEXT))
        }
        Err(NfsTryError::InFlight { phase }) => Err(anyhow::anyhow!(
            "nfs worktree create still in progress (phase={phase}); not falling back to copy"
        )),
        Err(NfsTryError::IdentityConflict(msg)) => {
            Err(anyhow::anyhow!("{msg}; not falling back to copy"))
        }
        Err(NfsTryError::Other(e)) => Err(e).context("nfs worktree create failed"),
    }
}
/// Adopt succeeded but dest HEAD is unreadable. Tear the mount down so dest
/// is not left projected with no worktrees.db row. Copy-fallback only when
/// dest is known unmounted.
fn teardown_after_failed_head_read(
    client: &NfsWorktreeClient,
    dest: &Path,
    head_err: anyhow::Error,
) -> Result<Option<CreateWorktreeResult>> {
    if let Err(rm) = client.remove_worktree(dest, true) {
        tracing::warn!(
            error = %rm,
            dest = %dest.display(),
            "grove remove after failed HEAD read"
        );

View on GitHub (pinned to bc7f02eddd)

When it happens

Trigger: Thrown at crates/codegen/xai-fast-worktree/src/nfs/mod.rs:207 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/c58ea13e945db70a. Report an issue: GitHub.