[GH-ISSUE #460] IO error: Argument list too long #168

Closed
opened 2026-03-02 04:12:30 +03:00 by kerem · 0 comments
Owner

Originally created by @ShuboLiang on GitHub (Feb 5, 2026).
Original GitHub issue: https://github.com/git-ai-project/git-ai/issues/460

Originally assigned to: @svarlamov on GitHub.

I’m encountering an error when using the git-ai tool in my development workflow. After saving a file, the hook triggers the following command:

git-ai checkpoint agent-v1 --hook-input stdin

It fails with:

Checkpoint failed after 50.906042ms with error IO error: Argument list too long (os error 7)

For reference, here’s my debug log:

[afterSave] Preparing to invoke git-ai  
Binary path: git-ai  
Git repository path: /Users/shitian/Desktop/work/bss-code/osrdc-master  
Full command: git-ai checkpoint agent-v1 --hook-input stdin  
JSON data passed via stdin:
{
  "type": "ai_agent",
  "repo_working_dir": "/Users/shitian/Desktop/work/bss-code/osrdc-master",
  "edited_filepaths": [
    "/Users/shitian/Desktop/work/bss-code/osrdc-master/osrdc-core/osrdc-core-business/src/test/java/com/ai/osrdc/core/business/agile/service/Impl/AccessControlLogSVImplTest.java"
  ],
  "agent_name": "turing-coder",
  "model": "kimi-k2.5",
  "conversation_id": "GqkoQHz9Ji8s",
  "transcript": {
    "messages": [
      {
        "type": "user",
        "text": "Placeholder content",
        "timestamp": "2026-02-05T02:32:10.300Z"
      }
    ]
  }
}
[afterSave] Binary tool invocation completed (exit code: 0)  
Workspace: /Users/shitian/Desktop/work/bss-code/osrdc-master  
File: osrdc-core/osrdc-core-business/src/test/java/com/ai/osrdc/core/business/agile/service/Impl/AccessControlLogSVImplTest.java  
stderr:  
Checkpoint failed after 50.906042ms with error IO error: Argument list too long (os error 7)

Environment: macOS.

Originally created by @ShuboLiang on GitHub (Feb 5, 2026). Original GitHub issue: https://github.com/git-ai-project/git-ai/issues/460 Originally assigned to: @svarlamov on GitHub. I’m encountering an error when using the git-ai tool in my development workflow. After saving a file, the hook triggers the following command: git-ai checkpoint agent-v1 --hook-input stdin It fails with: Checkpoint failed after 50.906042ms with error IO error: Argument list too long (os error 7) For reference, here’s my debug log: ``` [afterSave] Preparing to invoke git-ai Binary path: git-ai Git repository path: /Users/shitian/Desktop/work/bss-code/osrdc-master Full command: git-ai checkpoint agent-v1 --hook-input stdin JSON data passed via stdin: { "type": "ai_agent", "repo_working_dir": "/Users/shitian/Desktop/work/bss-code/osrdc-master", "edited_filepaths": [ "/Users/shitian/Desktop/work/bss-code/osrdc-master/osrdc-core/osrdc-core-business/src/test/java/com/ai/osrdc/core/business/agile/service/Impl/AccessControlLogSVImplTest.java" ], "agent_name": "turing-coder", "model": "kimi-k2.5", "conversation_id": "GqkoQHz9Ji8s", "transcript": { "messages": [ { "type": "user", "text": "Placeholder content", "timestamp": "2026-02-05T02:32:10.300Z" } ] } } [afterSave] Binary tool invocation completed (exit code: 0) Workspace: /Users/shitian/Desktop/work/bss-code/osrdc-master File: osrdc-core/osrdc-core-business/src/test/java/com/ai/osrdc/core/business/agile/service/Impl/AccessControlLogSVImplTest.java stderr: Checkpoint failed after 50.906042ms with error IO error: Argument list too long (os error 7) ``` Environment: macOS.
kerem 2026-03-02 04:12:30 +03:00
  • closed this issue
  • added the
    bug
    label
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/git-ai#168
No description provided.