feat: clean shapes on PITR #129
ts_test.yml
on: pull_request
List packages
4s
List examples
3s
Matrix: Build and test
Matrix: check_packages
Matrix: check_and_build_examples
Annotations
11 errors
Build and test (packages/react-hooks)
Process completed with exit code 1.
|
test/cache.test.ts > HTTP Proxy Cache > should always get non-cached response in live mode:
packages/typescript-client/test/cache.test.ts#L78
AssertionError: expected 502 to be 200 // Object.is equality
- Expected
+ Received
- 200
+ 502
❯ test/cache.test.ts:78:31
|
test/cache.test.ts > HTTP Proxy Cache > should get cached response on second request:
packages/typescript-client/test/cache.test.ts#L116
AssertionError: expected 502 to be 200 // Object.is equality
- Expected
+ Received
- 200
+ 502
❯ test/cache.test.ts:116:32
|
test/cache.test.ts > HTTP Proxy Cache > should get stale response when max age is passed but cache is not yet revalidated:
packages/typescript-client/test/cache.test.ts#L139
AssertionError: expected 502 to be 200 // Object.is equality
- Expected
+ Received
- 200
+ 502
❯ test/cache.test.ts:139:32
|
test/cache.test.ts > HTTP Proxy Cache > should get fresh response when age is passed the stale age:
packages/typescript-client/test/cache.test.ts#L174
AssertionError: expected 502 to be 200 // Object.is equality
- Expected
+ Received
- 200
+ 502
❯ test/cache.test.ts:174:32
|
test/cache.test.ts > HTTP Initial Data Caching > tells client to resync when shape is out of scope:
packages/typescript-client/test/cache.test.ts#L216
AssertionError: expected 502 to be 200 // Object.is equality
- Expected
+ Received
- 200
+ 502
❯ test/cache.test.ts:216:31
|
test/integration.test.ts > HTTP Sync > should wait properly for updates on an empty shape/table:
packages/typescript-client/test/integration.test.ts#L95
AssertionError: expected [ URL{}, URL{}, URL{}, URL{}, …(2) ] to have a length of 2 but got 6
- Expected
+ Received
- 2
+ 6
❯ test/integration.test.ts:95:27
|
test/integration.test.ts > HTTP Sync > returns a header with the server shape id:
packages/typescript-client/test/integration.test.ts#L113
TypeError: fetch failed
❯ test/integration.test.ts:113:17
{
stack: 'AggregateError: \n' +
' at internalConnectMultiple (node:net:1118:18)\n' +
' at afterConnectMultiple (node:net:1685:7)',
errors: [
{
stack: 'Error: connect ECONNREFUSED ::1:3000\n' +
' at createConnectionError (node:net:1648:14)\n' +
' at afterConnectMultiple (node:net:1678:16)',
message: 'connect ECONNREFUSED ::1:3000',
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '::1',
port: 3000,
constructor: 'Function<Error>',
name: 'Error',
toString: 'Function<toString>'
},
{
stack: 'Error: connect ECONNREFUSED 127.0.0.1:3000\n' +
' at createConnectionError (node:net:1648:14)\n' +
' at afterConnectMultiple (node:net:1678:16)',
message: 'connect ECONNREFUSED 127.0.0.1:3000',
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '127.0.0.1',
port: 3000,
constructor: 'Function<Error>',
name: 'Error',
toString: 'Function<toString>'
}
],
code: 'ECONNREFUSED',
stackStr: 'AggregateError: \n' +
' at internalConnectMultiple (node:net:1118:18)\n' +
' at afterConnectMultiple (node:net:1685:7)',
nameStr: 'AggregateError',
expected: 'undefined',
actual: 'undefined',
message: '',
constructor: 'Function<AggregateError>',
name: 'Caused by: Caused by: AggregateError',
toString: 'Function<toString>',
stacks: []
}
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { errors: [ { stack: 'Error: connect ECONNREFUSED ::1:3000\n at createConnectionError (node:net:1648:14)\n at afterConnectMultiple (node:net:1678:16)', message: 'connect ECONNREFUSED ::1:3000', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '::1', port: 3000, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' }, { stack: 'Error: connect ECONNREFUSED 127.0.0.1:3000\n at createConnectionError (node:net:1648:14)\n at afterConnectMultiple (node:net:1678:16)', message: 'connect ECONNREFUSED 127.0.0.1:3000', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 3000, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' } ], code: 'ECONNREFUSED' }
|
test/integration.test.ts > HTTP Sync > returns a header with the chunk's last offset:
packages/typescript-client/test/integration.test.ts#L124
TypeError: fetch failed
❯ test/integration.test.ts:124:17
{
stack: 'AggregateError: \n' +
' at internalConnectMultiple (node:net:1118:18)\n' +
' at afterConnectMultiple (node:net:1685:7)',
errors: [
{
stack: 'Error: connect ECONNREFUSED ::1:3000\n' +
' at createConnectionError (node:net:1648:14)\n' +
' at afterConnectMultiple (node:net:1678:16)',
message: 'connect ECONNREFUSED ::1:3000',
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '::1',
port: 3000,
constructor: 'Function<Error>',
name: 'Error',
toString: 'Function<toString>'
},
{
stack: 'Error: connect ECONNREFUSED 127.0.0.1:3000\n' +
' at createConnectionError (node:net:1648:14)\n' +
' at afterConnectMultiple (node:net:1678:16)',
message: 'connect ECONNREFUSED 127.0.0.1:3000',
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '127.0.0.1',
port: 3000,
constructor: 'Function<Error>',
name: 'Error',
toString: 'Function<toString>'
}
],
code: 'ECONNREFUSED',
stackStr: 'AggregateError: \n' +
' at internalConnectMultiple (node:net:1118:18)\n' +
' at afterConnectMultiple (node:net:1685:7)',
nameStr: 'AggregateError',
expected: 'undefined',
actual: 'undefined',
message: '',
constructor: 'Function<AggregateError>',
name: 'Caused by: Caused by: AggregateError',
toString: 'Function<toString>',
stacks: []
}
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { errors: [ { stack: 'Error: connect ECONNREFUSED ::1:3000\n at createConnectionError (node:net:1648:14)\n at afterConnectMultiple (node:net:1678:16)', message: 'connect ECONNREFUSED ::1:3000', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '::1', port: 3000, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' }, { stack: 'Error: connect ECONNREFUSED 127.0.0.1:3000\n at createConnectionError (node:net:1648:14)\n at afterConnectMultiple (node:net:1678:16)', message: 'connect ECONNREFUSED 127.0.0.1:3000', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 3000, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' } ], code: 'ECONNREFUSED' }
|
test/integration.test.ts > HTTP Sync > should return correct caching headers:
packages/typescript-client/test/integration.test.ts#L484
TypeError: fetch failed
❯ test/integration.test.ts:484:17
{
stack: 'AggregateError: \n' +
' at internalConnectMultiple (node:net:1118:18)\n' +
' at afterConnectMultiple (node:net:1685:7)',
errors: [
{
stack: 'Error: connect ECONNREFUSED ::1:3000\n' +
' at createConnectionError (node:net:1648:14)\n' +
' at afterConnectMultiple (node:net:1678:16)',
message: 'connect ECONNREFUSED ::1:3000',
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '::1',
port: 3000,
constructor: 'Function<Error>',
name: 'Error',
toString: 'Function<toString>'
},
{
stack: 'Error: connect ECONNREFUSED 127.0.0.1:3000\n' +
' at createConnectionError (node:net:1648:14)\n' +
' at afterConnectMultiple (node:net:1678:16)',
message: 'connect ECONNREFUSED 127.0.0.1:3000',
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '127.0.0.1',
port: 3000,
constructor: 'Function<Error>',
name: 'Error',
toString: 'Function<toString>'
}
],
code: 'ECONNREFUSED',
stackStr: 'AggregateError: \n' +
' at internalConnectMultiple (node:net:1118:18)\n' +
' at afterConnectMultiple (node:net:1685:7)',
nameStr: 'AggregateError',
expected: 'undefined',
actual: 'undefined',
message: '',
constructor: 'Function<AggregateError>',
name: 'Caused by: Caused by: AggregateError',
toString: 'Function<toString>',
stacks: []
}
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { errors: [ { stack: 'Error: connect ECONNREFUSED ::1:3000\n at createConnectionError (node:net:1648:14)\n at afterConnectMultiple (node:net:1678:16)', message: 'connect ECONNREFUSED ::1:3000', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '::1', port: 3000, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' }, { stack: 'Error: connect ECONNREFUSED 127.0.0.1:3000\n at createConnectionError (node:net:1648:14)\n at afterConnectMultiple (node:net:1678:16)', message: 'connect ECONNREFUSED 127.0.0.1:3000', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 3000, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' } ], code: 'ECONNREFUSED' }
|
test/integration.test.ts > HTTP Sync > should revalidate etags:
packages/typescript-client/test/integration.test.ts#L516
TypeError: fetch failed
❯ test/integration.test.ts:516:5
{
stack: 'AggregateError: \n' +
' at internalConnectMultiple (node:net:1118:18)\n' +
' at afterConnectMultiple (node:net:1685:7)',
errors: [
{
stack: 'Error: connect ECONNREFUSED ::1:3000\n' +
' at createConnectionError (node:net:1648:14)\n' +
' at afterConnectMultiple (node:net:1678:16)',
message: 'connect ECONNREFUSED ::1:3000',
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '::1',
port: 3000,
constructor: 'Function<Error>',
name: 'Error',
toString: 'Function<toString>'
},
{
stack: 'Error: connect ECONNREFUSED 127.0.0.1:3000\n' +
' at createConnectionError (node:net:1648:14)\n' +
' at afterConnectMultiple (node:net:1678:16)',
message: 'connect ECONNREFUSED 127.0.0.1:3000',
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '127.0.0.1',
port: 3000,
constructor: 'Function<Error>',
name: 'Error',
toString: 'Function<toString>'
}
],
code: 'ECONNREFUSED',
stackStr: 'AggregateError: \n' +
' at internalConnectMultiple (node:net:1118:18)\n' +
' at afterConnectMultiple (node:net:1685:7)',
nameStr: 'AggregateError',
expected: 'undefined',
actual: 'undefined',
message: '',
constructor: 'Function<AggregateError>',
name: 'Caused by: Caused by: AggregateError',
toString: 'Function<toString>',
stacks: []
}
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { errors: [ { stack: 'Error: connect ECONNREFUSED ::1:3000\n at createConnectionError (node:net:1648:14)\n at afterConnectMultiple (node:net:1678:16)', message: 'connect ECONNREFUSED ::1:3000', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '::1', port: 3000, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' }, { stack: 'Error: connect ECONNREFUSED 127.0.0.1:3000\n at createConnectionError (node:net:1648:14)\n at afterConnectMultiple (node:net:1678:16)', message: 'connect ECONNREFUSED 127.0.0.1:3000', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 3000, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' } ], code: 'ECONNREFUSED' }
|