Skip to content

scripts: affected-tests.sh --run hangs on check-changed-skills.test.sh on Windows Git Bash #3797

Description

@kyle-sexton

Summary

scripts/affected-tests.sh --run hangs on this Windows host when it reaches scripts/check-changed-skills.test.sh. Observed three times across the claude-ops plugin-sync work (PRs #3744, #3748, #3760, #3775): once at about 50 minutes, once at about 4 hours, once left indefinitely. No output after the suite name is printed; the process had to be killed by hand. The same suite passes in CI on every one of those PRs.

Steps to reproduce

  1. Windows 11 Pro, Git Bash, Claude Code 2.1.261 to 2.1.263, a worktree of this repo with a claude-ops skill change staged.
  2. Run scripts/affected-tests.sh --run.
  3. Wait for scripts/check-changed-skills.test.sh to start.

Expected vs actual

  • Expected: the suite finishes with a pass or fail line and the runner moves on.
  • Actual: no further output, no CPU activity worth noting, the runner never returns.

Severity

Medium. It blocks the documented local validator on this host; the workaround is to run only the touched suites directly and treat CI as the statement of record. Not reproduced on Linux CI.

Suggested fix location

scripts/check-changed-skills.test.sh or whatever it shells out to that waits on stdin or a lock. Nothing was captured beyond the hang itself, so a first step is a per-case timeout or set -x trace inside that suite to name the blocking call.

Environment

Windows 11 Pro 10.0.26200, Git Bash, Claude Code 2.1.261 and 2.1.263.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent-readyFully specified and briefed; eligible for autonomous pickup from the frontier.priority: mediumReal value, no hard deadline; normal backlog flow.status: readyTriaged, unblocked, and fully specified; eligible to pick up.work-class: scopedA briefed fix or small feature; blast radius bounded by the brief, tests exist.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions