From 79cee96324f44d916b6acd460c2447f619100a1b Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Wed, 20 Aug 2025 23:27:37 +0000 Subject: [PATCH 1/2] chore: bump Claude Code version to 1.0.86 --- action.yml | 2 +- base-action/action.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index dd9e255..03d1477 100644 --- a/action.yml +++ b/action.yml @@ -178,7 +178,7 @@ runs: echo "Base-action dependencies installed" cd - # Install Claude Code globally - curl -fsSL https://claude.ai/install.sh | bash -s 1.0.85 + curl -fsSL https://claude.ai/install.sh | bash -s 1.0.86 echo "$HOME/.local/bin" >> "$GITHUB_PATH" - name: Setup Network Restrictions diff --git a/base-action/action.yml b/base-action/action.yml index 123f6cb..168982c 100644 --- a/base-action/action.yml +++ b/base-action/action.yml @@ -118,7 +118,7 @@ runs: - name: Install Claude Code shell: bash - run: curl -fsSL https://claude.ai/install.sh | bash -s 1.0.85 + run: curl -fsSL https://claude.ai/install.sh | bash -s 1.0.86 - name: Run Claude Code Action shell: bash From 9f02f6f6d43ec1d1da0f80028250535a057f3f32 Mon Sep 17 00:00:00 2001 From: Ashwin Bhat Date: Wed, 20 Aug 2025 20:02:00 -0700 Subject: [PATCH 2/2] fix: Increase maxBuffer for jq processing to handle large Claude outputs (#473) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes "stdout maxBuffer length exceeded" error by increasing the buffer from Node.js default of 1MB to 10MB when processing Claude output with jq. This prevents failures when Claude produces large execution logs. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Claude --- base-action/src/run-claude.ts | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/base-action/src/run-claude.ts b/base-action/src/run-claude.ts index 0edfa72..1d095b7 100644 --- a/base-action/src/run-claude.ts +++ b/base-action/src/run-claude.ts @@ -307,7 +307,10 @@ export async function runClaude(promptPath: string, options: ClaudeOptions) { await writeFile("output.txt", output); // Process output.txt into JSON and save to execution file - const { stdout: jsonOutput } = await execAsync("jq -s '.' output.txt"); + // Increase maxBuffer from Node.js default of 1MB to 10MB to handle large Claude outputs + const { stdout: jsonOutput } = await execAsync("jq -s '.' output.txt", { + maxBuffer: 10 * 1024 * 1024, + }); await writeFile(EXECUTION_FILE, jsonOutput); console.log(`Log saved to ${EXECUTION_FILE}`); @@ -324,7 +327,10 @@ export async function runClaude(promptPath: string, options: ClaudeOptions) { if (output) { try { await writeFile("output.txt", output); - const { stdout: jsonOutput } = await execAsync("jq -s '.' output.txt"); + // Increase maxBuffer from Node.js default of 1MB to 10MB to handle large Claude outputs + const { stdout: jsonOutput } = await execAsync("jq -s '.' output.txt", { + maxBuffer: 10 * 1024 * 1024, + }); await writeFile(EXECUTION_FILE, jsonOutput); core.setOutput("execution_file", EXECUTION_FILE); } catch (e) {