Bump to v1.2.0 #100
ci.yml
on: push
Run CI Pipeline
/
...
/
Run Lint Check
18s
Run CI Pipeline
/
...
/
Run Type Check
25s
Matrix: Run CI Pipeline / 🧪 Test Matrix / test-matrix
Annotations
30 errors
|
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:58833/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: 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:58833/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: 57, arch: 'x64', …(5) } ] to deeply equal []
- Expected
+ Received
- []
+ [
+ {
+ "age": 57,
+ "arch": "x64",
+ "checksum": "5d903daa1fb1ef7bee7e949c53582d7f8923db18b160f4ac1f8257b330f79150",
+ "name": "default-ttl-binary",
+ "platform": "win32",
+ "size": 30,
+ "url": "http://localhost:58833/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: 45, arch: 'x64', …(5) } ] to deeply equal []
- Expected
+ Received
- []
+ [
+ {
+ "age": 45,
+ "arch": "x64",
+ "checksum": "5d903daa1fb1ef7bee7e949c53582d7f8923db18b160f4ac1f8257b330f79150",
+ "name": "default-ttl-binary",
+ "platform": "win32",
+ "size": 30,
+ "url": "http://localhost:58833/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: 18, arch: 'x64', …(5) } ] to deeply equal []
- Expected
+ Received
- []
+ [
+ {
+ "age": 18,
+ "arch": "x64",
+ "checksum": "5d903daa1fb1ef7bee7e949c53582d7f8923db18b160f4ac1f8257b330f79150",
+ "name": "default-ttl-binary",
+ "platform": "win32",
+ "size": 30,
+ "url": "http://localhost:58833/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: 82, arch: 'x64', …(5) } ] to deeply equal []
- Expected
+ Received
- []
+ [
+ {
+ "age": 82,
+ "arch": "x64",
+ "checksum": "5d903daa1fb1ef7bee7e949c53582d7f8923db18b160f4ac1f8257b330f79150",
+ "name": "default-ttl-binary",
+ "platform": "win32",
+ "size": 30,
+ "url": "http://localhost:62358/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: 70, arch: 'x64', …(5) } ] to deeply equal []
- Expected
+ Received
- []
+ [
+ {
+ "age": 70,
+ "arch": "x64",
+ "checksum": "5d903daa1fb1ef7bee7e949c53582d7f8923db18b160f4ac1f8257b330f79150",
+ "name": "default-ttl-binary",
+ "platform": "win32",
+ "size": 30,
+ "url": "http://localhost:62358/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: 60, arch: 'x64', …(5) } ] to deeply equal []
- Expected
+ Received
- []
+ [
+ {
+ "age": 60,
+ "arch": "x64",
+ "checksum": "5d903daa1fb1ef7bee7e949c53582d7f8923db18b160f4ac1f8257b330f79150",
+ "name": "default-ttl-binary",
+ "platform": "win32",
+ "size": 30,
+ "url": "http://localhost:62358/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: 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:62358/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: 25, arch: 'x64', …(5) } ] to deeply equal []
- Expected
+ Received
- []
+ [
+ {
+ "age": 25,
+ "arch": "x64",
+ "checksum": "5d903daa1fb1ef7bee7e949c53582d7f8923db18b160f4ac1f8257b330f79150",
+ "name": "default-ttl-binary",
+ "platform": "win32",
+ "size": 30,
+ "url": "http://localhost:62358/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/cache-with-ttl.test.ts > cache-with-ttl > TTL expiration > should refresh TTL on set:
test/cache-with-ttl.test.ts#L342
AssertionError: expected undefined to be 'value2' // Object.is equality
- Expected:
"value2"
+ Received:
undefined
❯ test/cache-with-ttl.test.ts:342:53
|
|
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: 69, arch: 'x64', …(5) } ] to deeply equal []
- Expected
+ Received
- []
+ [
+ {
+ "age": 69,
+ "arch": "x64",
+ "checksum": "5d903daa1fb1ef7bee7e949c53582d7f8923db18b160f4ac1f8257b330f79150",
+ "name": "default-ttl-binary",
+ "platform": "win32",
+ "size": 30,
+ "url": "http://localhost:52989/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: 55, arch: 'x64', …(5) } ] to deeply equal []
- Expected
+ Received
- []
+ [
+ {
+ "age": 55,
+ "arch": "x64",
+ "checksum": "5d903daa1fb1ef7bee7e949c53582d7f8923db18b160f4ac1f8257b330f79150",
+ "name": "default-ttl-binary",
+ "platform": "win32",
+ "size": 30,
+ "url": "http://localhost:52989/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: 47, arch: 'x64', …(5) } ] to deeply equal []
- Expected
+ Received
- []
+ [
+ {
+ "age": 47,
+ "arch": "x64",
+ "checksum": "5d903daa1fb1ef7bee7e949c53582d7f8923db18b160f4ac1f8257b330f79150",
+ "name": "default-ttl-binary",
+ "platform": "win32",
+ "size": 30,
+ "url": "http://localhost:52989/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: 38, arch: 'x64', …(5) } ] to deeply equal []
- Expected
+ Received
- []
+ [
+ {
+ "age": 38,
+ "arch": "x64",
+ "checksum": "5d903daa1fb1ef7bee7e949c53582d7f8923db18b160f4ac1f8257b330f79150",
+ "name": "default-ttl-binary",
+ "platform": "win32",
+ "size": 30,
+ "url": "http://localhost:52989/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: 17, arch: 'x64', …(5) } ] to deeply equal []
- Expected
+ Received
- []
+ [
+ {
+ "age": 17,
+ "arch": "x64",
+ "checksum": "5d903daa1fb1ef7bee7e949c53582d7f8923db18b160f4ac1f8257b330f79150",
+ "name": "default-ttl-binary",
+ "platform": "win32",
+ "size": 30,
+ "url": "http://localhost:52989/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' }
|