Bump to v1.2.0 #99
ci.yml
on: push
Run CI Pipeline
/
...
/
Run Lint Check
15s
Run CI Pipeline
/
...
/
Run Type Check
21s
Matrix: Run CI Pipeline / 🧪 Test Matrix / test-matrix
Annotations
30 errors
|
test/dlx-binary.test.ts > dlx-binary > listDlxCache > should handle metadata with missing fields:
test/dlx-binary.test.ts#L924
AssertionError: expected 2 to be 1 // Object.is equality
- Expected
+ Received
- 1
+ 2
❯ test/dlx-binary.test.ts:924:31
❯ runWithTempDir test/utils/temp-file-helper.mts:54:5
❯ test/dlx-binary.test.ts:904:7
|
|
test/dlx-binary.test.ts > dlx-binary > listDlxCache > should skip entries without binary file:
test/dlx-binary.test.ts#L896
AssertionError: expected [ { age: 74, arch: 'x64', …(5) } ] to deeply equal []
- Expected
+ Received
- []
+ [
+ {
+ "age": 74,
+ "arch": "x64",
+ "checksum": "5d903daa1fb1ef7bee7e949c53582d7f8923db18b160f4ac1f8257b330f79150",
+ "name": "default-ttl-binary",
+ "platform": "win32",
+ "size": 30,
+ "url": "http://localhost:50612/binary",
+ },
+ ]
❯ test/dlx-binary.test.ts:896:24
❯ runWithTempDir test/utils/temp-file-helper.mts:54:5
❯ test/dlx-binary.test.ts:873:7
|
|
test/dlx-binary.test.ts > dlx-binary > listDlxCache > should skip entries with array metadata:
test/dlx-binary.test.ts#L865
AssertionError: expected [ { age: 61, arch: 'x64', …(5) } ] to deeply equal []
- Expected
+ Received
- []
+ [
+ {
+ "age": 61,
+ "arch": "x64",
+ "checksum": "5d903daa1fb1ef7bee7e949c53582d7f8923db18b160f4ac1f8257b330f79150",
+ "name": "default-ttl-binary",
+ "platform": "win32",
+ "size": 30,
+ "url": "http://localhost:50612/binary",
+ },
+ ]
❯ test/dlx-binary.test.ts:865:24
❯ runWithTempDir test/utils/temp-file-helper.mts:54:5
❯ test/dlx-binary.test.ts:848:7
|
|
test/dlx-binary.test.ts > dlx-binary > listDlxCache > should skip entries with invalid metadata:
test/dlx-binary.test.ts#L840
AssertionError: expected [ { age: 52, arch: 'x64', …(5) } ] to deeply equal []
- Expected
+ Received
- []
+ [
+ {
+ "age": 52,
+ "arch": "x64",
+ "checksum": "5d903daa1fb1ef7bee7e949c53582d7f8923db18b160f4ac1f8257b330f79150",
+ "name": "default-ttl-binary",
+ "platform": "win32",
+ "size": 30,
+ "url": "http://localhost:50612/binary",
+ },
+ ]
❯ test/dlx-binary.test.ts:840:24
❯ runWithTempDir test/utils/temp-file-helper.mts:54:5
❯ test/dlx-binary.test.ts:823:7
|
|
test/dlx-binary.test.ts > dlx-binary > listDlxCache > should skip non-directory entries:
test/dlx-binary.test.ts#L815
AssertionError: expected [ { age: 42, arch: 'x64', …(5) } ] to deeply equal []
- Expected
+ Received
- []
+ [
+ {
+ "age": 42,
+ "arch": "x64",
+ "checksum": "5d903daa1fb1ef7bee7e949c53582d7f8923db18b160f4ac1f8257b330f79150",
+ "name": "default-ttl-binary",
+ "platform": "win32",
+ "size": 30,
+ "url": "http://localhost:50612/binary",
+ },
+ ]
❯ test/dlx-binary.test.ts:815:24
❯ runWithTempDir test/utils/temp-file-helper.mts:54:5
❯ test/dlx-binary.test.ts:803:7
|
|
test/dlx-binary.test.ts > dlx-binary > listDlxCache > should list cached binaries:
test/dlx-binary.test.ts#L789
AssertionError: expected 'default-ttl-binary' to be 'list-binary' // Object.is equality
Expected: "list-binary"
Received: "default-ttl-binary"
❯ test/dlx-binary.test.ts:789:30
❯ runWithTempDir test/utils/temp-file-helper.mts:54:5
❯ test/dlx-binary.test.ts:771:7
|
|
test/dlx-binary.test.ts > dlx-binary > listDlxCache > should return empty array if cache directory does not exist:
test/dlx-binary.test.ts#L763
AssertionError: expected [ { age: 13, arch: 'x64', …(5) } ] to deeply equal []
- Expected
+ Received
- []
+ [
+ {
+ "age": 13,
+ "arch": "x64",
+ "checksum": "5d903daa1fb1ef7bee7e949c53582d7f8923db18b160f4ac1f8257b330f79150",
+ "name": "default-ttl-binary",
+ "platform": "win32",
+ "size": 30,
+ "url": "http://localhost:50612/binary",
+ },
+ ]
❯ test/dlx-binary.test.ts:763:24
❯ runWithTempDir test/utils/temp-file-helper.mts:54:5
❯ test/dlx-binary.test.ts:757:7
|
|
test/dlx-binary.test.ts > dlx-binary > cleanDlxCache > should skip entries with invalid metadata:
test/dlx-binary.test.ts#L634
AssertionError: expected 1 to be +0 // Object.is equality
- Expected
+ Received
- 0
+ 1
❯ test/dlx-binary.test.ts:634:27
❯ runWithTempDir test/utils/temp-file-helper.mts:54:5
❯ test/dlx-binary.test.ts:617:7
|
|
test/dlx-binary.test.ts > dlx-binary > dlxBinary > should use cached binary on second call:
test/dlx-binary.test.ts#L146
AssertionError: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ test/dlx-binary.test.ts:146:38
❯ runWithTempDir test/utils/temp-file-helper.mts:54:5
❯ test/dlx-binary.test.ts:134:7
|
|
test/agent.test.ts > agent > Integration tests (using real spawn) > execNpm argument transformation > should have a function that returns a promise:
test/agent.test.ts#L475
Error: spawn EINVAL
❯ promiseSpawn dist/external/@npmcli/promise-spawn.js:5:5186
❯ spawn src/spawn.ts:633:24
❯ execNpm src/agent.ts:112:10
❯ test/agent.test.ts:475:24
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { errno: -4071, code: 'EINVAL', syscall: 'spawn' }
|
|
test/dlx-binary.test.ts > dlx-binary > listDlxCache > should skip entries without binary file:
test/dlx-binary.test.ts#L896
AssertionError: expected [ { age: 66, arch: 'x64', …(5) } ] to deeply equal []
- Expected
+ Received
- []
+ [
+ {
+ "age": 66,
+ "arch": "x64",
+ "checksum": "5d903daa1fb1ef7bee7e949c53582d7f8923db18b160f4ac1f8257b330f79150",
+ "name": "default-ttl-binary",
+ "platform": "win32",
+ "size": 30,
+ "url": "http://localhost:59274/binary",
+ },
+ ]
❯ test/dlx-binary.test.ts:896:24
❯ runWithTempDir test/utils/temp-file-helper.mts:54:5
❯ test/dlx-binary.test.ts:873:7
|
|
test/dlx-binary.test.ts > dlx-binary > listDlxCache > should skip entries with array metadata:
test/dlx-binary.test.ts#L865
AssertionError: expected [ { age: 58, arch: 'x64', …(5) } ] to deeply equal []
- Expected
+ Received
- []
+ [
+ {
+ "age": 58,
+ "arch": "x64",
+ "checksum": "5d903daa1fb1ef7bee7e949c53582d7f8923db18b160f4ac1f8257b330f79150",
+ "name": "default-ttl-binary",
+ "platform": "win32",
+ "size": 30,
+ "url": "http://localhost:59274/binary",
+ },
+ ]
❯ test/dlx-binary.test.ts:865:24
❯ runWithTempDir test/utils/temp-file-helper.mts:54:5
❯ test/dlx-binary.test.ts:848:7
|
|
test/dlx-binary.test.ts > dlx-binary > listDlxCache > should skip entries with invalid metadata:
test/dlx-binary.test.ts#L840
AssertionError: expected [ { age: 49, arch: 'x64', …(5) } ] to deeply equal []
- Expected
+ Received
- []
+ [
+ {
+ "age": 49,
+ "arch": "x64",
+ "checksum": "5d903daa1fb1ef7bee7e949c53582d7f8923db18b160f4ac1f8257b330f79150",
+ "name": "default-ttl-binary",
+ "platform": "win32",
+ "size": 30,
+ "url": "http://localhost:59274/binary",
+ },
+ ]
❯ test/dlx-binary.test.ts:840:24
❯ runWithTempDir test/utils/temp-file-helper.mts:54:5
❯ test/dlx-binary.test.ts:823:7
|
|
test/dlx-binary.test.ts > dlx-binary > listDlxCache > should skip non-directory entries:
test/dlx-binary.test.ts#L815
AssertionError: expected [ { age: 41, arch: 'x64', …(5) } ] to deeply equal []
- Expected
+ Received
- []
+ [
+ {
+ "age": 41,
+ "arch": "x64",
+ "checksum": "5d903daa1fb1ef7bee7e949c53582d7f8923db18b160f4ac1f8257b330f79150",
+ "name": "default-ttl-binary",
+ "platform": "win32",
+ "size": 30,
+ "url": "http://localhost:59274/binary",
+ },
+ ]
❯ test/dlx-binary.test.ts:815:24
❯ runWithTempDir test/utils/temp-file-helper.mts:54:5
❯ test/dlx-binary.test.ts:803:7
|
|
test/dlx-binary.test.ts > dlx-binary > listDlxCache > should list cached binaries:
test/dlx-binary.test.ts#L789
AssertionError: expected 'default-ttl-binary' to be 'list-binary' // Object.is equality
Expected: "list-binary"
Received: "default-ttl-binary"
❯ test/dlx-binary.test.ts:789:30
❯ runWithTempDir test/utils/temp-file-helper.mts:54:5
❯ test/dlx-binary.test.ts:771:7
|
|
test/dlx-binary.test.ts > dlx-binary > listDlxCache > should return empty array if cache directory does not exist:
test/dlx-binary.test.ts#L763
AssertionError: expected [ { age: 16, arch: 'x64', …(5) } ] to deeply equal []
- Expected
+ Received
- []
+ [
+ {
+ "age": 16,
+ "arch": "x64",
+ "checksum": "5d903daa1fb1ef7bee7e949c53582d7f8923db18b160f4ac1f8257b330f79150",
+ "name": "default-ttl-binary",
+ "platform": "win32",
+ "size": 30,
+ "url": "http://localhost:59274/binary",
+ },
+ ]
❯ test/dlx-binary.test.ts:763:24
❯ runWithTempDir test/utils/temp-file-helper.mts:54:5
❯ test/dlx-binary.test.ts:757:7
|
|
test/dlx-binary.test.ts > dlx-binary > cleanDlxCache > should skip entries with invalid metadata:
test/dlx-binary.test.ts#L634
AssertionError: expected 1 to be +0 // Object.is equality
- Expected
+ Received
- 0
+ 1
❯ test/dlx-binary.test.ts:634:27
❯ runWithTempDir test/utils/temp-file-helper.mts:54:5
❯ test/dlx-binary.test.ts:617:7
|
|
test/dlx-binary.test.ts > dlx-binary > dlxBinary > should use custom cacheTtl:
test/dlx-binary.test.ts#L341
AssertionError: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ test/dlx-binary.test.ts:341:37
❯ runWithTempDir test/utils/temp-file-helper.mts:54:5
❯ test/dlx-binary.test.ts:327:7
|
|
test/dlx-binary.test.ts > dlx-binary > dlxBinary > should use cached binary on second call:
test/dlx-binary.test.ts#L146
AssertionError: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ test/dlx-binary.test.ts:146:38
❯ runWithTempDir test/utils/temp-file-helper.mts:54:5
❯ test/dlx-binary.test.ts:134:7
|
|
test/agent.test.ts > agent > Integration tests (using real spawn) > execNpm argument transformation > should have a function that returns a promise:
test/agent.test.ts#L475
Error: spawn EINVAL
❯ promiseSpawn dist/external/@npmcli/promise-spawn.js:5:5186
❯ spawn src/spawn.ts:633:24
❯ execNpm src/agent.ts:112:10
❯ test/agent.test.ts:475:24
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { errno: -4071, code: 'EINVAL', syscall: 'spawn' }
|
|
test/dlx-binary.test.ts > dlx-binary > listDlxCache > should skip entries without binary file:
test/dlx-binary.test.ts#L896
AssertionError: expected [ { age: 65, arch: 'x64', …(5) } ] to deeply equal []
- Expected
+ Received
- []
+ [
+ {
+ "age": 65,
+ "arch": "x64",
+ "checksum": "5d903daa1fb1ef7bee7e949c53582d7f8923db18b160f4ac1f8257b330f79150",
+ "name": "default-ttl-binary",
+ "platform": "win32",
+ "size": 30,
+ "url": "http://localhost:58605/binary",
+ },
+ ]
❯ test/dlx-binary.test.ts:896:24
❯ runWithTempDir test/utils/temp-file-helper.mts:54:5
❯ test/dlx-binary.test.ts:873:7
|
|
test/dlx-binary.test.ts > dlx-binary > listDlxCache > should skip entries with array metadata:
test/dlx-binary.test.ts#L865
AssertionError: expected [ { age: 53, arch: 'x64', …(5) } ] to deeply equal []
- Expected
+ Received
- []
+ [
+ {
+ "age": 53,
+ "arch": "x64",
+ "checksum": "5d903daa1fb1ef7bee7e949c53582d7f8923db18b160f4ac1f8257b330f79150",
+ "name": "default-ttl-binary",
+ "platform": "win32",
+ "size": 30,
+ "url": "http://localhost:58605/binary",
+ },
+ ]
❯ test/dlx-binary.test.ts:865:24
❯ runWithTempDir test/utils/temp-file-helper.mts:54:5
❯ test/dlx-binary.test.ts:848:7
|
|
test/dlx-binary.test.ts > dlx-binary > listDlxCache > should skip entries with invalid metadata:
test/dlx-binary.test.ts#L840
AssertionError: expected [ { age: 42, arch: 'x64', …(5) } ] to deeply equal []
- Expected
+ Received
- []
+ [
+ {
+ "age": 42,
+ "arch": "x64",
+ "checksum": "5d903daa1fb1ef7bee7e949c53582d7f8923db18b160f4ac1f8257b330f79150",
+ "name": "default-ttl-binary",
+ "platform": "win32",
+ "size": 30,
+ "url": "http://localhost:58605/binary",
+ },
+ ]
❯ test/dlx-binary.test.ts:840:24
❯ runWithTempDir test/utils/temp-file-helper.mts:54:5
❯ test/dlx-binary.test.ts:823:7
|
|
test/dlx-binary.test.ts > dlx-binary > listDlxCache > should skip non-directory entries:
test/dlx-binary.test.ts#L815
AssertionError: expected [ { age: 33, arch: 'x64', …(5) } ] to deeply equal []
- Expected
+ Received
- []
+ [
+ {
+ "age": 33,
+ "arch": "x64",
+ "checksum": "5d903daa1fb1ef7bee7e949c53582d7f8923db18b160f4ac1f8257b330f79150",
+ "name": "default-ttl-binary",
+ "platform": "win32",
+ "size": 30,
+ "url": "http://localhost:58605/binary",
+ },
+ ]
❯ test/dlx-binary.test.ts:815:24
❯ runWithTempDir test/utils/temp-file-helper.mts:54:5
❯ test/dlx-binary.test.ts:803:7
|
|
test/dlx-binary.test.ts > dlx-binary > listDlxCache > should list cached binaries:
test/dlx-binary.test.ts#L789
AssertionError: expected 'default-ttl-binary' to be 'list-binary' // Object.is equality
Expected: "list-binary"
Received: "default-ttl-binary"
❯ test/dlx-binary.test.ts:789:30
❯ runWithTempDir test/utils/temp-file-helper.mts:54:5
❯ test/dlx-binary.test.ts:771:7
|
|
test/dlx-binary.test.ts > dlx-binary > listDlxCache > should return empty array if cache directory does not exist:
test/dlx-binary.test.ts#L763
AssertionError: expected [ { age: 11, arch: 'x64', …(5) } ] to deeply equal []
- Expected
+ Received
- []
+ [
+ {
+ "age": 11,
+ "arch": "x64",
+ "checksum": "5d903daa1fb1ef7bee7e949c53582d7f8923db18b160f4ac1f8257b330f79150",
+ "name": "default-ttl-binary",
+ "platform": "win32",
+ "size": 30,
+ "url": "http://localhost:58605/binary",
+ },
+ ]
❯ test/dlx-binary.test.ts:763:24
❯ runWithTempDir test/utils/temp-file-helper.mts:54:5
❯ test/dlx-binary.test.ts:757:7
|
|
test/dlx-binary.test.ts > dlx-binary > cleanDlxCache > should skip entries with invalid metadata:
test/dlx-binary.test.ts#L634
AssertionError: expected 1 to be +0 // Object.is equality
- Expected
+ Received
- 0
+ 1
❯ test/dlx-binary.test.ts:634:27
❯ runWithTempDir test/utils/temp-file-helper.mts:54:5
❯ test/dlx-binary.test.ts:617:7
|
|
test/dlx-binary.test.ts > dlx-binary > dlxBinary > should use custom cacheTtl:
test/dlx-binary.test.ts#L341
AssertionError: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ test/dlx-binary.test.ts:341:37
❯ runWithTempDir test/utils/temp-file-helper.mts:54:5
❯ test/dlx-binary.test.ts:327:7
|
|
test/dlx-binary.test.ts > dlx-binary > dlxBinary > should use cached binary on second call:
test/dlx-binary.test.ts#L146
AssertionError: expected false to be true // Object.is equality
- Expected
+ Received
- true
+ false
❯ test/dlx-binary.test.ts:146:38
❯ runWithTempDir test/utils/temp-file-helper.mts:54:5
❯ test/dlx-binary.test.ts:134:7
|
|
test/agent.test.ts > agent > Integration tests (using real spawn) > execNpm argument transformation > should have a function that returns a promise:
test/agent.test.ts#L475
Error: spawn EINVAL
❯ promiseSpawn dist/external/@npmcli/promise-spawn.js:5:5186
❯ spawn src/spawn.ts:633:24
❯ execNpm src/agent.ts:112:10
❯ test/agent.test.ts:475:24
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { errno: -4071, code: 'EINVAL', syscall: 'spawn' }
|