Skip to content

fix: insert -- end-of-options separator before prompt to prevent ENAMETOOLONG#32114

Merged
pelikhan merged 6 commits into
mainfrom
copilot/aw-fix-github-mcp-structural-analysis
May 14, 2026
Merged

fix: insert -- end-of-options separator before prompt to prevent ENAMETOOLONG#32114
pelikhan merged 6 commits into
mainfrom
copilot/aw-fix-github-mcp-structural-analysis

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 14, 2026

Bug Fix

What was the bug?

Claude Code 2.1.133 changed --mcp-config to accept variadic values: any non-flag positional argument following --mcp-config <path> is treated as an additional config file path. The harness appended the prompt text directly after --mcp-config, so Claude constructed CWD/<31KB-prompt> as a file path → ENAMETOOLONG (exceeds Linux PATH_MAX of 4096 bytes). Every fresh run failed instantly (duration=0s); --continue retries (which omit the prompt) succeeded, confirming the prompt adjacency as the cause.

From agent-stdio.log (run 25859784223):

[ERROR] MCP config read error for /home/runner/work/gh-aw/gh-aw/<system>
<security>... [31KB of prompt] ...
(scope=dynamic): Error: ENAMETOOLONG: name too long, open

How did you fix it?

Insert the POSIX end-of-options marker -- before the prompt content in resolveClaudePromptFileArgs. Claude's arg parser stops consuming --mcp-config values at --, and the prompt is unambiguously a positional argument.

// Before
filteredArgs.push(promptContent);

// After — '--' ends option parsing so prompt is never mistaken for a second --mcp-config path
filteredArgs.push("--");
filteredArgs.push(promptContent);

Also updated safeInitialArgs to use slice(0, -2) to strip both -- and the prompt from log output (was slice(0, -1)).

Testing

  • Updated two existing unit tests to expect ["--", <content>] instead of [<content>]
  • Added regression test with a >4096-byte prompt prefixed with <system> (the exact pattern that triggered the failure) verifying -- is placed between --mcp-config and the prompt

Changeset\n\n- Type: patch\n- Description: Fix prompt handling in so Claude Code stops parsing the prompt as an extra path and avoids .

Generated by Changeset Generator for issue #32114 ·



✨ PR Review Safe Output Test - Run 25863982829

Warning

Firewall blocked 6 domains

The following domains were blocked by the firewall during workflow execution:

  • accounts.google.com
  • android.clients.google.com
  • clients2.google.com
  • contentautofill.googleapis.com
  • safebrowsingohttpgateway.googleapis.com
  • www.google.com

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "accounts.google.com"
    - "android.clients.google.com"
    - "clients2.google.com"
    - "contentautofill.googleapis.com"
    - "safebrowsingohttpgateway.googleapis.com"
    - "www.google.com"

See Network Configuration for more information.

💥 [THE END] — Illustrated by Smoke Claude · ● 9.4M ·

Copilot AI linked an issue May 14, 2026 that may be closed by this pull request
@github-actions
Copy link
Copy Markdown
Contributor

Hey @app/copilot-swe-agent 👋 — thanks for investigating the Claude Code 2.1.133 ENAMETOOLONG regression in the GitHub MCP Structural Analysis engine! The root cause analysis in the PR body is clear and well-reasoned.

A few things to address before this is ready:

  • No code changes yet — the PR currently has 0 changed files. The fix to resolveClaudePromptFileArgs in claude_harness.cjs and the corresponding test updates in claude_harness.test.cjs need to be committed.
  • Draft / WIP state — this is marked [WIP] and is a draft. Once the code and tests are committed, remove the draft status and update the title.
  • Tests missing — per the checklist in the PR body itself, tests in claude_harness.test.cjs still need to be updated to cover the new -- separator behaviour.
  • Process note — the CONTRIBUTING.md for this project asks that non-core contributors propose changes via issues/plans rather than opening PRs directly. If this was opened by the Copilot agent on behalf of a core team member, no action needed — otherwise please coordinate with the team first.

When you're ready to implement, here's a prompt you can assign to your coding agent:

In claude_harness.cjs, update the `resolveClaudePromptFileArgs` function to insert a `--` end-of-options separator immediately before the prompt content argument. This prevents Claude Code >=2.1.133 from interpreting the large prompt string as a second value for the variadic `--mcp-config` flag, which caused ENAMETOOLONG errors when the prompt exceeded PATH_MAX (4096 bytes).

Also update claude_harness.test.cjs to assert that the returned args array includes `--` at the correct position before the prompt content. Run the test suite to confirm all tests pass.

Generated by Contribution Check · ● 8.7M ·

…OLONG

Claude Code 2.x treats any non-flag positional argument following --mcp-config
as an additional config file path (variadic flag).  When a long prompt (>4096
bytes) is appended after --mcp-config <path> without a separator, Claude tries
to open `CWD/<prompt-text>` as a file, which exceeds PATH_MAX and fails with
ENAMETOOLONG.

Fix: insert -- before the prompt content in resolveClaudePromptFileArgs so that
Claude's arg parser stops treating subsequent positional args as --mcp-config
values.  The -- separator is a POSIX end-of-options marker supported by all
standard CLI parsers.

This was root-caused via the agent-stdio.log artifact from CI run 25859784223:
  [ERROR] MCP config read error for /home/runner/work/gh-aw/gh-aw/<system>
  (scope=dynamic): Error: ENAMETOOLONG: name too long, open

The GitHub MCP Structural Analysis workflow's prompt is 31KB, well above
PATH_MAX, causing every fresh run to fail immediately (duration=0s) while
--continue retries (which omit the prompt) succeeded.

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix GitHub MCP Structural Analysis engine failure fix: insert -- end-of-options separator before prompt to prevent ENAMETOOLONG May 14, 2026
Copilot AI requested a review from pelikhan May 14, 2026 13:29
@pelikhan
Copy link
Copy Markdown
Collaborator

@copilot merge main and recompile

…-mcp-structural-analysis

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
@pelikhan
Copy link
Copy Markdown
Collaborator

@copilot upgrade Claude code to latest release and recompile

Copy link
Copy Markdown
Contributor Author

Copilot AI commented May 14, 2026

@copilot merge main and recompile

Merged main and recompiled. All 301 JS test files pass (8674 tests). The recompile produced no workflow changes.

… lock files

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copy link
Copy Markdown
Contributor Author

Copilot AI commented May 14, 2026

@copilot upgrade Claude code to latest release and recompile

Upgraded DefaultClaudeCodeVersion from 2.1.1332.1.141 (latest on npm), updated wasm golden files, and recompiled 227 workflows (66 lock files updated). Commit: bb7fb56

@pelikhan pelikhan added the smoke label May 14, 2026
@pelikhan pelikhan marked this pull request as ready for review May 14, 2026 13:53
Copilot AI review requested due to automatic review settings May 14, 2026 13:53
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 14, 2026

Smoke OTEL Backends completed successfully!

@github-actions github-actions Bot removed the smoke label May 14, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 14, 2026

🚀 Smoke Gemini MISSION COMPLETE! Gemini has spoken. ✨

Caution

Security scanning requires review for Smoke Gemini

Details

The threat detection results could not be parsed. The workflow output should be reviewed before merging.

Review the workflow run logs for details.

@github-actions
Copy link
Copy Markdown
Contributor

📰 BREAKING: Smoke Copilot is now investigating this pull request. Sources say the story is developing...

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 14, 2026

💫 TO BE CONTINUED... Smoke Claude failed to deliver outputs! Our hero faces unexpected challenges...

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 14, 2026

✨ The prophecy is fulfilled... Smoke Codex has completed its mystical journey. The stars align. 🌟

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 14, 2026

🚀 Smoke Pi MISSION COMPLETE! Pi delivered. 🥧

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 14, 2026

Smoke OTEL — OTEL telemetry verified

@github-actions
Copy link
Copy Markdown
Contributor

Commit pushed: b9f0ad8

Generated by Changeset Generator

@github-actions
Copy link
Copy Markdown
Contributor

Agent Container Tool Check

Tool Status Version
bash 5.2.21
sh available
git 2.54.0
jq 1.7
yq 4.53.2
curl 8.5.0
gh 2.92.0
node 22.22.2
python3 3.14.5
go 1.24.13
java 21.0.11
dotnet 10.0.300

Result: 12/12 tools available ✅

Overall Status: PASS

🔧 Tool validation by Agent Container Smoke Test · ● 1.2M ·

@github-actions
Copy link
Copy Markdown
Contributor

Caution

Security scanning requires review for Smoke Gemini

Details

The threat detection results could not be parsed. The workflow output should be reviewed before merging.

Review the workflow run logs for details.

Smoke Test Results

  • GitHub MCP Testing: ✅
  • Web Fetch Testing: ✅
  • File Writing Testing: ✅
  • Bash Tool Testing: ✅
  • Build gh-aw: ❌

Overall Status: FAIL

Warning

Firewall blocked 1 domain

The following domain was blocked by the firewall during workflow execution:

  • localhost

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "localhost"

See Network Configuration for more information.

Smoke Gemini — Powered by Gemini ·

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request addresses a Claude Code CLI argument-parsing regression that caused large prompt content to be misinterpreted as an extra --mcp-config file path (triggering ENAMETOOLONG). The fix ensures the prompt is always separated from options by inserting the POSIX end-of-options marker -- before the prompt argument.

Changes:

  • Update resolveClaudePromptFileArgs to append -- before inline prompt content and adjust log-redaction slicing accordingly.
  • Update/add unit tests to validate the new ["--", <prompt>] behavior and include an ENAMETOOLONG regression case.
  • Bump pinned Claude Code CLI version to 2.1.141 and refresh various workflow lockfiles / golden test fixtures accordingly.
Show a summary per file
File Description
actions/setup/js/claude_harness.cjs Inserts -- before the resolved prompt content; updates log-safe arg redaction.
actions/setup/js/claude_harness.test.cjs Updates existing tests and adds regression coverage for --mcp-config + long prompt.
pkg/constants/version_constants.go Bumps default Claude Code CLI version to 2.1.141.
pkg/workflow/testdata/TestWasmGolden_CompileFixtures/basic-copilot.golden Updates compiled fixture output (includes DOCKER_HOST conditional change).
pkg/workflow/testdata/TestWasmGolden_CompileFixtures/playwright-cli-mode.golden Updates compiled fixture output (includes DOCKER_HOST conditional change).
pkg/workflow/testdata/TestWasmGolden_CompileFixtures/smoke-copilot.golden Updates compiled fixture output (includes DOCKER_HOST conditional change).
pkg/workflow/testdata/TestWasmGolden_CompileFixtures/with-imports.golden Updates compiled fixture output (includes DOCKER_HOST conditional change).
.github/workflows/unbloat-docs.lock.yml Updates pinned Claude Code version/env metadata to 2.1.141.
.github/workflows/typist.lock.yml Updates pinned Claude Code version/env metadata to 2.1.141.
.github/workflows/test-create-pr-error-handling.lock.yml Updates pinned Claude Code version/env metadata to 2.1.141.
.github/workflows/step-name-alignment.lock.yml Updates pinned Claude Code version/env metadata to 2.1.141.
.github/workflows/static-analysis-report.lock.yml Updates pinned Claude Code version/env metadata to 2.1.141.
.github/workflows/spec-enforcer.lock.yml Updates pinned Claude Code version/env metadata to 2.1.141.
.github/workflows/smoke-claude.lock.yml Updates pinned Claude Code version/env metadata to 2.1.141.
.github/workflows/smoke-agent-scoped-approved.lock.yml Updates pinned Claude Code version/env metadata to 2.1.141.
.github/workflows/smoke-agent-public-none.lock.yml Updates pinned Claude Code version/env metadata to 2.1.141.
.github/workflows/smoke-agent-public-approved.lock.yml Updates pinned Claude Code version/env metadata to 2.1.141.
.github/workflows/smoke-agent-all-none.lock.yml Updates pinned Claude Code version/env metadata to 2.1.141.
.github/workflows/smoke-agent-all-merged.lock.yml Updates pinned Claude Code version/env metadata to 2.1.141.
.github/workflows/sergo.lock.yml Updates pinned Claude Code version/env metadata to 2.1.141.
.github/workflows/semantic-function-refactor.lock.yml Updates pinned Claude Code version/env metadata to 2.1.141.
.github/workflows/scout.lock.yml Updates pinned Claude Code version/env metadata to 2.1.141.
.github/workflows/schema-consistency-checker.lock.yml Updates pinned Claude Code version/env metadata to 2.1.141.
.github/workflows/safe-output-health.lock.yml Updates pinned Claude Code version/env metadata to 2.1.141.
.github/workflows/prompt-clustering-analysis.lock.yml Updates pinned Claude Code version/env metadata to 2.1.141.
.github/workflows/lockfile-stats.lock.yml Updates pinned Claude Code version/env metadata to 2.1.141.
.github/workflows/instructions-janitor.lock.yml Updates pinned Claude Code version/env metadata to 2.1.141.
.github/workflows/hourly-ci-cleaner.lock.yml Updates pinned Claude Code version/env metadata to 2.1.141.
.github/workflows/go-pattern-detector.lock.yml Updates pinned Claude Code version/env metadata to 2.1.141.
.github/workflows/go-logger.lock.yml Updates pinned Claude Code version/env metadata to 2.1.141.
.github/workflows/go-fan.lock.yml Updates pinned Claude Code version/env metadata to 2.1.141.
.github/workflows/github-mcp-tools-report.lock.yml Updates pinned Claude Code version/env metadata to 2.1.141.
.github/workflows/github-mcp-structural-analysis.lock.yml Updates pinned Claude Code version/env metadata to 2.1.141.
.github/workflows/example-workflow-analyzer.lock.yml Updates pinned Claude Code version/env metadata to 2.1.141.
.github/workflows/developer-docs-consolidator.lock.yml Updates pinned Claude Code version/env metadata to 2.1.141.
.github/workflows/design-decision-gate.lock.yml Updates pinned Claude Code version/env metadata to 2.1.141.
.github/workflows/deep-report.lock.yml Updates pinned Claude Code version/env metadata to 2.1.141.
.github/workflows/daily-token-consumption-report.lock.yml Updates pinned Claude Code version/env metadata to 2.1.141.
.github/workflows/daily-team-evolution-insights.lock.yml Updates pinned Claude Code version/env metadata to 2.1.141.
.github/workflows/daily-subagent-optimizer.lock.yml Updates pinned Claude Code version/env metadata to 2.1.141.
.github/workflows/daily-security-red-team.lock.yml Updates pinned Claude Code version/env metadata to 2.1.141.
.github/workflows/daily-safe-outputs-conformance.lock.yml Updates pinned Claude Code version/env metadata to 2.1.141.
.github/workflows/daily-safe-output-optimizer.lock.yml Updates pinned Claude Code version/env metadata to 2.1.141.
.github/workflows/daily-rendering-scripts-verifier.lock.yml Updates pinned Claude Code version/env metadata to 2.1.141.
.github/workflows/daily-otel-instrumentation-advisor.lock.yml Updates pinned Claude Code version/env metadata to 2.1.141.
.github/workflows/daily-multi-device-docs-tester.lock.yml Updates pinned Claude Code version/env metadata to 2.1.141.
.github/workflows/daily-grafana-otel-instrumentation-advisor.lock.yml Updates pinned Claude Code version/env metadata to 2.1.141.
.github/workflows/daily-function-namer.lock.yml Updates pinned Claude Code version/env metadata to 2.1.141.
.github/workflows/daily-doc-updater.lock.yml Updates pinned Claude Code version/env metadata to 2.1.141.
.github/workflows/daily-doc-healer.lock.yml Updates pinned Claude Code version/env metadata to 2.1.141.
.github/workflows/daily-choice-test.lock.yml Updates pinned Claude Code version/env metadata to 2.1.141.
.github/workflows/daily-caveman-optimizer.lock.yml Updates pinned Claude Code version/env metadata to 2.1.141.
.github/workflows/daily-aw-cross-repo-compile-check.lock.yml Updates pinned Claude Code version/env metadata to 2.1.141.
.github/workflows/daily-astrostylelite-markdown-spellcheck.lock.yml Updates pinned Claude Code version/env metadata to 2.1.141.
.github/workflows/daily-agentrx-trace-optimizer.lock.yml Updates pinned Claude Code version/env metadata to 2.1.141.
.github/workflows/copilot-agent-analysis.lock.yml Updates pinned Claude Code version/env metadata to 2.1.141.
.github/workflows/commit-changes-analyzer.lock.yml Updates pinned Claude Code version/env metadata to 2.1.141.
.github/workflows/cloclo.lock.yml Updates pinned Claude Code version/env metadata to 2.1.141.
.github/workflows/cli-version-checker.lock.yml Updates pinned Claude Code version/env metadata to 2.1.141.
.github/workflows/claude-code-user-docs-review.lock.yml Updates pinned Claude Code version/env metadata to 2.1.141.
.github/workflows/ci-doctor.lock.yml Updates pinned Claude Code version/env metadata to 2.1.141.
.github/workflows/blog-auditor.lock.yml Updates pinned Claude Code version/env metadata to 2.1.141.
.github/workflows/aw-failure-investigator.lock.yml Updates pinned Claude Code version/env metadata to 2.1.141.
.github/workflows/audit-workflows.lock.yml Updates pinned Claude Code version/env metadata to 2.1.141.
.github/workflows/approach-validator.lock.yml Updates pinned Claude Code version/env metadata to 2.1.141.
.github/workflows/api-consumption-report.lock.yml Updates pinned Claude Code version/env metadata to 2.1.141.

Copilot's findings

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 69/69 changed files
  • Comments generated: 2

Comment on lines +360 to +365
// Safe arg list for logging: when --prompt-file was present, the last two elements of
// initialArgs are the -- end-of-options marker and the resolved prompt content.
// Strip both and replace with a placeholder so task instructions are never written
// to stderr or captured in agent logs.
const safeInitialArgs = hadPromptFile && initialArgs.length > 0 ? [...initialArgs.slice(0, -2), "<prompt omitted>"] : initialArgs;
const safeFreshRetryArgs = hadPromptFile && freshRetryArgs.length > 0 ? [...freshRetryArgs.slice(0, -2), "<prompt omitted>"] : freshRetryArgs;
Comment on lines 34 to 36
// DefaultClaudeCodeVersion is the default version of the Claude Code CLI.
const DefaultClaudeCodeVersion Version = "2.1.133"
const DefaultClaudeCodeVersion Version = "2.1.141"

@pelikhan pelikhan merged commit c6a0ae7 into main May 14, 2026
@pelikhan pelikhan deleted the copilot/aw-fix-github-mcp-structural-analysis branch May 14, 2026 14:02
@github-actions
Copy link
Copy Markdown
Contributor

Smoke Codex 25863982671: FAIL
PRs: #32100 fix: honor GH_AW_WORKFLOWS_DIR in GetWorkflowDir() and eliminate 27 hardcoded literals; #32070 Fix safe output bundle fetch for checked-out PR branches
✅ GitHub MCP, Serena, Playwright, file write, bash cat, build, cache memory, set issue field
❌ Web Fetch MCP unavailable; comment-memory files absent
Run: https://github.com/github/gh-aw/actions/runs/25863982671

Warning

Firewall blocked 6 domains

The following domains were blocked by the firewall during workflow execution:

  • accounts.google.com
  • android.clients.google.com
  • clients2.google.com
  • contentautofill.googleapis.com
  • safebrowsingohttpgateway.googleapis.com
  • www.google.com

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "accounts.google.com"
    - "android.clients.google.com"
    - "clients2.google.com"
    - "contentautofill.googleapis.com"
    - "safebrowsingohttpgateway.googleapis.com"
    - "www.google.com"

See Network Configuration for more information.

🔮 The oracle has spoken through Smoke Codex ·

@github-actions
Copy link
Copy Markdown
Contributor

🤖 The smoke test agent was here! Beep boop. Just passing through to verify all systems are operational. Nothing to see here... except that everything is working perfectly! 🎉

Warning

Firewall blocked 6 domains

The following domains were blocked by the firewall during workflow execution:

  • accounts.google.com
  • android.clients.google.com
  • clients2.google.com
  • contentautofill.googleapis.com
  • safebrowsingohttpgateway.googleapis.com
  • www.google.com

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "accounts.google.com"
    - "android.clients.google.com"
    - "clients2.google.com"
    - "contentautofill.googleapis.com"
    - "safebrowsingohttpgateway.googleapis.com"
    - "www.google.com"

See Network Configuration for more information.

📰 BREAKING: Report filed by Smoke Copilot · ● 14.7M ·

@github-actions
Copy link
Copy Markdown
Contributor

🤖 Smoke test PASS for run §25863982738

Test Status
GitHub MCP
MCP Scripts GH CLI
Serena CLI
Playwright
Web Fetch
File Writing
Bash Tool
Discussion Interaction
Build gh-aw
Upload Artifact
Discussion Creation
Workflow Dispatch
PR Review
Comment Memory ⚠️ skipped
Sub-Agent

Overall: ✅ PASS — PR: fix: insert -- end-of-options separator before prompt to prevent ENAMETOOLONG
Author: @app/copilot-swe-agent | Assignees: @pelikhan, @Copilot

Warning

Firewall blocked 6 domains

The following domains were blocked by the firewall during workflow execution:

  • accounts.google.com
  • android.clients.google.com
  • clients2.google.com
  • contentautofill.googleapis.com
  • safebrowsingohttpgateway.googleapis.com
  • www.google.com

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "accounts.google.com"
    - "android.clients.google.com"
    - "clients2.google.com"
    - "contentautofill.googleapis.com"
    - "safebrowsingohttpgateway.googleapis.com"
    - "www.google.com"

See Network Configuration for more information.

📰 BREAKING: Report filed by Smoke Copilot · ● 14.7M ·

Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Smoke test review: This PR bumps DefaultClaudeCodeVersion from 2.1.133 to 2.1.141 and regenerates golden/lock files. Changes look consistent and mechanical. No logic issues found.

Warning

Firewall blocked 6 domains

The following domains were blocked by the firewall during workflow execution:

  • accounts.google.com
  • android.clients.google.com
  • clients2.google.com
  • contentautofill.googleapis.com
  • safebrowsingohttpgateway.googleapis.com
  • www.google.com

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "accounts.google.com"
    - "android.clients.google.com"
    - "clients2.google.com"
    - "contentautofill.googleapis.com"
    - "safebrowsingohttpgateway.googleapis.com"
    - "www.google.com"

See Network Configuration for more information.

📰 BREAKING: Report filed by Smoke Copilot · ● 14.7M


// DefaultClaudeCodeVersion is the default version of the Claude Code CLI.
const DefaultClaudeCodeVersion Version = "2.1.133"
const DefaultClaudeCodeVersion Version = "2.1.141"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Version bump from 2.1.133 to 2.1.141 — straightforward constant update. Make sure the corresponding golden files and lock files are regenerated consistently (which this PR appears to do). Consider adding a comment in the code or changelog to track why version bumps happen, for easier audit trails.

@github-actions
Copy link
Copy Markdown
Contributor

📰 DEVELOPING STORY: Smoke Copilot reports failed to deliver outputs. Our correspondents are investigating the incident...

@github-actions
Copy link
Copy Markdown
Contributor

Smoke Test: Claude — Run 25863982829

Core (#1#12): ✅ all green
PR review (#13#18): ✅ all green | #19 ⚠️ skipped

Overall: PASS

Warning

Firewall blocked 6 domains

The following domains were blocked by the firewall during workflow execution:

  • accounts.google.com
  • android.clients.google.com
  • clients2.google.com
  • contentautofill.googleapis.com
  • safebrowsingohttpgateway.googleapis.com
  • www.google.com

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "accounts.google.com"
    - "android.clients.google.com"
    - "clients2.google.com"
    - "contentautofill.googleapis.com"
    - "safebrowsingohttpgateway.googleapis.com"
    - "www.google.com"

See Network Configuration for more information.

💥 [THE END] — Illustrated by Smoke Claude · ● 9.4M ·

Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💥 Automated smoke test review - all systems nominal!

Warning

Firewall blocked 6 domains

The following domains were blocked by the firewall during workflow execution:

  • accounts.google.com
  • android.clients.google.com
  • clients2.google.com
  • contentautofill.googleapis.com
  • safebrowsingohttpgateway.googleapis.com
  • www.google.com

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "accounts.google.com"
    - "android.clients.google.com"
    - "clients2.google.com"
    - "contentautofill.googleapis.com"
    - "safebrowsingohttpgateway.googleapis.com"
    - "www.google.com"

See Network Configuration for more information.

💥 [THE END] — Illustrated by Smoke Claude · ● 9.4M

"gh-aw": patch
---

Fix prompt handling in `resolveClaudePromptFileArgs` by inserting `--` before the prompt content so Claude Code does not misinterpret the prompt as an additional `--mcp-config` path and fail with `ENAMETOOLONG`.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice and clear changeset entry — the explanation of why -- is needed (preventing ENAMETOOLONG from prompt being parsed as --mcp-config) makes future debugging much easier. 👍


// DefaultClaudeCodeVersion is the default version of the Claude Code CLI.
const DefaultClaudeCodeVersion Version = "2.1.133"
const DefaultClaudeCodeVersion Version = "2.1.141"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Version bump to 2.1.141 looks good. Consider adding a brief note in the changeset (or PR description) listing the Claude Code upstream changes pulled in — helps reviewers correlate behavior changes to specific upstream versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[aw] GitHub MCP Structural Analysis failed

3 participants