fix: prevent duplicate empty args in generated completions #441
ci.yml
on: pull_request
Lint and Type Check
21s
Benchmarks
24s
Matrix: Tests
Annotations
7 errors and 6 warnings
|
Tests (ubuntu-latest)
Process completed with exit code 1.
|
|
tests/shell-empty-argv.test.ts > generated shell argv protocol > PowerShell sends exactly one empty arg for root empty completion:
tests/shell-empty-argv.test.ts#L184
Error: No argv capture found at /tmp/tab-shell-empty-argv-Ih91XR/captured-argv.jsonl. The generated completer probably did not invoke the fake backend.
❯ readLastCapturedArgs tests/shell-empty-argv.test.ts:184:11
❯ assertPowerShellCase tests/shell-empty-argv.test.ts:357:24
❯ tests/shell-empty-argv.test.ts:423:9
❯ withFixture tests/shell-empty-argv.test.ts:209:5
❯ tests/shell-empty-argv.test.ts:421:5
Caused by: Caused by: Error: ENOENT: no such file or directory, open '/tmp/tab-shell-empty-argv-Ih91XR/captured-argv.jsonl'
❯ readLastCapturedArgs tests/shell-empty-argv.test.ts:182:15
❯ assertPowerShellCase tests/shell-empty-argv.test.ts:357:24
❯ tests/shell-empty-argv.test.ts:423:9
❯ withFixture tests/shell-empty-argv.test.ts:209:5
❯ tests/shell-empty-argv.test.ts:421:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'open', path: '/tmp/tab-shell-empty-argv-Ih91XR/captured-argv.jsonl' }
|
|
Tests (macos-latest)
The strategy configuration was canceled because "test.ubuntu-latest" failed
|
|
Tests (macos-latest)
Process completed with exit code 1.
|
|
tests/shell-empty-argv.test.ts > generated shell argv protocol > PowerShell sends exactly one empty arg for root empty completion:
tests/shell-empty-argv.test.ts#L184
Error: No argv capture found at /var/folders/bh/cdl3cft92_dbvg852_fp7y7w0000gn/T/tab-shell-empty-argv-yUIhGU/captured-argv.jsonl. The generated completer probably did not invoke the fake backend.
❯ readLastCapturedArgs tests/shell-empty-argv.test.ts:184:11
❯ assertPowerShellCase tests/shell-empty-argv.test.ts:357:24
❯ tests/shell-empty-argv.test.ts:423:9
❯ withFixture tests/shell-empty-argv.test.ts:209:5
❯ tests/shell-empty-argv.test.ts:421:5
Caused by: Caused by: Error: ENOENT: no such file or directory, open '/var/folders/bh/cdl3cft92_dbvg852_fp7y7w0000gn/T/tab-shell-empty-argv-yUIhGU/captured-argv.jsonl'
❯ readLastCapturedArgs tests/shell-empty-argv.test.ts:182:15
❯ assertPowerShellCase tests/shell-empty-argv.test.ts:357:24
❯ tests/shell-empty-argv.test.ts:423:9
❯ withFixture tests/shell-empty-argv.test.ts:209:5
❯ tests/shell-empty-argv.test.ts:421:5
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { errno: -2, code: 'ENOENT', syscall: 'open', path: '/var/folders/bh/cdl3cft92_dbvg852_fp7y7w0000gn/T/tab-shell-empty-argv-yUIhGU/captured-argv.jsonl' }
|
|
Tests (windows-latest)
The strategy configuration was canceled because "test.ubuntu-latest" failed
|
|
Tests (windows-latest)
The operation was canceled.
|
|
Lint and Type Check
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4, pnpm/action-setup@v4.0.0. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Lint and Type Check:
src/commander.ts#L2
Imports "TabCommand" and "OptionHandler" are only used as type
|
|
Benchmarks
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4, pnpm/action-setup@v4.0.0. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Tests (ubuntu-latest)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4, pnpm/action-setup@v4.0.0. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Tests (macos-latest)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4, pnpm/action-setup@v4.0.0. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Tests (windows-latest)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4, pnpm/action-setup@v4.0.0. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|