xai-org/grok-build · error · anyhow::Error
nfs worktree create still in progress (phase={phase}); not f
Error message
nfs worktree create still in progress (phase={phase}); not falling back to copy What it means
Error "nfs worktree create still in progress (phase={phase}); not falling back to copy" thrown in xai-org/grok-build.
Source
Thrown at crates/codegen/xai-fast-worktree/src/nfs/mod.rs:203
grove["backing"] = serde_json::Value::String(b);
}
let metadata = serde_json::json!({ "grove": grove });
Ok(Some(CreateWorktreeResult {
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!(View on GitHub (pinned to bc7f02eddd)
When it happens
Trigger: Thrown at crates/codegen/xai-fast-worktree/src/nfs/mod.rs:203 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/c13127011be771e0.
Report an issue: GitHub.