ci(docs): weekly doc walkthrough has failed every run since 2026-09-14 (claude.cmd EINVAL)

Open Beginner friendly
#8,575 2 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
74/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
github-actions, node.js, yaml

Research direction

Start with .github/workflows/claude-weekly-doc-walkthrough.yml around line 273 and trace how the Windows runner resolves and passes the Claude executable to the action. Check how the native executable is provided by the installer or npm package, then remove the walkthrough from the schedule until the Windows failure is fixed. Done means the action uses a native executable and the weekly workflow no longer fails with claude.cmd EINVAL.

Written by the indexing model from the issue text.

Description

bug ci devops needs-human p2

The weekly documentation walkthrough hasn't completed once since 2026-09-14, so the doc breakage it is meant to catch has gone unchecked for two months. It fails on the Windows runner before Claude does any work.

It should call the native Claude executable, and come out of the rotation until that's fixed.

🔍 Technical details
  • Error: spawn ...\claude.cmd EINVAL. Since the Node.js fix for CVE-2024-27980, child_process.spawn refuses .cmd / .bat files without shell: true.
  • claude-weekly-doc-walkthrough.yml (around line 273) resolves claude.cmd under the npm prefix and passes it to the action.
  • Fix: point the action at the native claude.exe (native installer, or the platform binary inside the npm package) instead of the .cmd shim.
  • Until then, drop the walkthrough from the schedule so it stops burning Windows runner time and reporting a failure nobody acts on.
Dominant language
Python
Stars
1.6k
Forks
169
Avg merge
15h 4m
Merged PRs (30d)
847

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from amd/gaia

All issues in amd/gaia

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.