xai-org/grok-build · error
deduplicated: identical gcs_path already in flight
Error message
deduplicated: identical gcs_path already in flight
What it means
Error "deduplicated: identical gcs_path already in flight" thrown in xai-org/grok-build.
Source
Thrown at crates/codegen/xai-file-utils/src/queue.rs:1090
/// (only when `compress = true` and file >= 128 bytes). On budget-gate
/// fallback the upload goes inline uncompressed regardless of `compress`.
pub async fn enqueue_file_blocking(
&self,
source_path: &Path,
gcs_path: &str,
content_type: &str,
artifact_name: &str,
session_id: &str,
turn_number: u64,
compress: bool,
) -> anyhow::Result<EnqueueResult> {
let source_size = file_size(source_path);
let in_flight = if is_content_addressed(gcs_path) {
match self.mark_in_flight(gcs_path) {
Some(guard) => Some(guard),
None => {
let (tx, rx) = oneshot::channel();
let _ = tx.send(Err(anyhow::anyhow!(
"deduplicated: identical gcs_path already in flight"
)));
return Ok(EnqueueResult {
completion_rx: rx,
original_size: source_size,
});
}
}
} else {
None
};
if self.over_disk_budget(source_size) {
self.stats.enqueue_fallbacks.fetch_add(1, Ordering::Relaxed);
let (tx, rx) = oneshot::channel();
self.spawn_inline_upload_blocking(
source_path.to_path_buf(),
gcs_path.to_string(),
content_type.to_string(),View on GitHub (pinned to bc7f02eddd)
When it happens
Trigger: Thrown at crates/codegen/xai-file-utils/src/queue.rs:1090 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/7ae8fe2abc364aa8.
Report an issue: GitHub.