Skip to content

tests: the #714 tarball-contents check fails on Windows Git Bash — GNU tar reads the C: drive prefix as a host #752

Description

@debugmcpdev

Summary

tests/e2e/npx/npx-smoke-python.test.ts › ships the agent skill and the pi manifest in the tarball (#714) fails on a Windows checkout whose shell puts GNU tar first on PATH (Git Bash: /usr/bin/tar, GNU tar 1.35). The test shells out to tar -tzf "C:\...\package-cache\<hash>.tgz", and GNU tar reads the C: drive prefix as a remote host:

tar (child): Cannot connect to C: resolve failed

Reproduced on main (651237a) and on both #750 and #751; it is the one failure in an otherwise green full vitest run (5634 / 5640 passed). CI (ubuntu) is unaffected.

What would help

Either pass --force-local (GNU tar's switch to stop treating host:path as remote), use a forward-slash / relative path, or list the tarball with a Node tar reader instead of shelling out. Any of the three makes the #714 assertion run on Windows.

Env: Windows 11 Pro, Node 22, Git Bash, GNU tar 1.35.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions