openai/codex · error · io::Error
Interrupted
Interrupted
Error message
filesystem walk cancelled
What it means
Error "filesystem walk cancelled" thrown in openai/codex.
Source
Thrown at codex-rs/exec-server/src/local_file_system.rs:1057
&'a self,
source_path: &'a PathUri,
destination_path: &'a PathUri,
options: CopyOptions,
sandbox: Option<&'a FileSystemSandboxContext>,
) -> ExecutorFileSystemFuture<'a, ()> {
Box::pin(DirectFileSystem::copy(
self,
source_path,
destination_path,
options,
sandbox,
))
}
}
fn check_walk_cancelled(cancelled: &CancellationToken) -> io::Result<()> {
if cancelled.is_cancelled() {
return Err(io::Error::new(
io::ErrorKind::Interrupted,
"filesystem walk cancelled",
));
}
Ok(())
}
fn walk_metadata(path: &PathUri) -> io::Result<(std::fs::Metadata, bool)> {
let path = path.to_abs_path()?;
let metadata = std::fs::symlink_metadata(path.as_path())?;
let is_symlink = metadata.is_symlink();
let metadata = if is_symlink {
std::fs::metadata(path.as_path())?
} else {
metadata
};
Ok((metadata, is_symlink))
}View on GitHub (pinned to 339751715c)
Solutions
- Retry the filesystem walk; it was cancelled before completion.
When it happens
Trigger: Thrown at codex-rs/exec-server/src/local_file_system.rs:1057 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of openai/codex@339751715c (2026-08-25).
Data as JSON: /api/errors/c086b4add1eeca45.
Report an issue: GitHub.