code-cli icon indicating copy to clipboard operation
code-cli copied to clipboard

[Auto] session_failure: ENOSPC: no space left on device, write

Open igorcosta opened this issue 6 months ago • 2 comments

Auto-Reported Error

Field Value
Error Type session_failure
CLI Version 0.9.1
Model gpt-5.5
Provider openai
Platform darwin 24.5.0
Session ID 5bf77b98-7134-49a3-8939-ee4e04f662dd-1779707274922
Report ID HFHgY9pGGtGJ5SIOT0G1y

Error Message

ENOSPC: no space left on device, write

Stack Trace

No stack trace available

Session Context

  • Conversation length: 6 messages
  • Context usage: 2%
  • Last tools used: list_tree, read_file, fff_find, fff_find
  • Retry attempt: 1 / 5

Additional Context

{
  "retryAttempt": 1,
  "maxRetries": 5
}

Auto-reported by Autohand CLI v0.9.1 | Report ID: HFHgY9pGGtGJ5SIOT0G1y

igorcosta avatar May 25 '26 11:05 igorcosta

Classified during the open-issue pass: local disk-space exhaustion, not a code fix in this pass.

The OS returned ENOSPC: no space left on device, write, so the immediate recovery is to free disk space. I did not try to reproduce this by filling the disk.

Validation context:

  • bun run test tests/providers/apiErrors.test.ts tests/providers/LLMGatewayClient.spec.ts tests/providers/OpenRouterProvider.test.ts tests/providers/ZaiProvider.test.ts tests/providers/OllamaProvider.test.ts

Tip: free space in the workspace/home volume, then retry the session. If this recurs with free disk space available, capture the path being written.

igorcosta avatar Jun 12 '26 12:06 igorcosta

Closing as local machine disk exhaustion rather than a CLI bug. The system reported ENOSPC; freeing disk space is required before the CLI can write successfully.

igorcosta avatar Jun 22 '26 21:06 igorcosta