Skip to content

fix(hub): run .cmd/.bat shims in PTY sessions on Windows #1547

fix(hub): run .cmd/.bat shims in PTY sessions on Windows

fix(hub): run .cmd/.bat shims in PTY sessions on Windows #1547

Re-run triggered October 30, 2026 21:00
Status Failure
Total duration 6m 44s
Artifacts –

ci.yml

on: pull_request
Matrix: runtime
Matrix: unit-test / test
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 8 notices
unit-test / test (ubuntu-latest, 26)
Process completed with exit code 1.
[@devframes/hub] src/node/__tests__/pty-command.test.ts > resolvePtyCommand > skips the cwd when NoDefaultCurrentDirectoryInExePath is set: packages/hub/src/node/__tests__/pty-command.test.ts#L58
AssertionError: expected 'cmd.exe' to be 'node' // Object.is equality Expected: "node" Received: "cmd.exe" ❯ src/node/__tests__/pty-command.test.ts:58:104
[@devframes/hub] src/node/__tests__/pty-command.test.ts > resolvePtyCommand > escapes cmd metacharacters in bare arguments, twice for batch shims: packages/hub/src/node/__tests__/pty-command.test.ts#L48
AssertionError: expected [ '/d', '/c', 'pnpm', 'a^&b', '50^%' ] to deeply equal [ '/d', '/c', 'pnpm', 'a^^^&b', …(1) ] - Expected + Received [ "/d", "/c", "pnpm", - "a^^^&b", - "50^^^%", + "a^&b", + "50^%", ] ❯ src/node/__tests__/pty-command.test.ts:48:67
[@devframes/hub] src/node/__tests__/pty-command.test.ts > resolvePtyCommand > spawns real executables directly on win32: packages/hub/src/node/__tests__/pty-command.test.ts#L37
AssertionError: expected { …(2) } to deeply equal { command: 'node', args: [ '-v' ] } - Expected + Received { "args": [ + "/d", + "/c", + "node", "-v", ], - "command": "node", + "command": "C:\\Windows\\system32\\cmd.exe", } ❯ src/node/__tests__/pty-command.test.ts:37:54
unit-test / test (ubuntu-latest, 22)
Process completed with exit code 1.
[@devframes/hub] src/node/__tests__/pty-command.test.ts > resolvePtyCommand > skips the cwd when NoDefaultCurrentDirectoryInExePath is set: packages/hub/src/node/__tests__/pty-command.test.ts#L58
AssertionError: expected 'cmd.exe' to be 'node' // Object.is equality Expected: "node" Received: "cmd.exe" ❯ src/node/__tests__/pty-command.test.ts:58:104
[@devframes/hub] src/node/__tests__/pty-command.test.ts > resolvePtyCommand > escapes cmd metacharacters in bare arguments, twice for batch shims: packages/hub/src/node/__tests__/pty-command.test.ts#L48
AssertionError: expected [ '/d', '/c', 'pnpm', 'a^&b', '50^%' ] to deeply equal [ '/d', '/c', 'pnpm', 'a^^^&b', …(1) ] - Expected + Received [ "/d", "/c", "pnpm", - "a^^^&b", - "50^^^%", + "a^&b", + "50^%", ] ❯ src/node/__tests__/pty-command.test.ts:48:67
[@devframes/hub] src/node/__tests__/pty-command.test.ts > resolvePtyCommand > spawns real executables directly on win32: packages/hub/src/node/__tests__/pty-command.test.ts#L37
AssertionError: expected { …(2) } to deeply equal { command: 'node', args: [ '-v' ] } - Expected + Received { "args": [ + "/d", + "/c", + "node", "-v", ], - "command": "node", + "command": "C:\\Windows\\system32\\cmd.exe", } ❯ src/node/__tests__/pty-command.test.ts:37:54
unit-test / test (ubuntu-latest, 24)
Process completed with exit code 1.
[@devframes/hub] src/node/__tests__/pty-command.test.ts > resolvePtyCommand > skips the cwd when NoDefaultCurrentDirectoryInExePath is set: packages/hub/src/node/__tests__/pty-command.test.ts#L58
AssertionError: expected 'cmd.exe' to be 'node' // Object.is equality Expected: "node" Received: "cmd.exe" ❯ src/node/__tests__/pty-command.test.ts:58:104
[@devframes/hub] src/node/__tests__/pty-command.test.ts > resolvePtyCommand > escapes cmd metacharacters in bare arguments, twice for batch shims: packages/hub/src/node/__tests__/pty-command.test.ts#L48
AssertionError: expected [ '/d', '/c', 'pnpm', 'a^&b', '50^%' ] to deeply equal [ '/d', '/c', 'pnpm', 'a^^^&b', …(1) ] - Expected + Received [ "/d", "/c", "pnpm", - "a^^^&b", - "50^^^%", + "a^&b", + "50^%", ] ❯ src/node/__tests__/pty-command.test.ts:48:67
[@devframes/hub] src/node/__tests__/pty-command.test.ts > resolvePtyCommand > spawns real executables directly on win32: packages/hub/src/node/__tests__/pty-command.test.ts#L37
AssertionError: expected { …(2) } to deeply equal { command: 'node', args: [ '-v' ] } - Expected + Received { "args": [ + "/d", + "/c", + "node", "-v", ], - "command": "node", + "command": "C:\\Windows\\system32\\cmd.exe", } ❯ src/node/__tests__/pty-command.test.ts:37:54
runtime (bun)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
runtime (deno)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
unit-test / test (ubuntu-latest, 26)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
🎭 Playwright Run Summary
21 passed (19.9s)
e2e
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
unit-test / test (ubuntu-latest, 22)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
unit-test / test (ubuntu-latest, 24)
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"
unit-test / lint
"The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748"