xai-org/grok-build · error · anyhow::Error
parallel .git/ copy thread panicked
Error message
parallel .git/ copy thread panicked
What it means
Error "parallel .git/ copy thread panicked" thrown in xai-org/grok-build.
Source
Thrown at crates/codegen/xai-fast-worktree/src/copy/gitdir.rs:171
for item in chunk {
copy_single_entry(
&item.source,
&item.dest,
files_copied,
symlinks_copied,
)?;
}
Ok(())
})
})
.collect();
// Join in spawn order so "first error" is deterministic.
let mut first_error: Option<anyhow::Error> = None;
for handle in handles {
let chunk_result = match handle.join() {
Ok(r) => r,
Err(_) => Err(anyhow::anyhow!("parallel .git/ copy thread panicked")),
};
if let Err(e) = chunk_result
&& first_error.is_none()
{
first_error = Some(e);
}
}
first_error
})
.map_err(|_| anyhow::anyhow!("parallel .git/ copy panicked"))?;
if let Some(e) = first_error {
return Err(e);
}
}
sanitize_standalone_git_dir_keeping(dest_git, extra_origin)
.context("failed to sanitize standalone .git/ after copy")?;View on GitHub (pinned to bc7f02eddd)
When it happens
Trigger: Thrown at crates/codegen/xai-fast-worktree/src/copy/gitdir.rs:171 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/488e9b956028349a.
Report an issue: GitHub.