Backend fallback (cloud run) #6
Annotations
10 errors and 1 warning
|
tests/backend/endpoints/api/migration-tests.test.ts > SmartRouteHandler > v2beta2 > should return 200 with queryParam:
apps/e2e/tests/helpers.ts#L186
TypeError: fetch failed
❯ Module.niceFetch tests/helpers.ts:186:20
❯ Module.niceBackendFetch tests/backend/backend-helpers.ts:147:15
❯ tests/backend/endpoints/api/migration-tests.test.ts:110:24
{
stack: 'AggregateError: \n' +
' at internalConnectMultiple (node:net:1134:18)\n' +
' at afterConnectMultiple (node:net:1715:7)',
errors: [
{
stack: 'Error: connect ECONNREFUSED ::1:8102\n' +
' at createConnectionError (node:net:1678:14)\n' +
' at afterConnectMultiple (node:net:1708:16)',
message: 'connect ECONNREFUSED ::1:8102',
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '::1',
port: 8102,
constructor: 'Function<Error>',
name: 'Error',
toString: 'Function<toString>'
},
{
stack: 'Error: connect ECONNREFUSED 127.0.0.1:8102\n' +
' at createConnectionError (node:net:1678:14)\n' +
' at afterConnectMultiple (node:net:1708:16)',
message: 'connect ECONNREFUSED 127.0.0.1:8102',
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '127.0.0.1',
port: 8102,
constructor: 'Function<Error>',
name: 'Error',
toString: 'Function<toString>'
}
],
code: 'ECONNREFUSED',
message: '',
constructor: 'Function<AggregateError>',
name: 'Caused by: Caused by: AggregateError',
toString: 'Function<toString>',
stacks: [
{
method: 'internalConnectMultiple',
file: '/home/runner/work/stack-auth/stack-auth/node:net',
line: 1134,
column: 18
},
{
method: 'afterConnectMultiple',
file: '/home/runner/work/stack-auth/stack-auth/node:net',
line: 1715,
column: 7
}
]
}
❯ internalConnectMultiple ../../node:net:1134:18
❯ afterConnectMultiple ../../node:net:1715:7
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { errors: [ { stack: 'Error: connect ECONNREFUSED ::1:8102\n at createConnectionError (node:net:1678:14)\n at afterConnectMultiple (node:net:1708:16)', message: 'connect ECONNREFUSED ::1:8102', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '::1', port: 8102, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' }, { stack: 'Error: connect ECONNREFUSED 127.0.0.1:8102\n at createConnectionError (node:net:1678:14)\n at afterConnectMultiple (node:net:1708:16)', message: 'connect ECONNREFUSED 127.0.0.1:8102', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 8102, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' } ], code: 'ECONNREFUSED' }
|
|
tests/backend/endpoints/api/migration-tests.test.ts > SmartRouteHandler > v2beta1 > should fail with queryParamNew:
apps/e2e/tests/helpers.ts#L186
TypeError: fetch failed
❯ Module.niceFetch tests/helpers.ts:186:20
❯ Module.niceBackendFetch tests/backend/backend-helpers.ts:147:15
❯ tests/backend/endpoints/api/migration-tests.test.ts:82:24
{
stack: 'AggregateError: \n' +
' at internalConnectMultiple (node:net:1134:18)\n' +
' at afterConnectMultiple (node:net:1715:7)',
errors: [
{
stack: 'Error: connect ECONNREFUSED ::1:8102\n' +
' at createConnectionError (node:net:1678:14)\n' +
' at afterConnectMultiple (node:net:1708:16)',
message: 'connect ECONNREFUSED ::1:8102',
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '::1',
port: 8102,
constructor: 'Function<Error>',
name: 'Error',
toString: 'Function<toString>'
},
{
stack: 'Error: connect ECONNREFUSED 127.0.0.1:8102\n' +
' at createConnectionError (node:net:1678:14)\n' +
' at afterConnectMultiple (node:net:1708:16)',
message: 'connect ECONNREFUSED 127.0.0.1:8102',
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '127.0.0.1',
port: 8102,
constructor: 'Function<Error>',
name: 'Error',
toString: 'Function<toString>'
}
],
code: 'ECONNREFUSED',
message: '',
constructor: 'Function<AggregateError>',
name: 'Caused by: Caused by: AggregateError',
toString: 'Function<toString>',
stacks: [
{
method: 'internalConnectMultiple',
file: '/home/runner/work/stack-auth/stack-auth/node:net',
line: 1134,
column: 18
},
{
method: 'afterConnectMultiple',
file: '/home/runner/work/stack-auth/stack-auth/node:net',
line: 1715,
column: 7
}
]
}
❯ internalConnectMultiple ../../node:net:1134:18
❯ afterConnectMultiple ../../node:net:1715:7
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { errors: [ { stack: 'Error: connect ECONNREFUSED ::1:8102\n at createConnectionError (node:net:1678:14)\n at afterConnectMultiple (node:net:1708:16)', message: 'connect ECONNREFUSED ::1:8102', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '::1', port: 8102, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' }, { stack: 'Error: connect ECONNREFUSED 127.0.0.1:8102\n at createConnectionError (node:net:1678:14)\n at afterConnectMultiple (node:net:1708:16)', message: 'connect ECONNREFUSED 127.0.0.1:8102', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 8102, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' } ], code: 'ECONNREFUSED' }
|
|
tests/backend/endpoints/api/migration-tests.test.ts > SmartRouteHandler > v2beta1 > should return 200 with queryParam:
apps/e2e/tests/helpers.ts#L186
TypeError: fetch failed
❯ Module.niceFetch tests/helpers.ts:186:20
❯ Module.niceBackendFetch tests/backend/backend-helpers.ts:147:15
❯ tests/backend/endpoints/api/migration-tests.test.ts:59:24
{
stack: 'AggregateError: \n' +
' at internalConnectMultiple (node:net:1134:18)\n' +
' at afterConnectMultiple (node:net:1715:7)',
errors: [
{
stack: 'Error: connect ECONNREFUSED ::1:8102\n' +
' at createConnectionError (node:net:1678:14)\n' +
' at afterConnectMultiple (node:net:1708:16)',
message: 'connect ECONNREFUSED ::1:8102',
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '::1',
port: 8102,
constructor: 'Function<Error>',
name: 'Error',
toString: 'Function<toString>'
},
{
stack: 'Error: connect ECONNREFUSED 127.0.0.1:8102\n' +
' at createConnectionError (node:net:1678:14)\n' +
' at afterConnectMultiple (node:net:1708:16)',
message: 'connect ECONNREFUSED 127.0.0.1:8102',
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '127.0.0.1',
port: 8102,
constructor: 'Function<Error>',
name: 'Error',
toString: 'Function<toString>'
}
],
code: 'ECONNREFUSED',
message: '',
constructor: 'Function<AggregateError>',
name: 'Caused by: Caused by: AggregateError',
toString: 'Function<toString>',
stacks: [
{
method: 'internalConnectMultiple',
file: '/home/runner/work/stack-auth/stack-auth/node:net',
line: 1134,
column: 18
},
{
method: 'afterConnectMultiple',
file: '/home/runner/work/stack-auth/stack-auth/node:net',
line: 1715,
column: 7
}
]
}
❯ internalConnectMultiple ../../node:net:1134:18
❯ afterConnectMultiple ../../node:net:1715:7
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { errors: [ { stack: 'Error: connect ECONNREFUSED ::1:8102\n at createConnectionError (node:net:1678:14)\n at afterConnectMultiple (node:net:1708:16)', message: 'connect ECONNREFUSED ::1:8102', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '::1', port: 8102, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' }, { stack: 'Error: connect ECONNREFUSED 127.0.0.1:8102\n at createConnectionError (node:net:1678:14)\n at afterConnectMultiple (node:net:1708:16)', message: 'connect ECONNREFUSED 127.0.0.1:8102', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 8102, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' } ], code: 'ECONNREFUSED' }
|
|
tests/backend/endpoints/api/migration-tests.test.ts > SmartRouteHandler > v2beta1 > should return 200 without queryParam:
apps/e2e/tests/helpers.ts#L186
TypeError: fetch failed
❯ Module.niceFetch tests/helpers.ts:186:20
❯ Module.niceBackendFetch tests/backend/backend-helpers.ts:147:15
❯ tests/backend/endpoints/api/migration-tests.test.ts:35:24
{
stack: 'AggregateError: \n' +
' at internalConnectMultiple (node:net:1134:18)\n' +
' at afterConnectMultiple (node:net:1715:7)',
errors: [
{
stack: 'Error: connect ECONNREFUSED ::1:8102\n' +
' at createConnectionError (node:net:1678:14)\n' +
' at afterConnectMultiple (node:net:1708:16)',
message: 'connect ECONNREFUSED ::1:8102',
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '::1',
port: 8102,
constructor: 'Function<Error>',
name: 'Error',
toString: 'Function<toString>'
},
{
stack: 'Error: connect ECONNREFUSED 127.0.0.1:8102\n' +
' at createConnectionError (node:net:1678:14)\n' +
' at afterConnectMultiple (node:net:1708:16)',
message: 'connect ECONNREFUSED 127.0.0.1:8102',
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '127.0.0.1',
port: 8102,
constructor: 'Function<Error>',
name: 'Error',
toString: 'Function<toString>'
}
],
code: 'ECONNREFUSED',
message: '',
constructor: 'Function<AggregateError>',
name: 'Caused by: Caused by: AggregateError',
toString: 'Function<toString>',
stacks: [
{
method: 'internalConnectMultiple',
file: '/home/runner/work/stack-auth/stack-auth/node:net',
line: 1134,
column: 18
},
{
method: 'afterConnectMultiple',
file: '/home/runner/work/stack-auth/stack-auth/node:net',
line: 1715,
column: 7
}
]
}
❯ internalConnectMultiple ../../node:net:1134:18
❯ afterConnectMultiple ../../node:net:1715:7
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { errors: [ { stack: 'Error: connect ECONNREFUSED ::1:8102\n at createConnectionError (node:net:1678:14)\n at afterConnectMultiple (node:net:1708:16)', message: 'connect ECONNREFUSED ::1:8102', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '::1', port: 8102, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' }, { stack: 'Error: connect ECONNREFUSED 127.0.0.1:8102\n at createConnectionError (node:net:1678:14)\n at afterConnectMultiple (node:net:1708:16)', message: 'connect ECONNREFUSED 127.0.0.1:8102', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 8102, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' } ], code: 'ECONNREFUSED' }
|
|
tests/backend/endpoints/api/migration-tests.test.ts > SmartRouteHandler > v1 > should return a 404 error:
apps/e2e/tests/helpers.ts#L186
TypeError: fetch failed
❯ Module.niceFetch tests/helpers.ts:186:20
❯ Module.niceBackendFetch tests/backend/backend-helpers.ts:147:15
❯ tests/backend/endpoints/api/migration-tests.test.ts:16:24
{
stack: 'AggregateError: \n' +
' at internalConnectMultiple (node:net:1134:18)\n' +
' at afterConnectMultiple (node:net:1715:7)',
errors: [
{
stack: 'Error: connect ECONNREFUSED ::1:8102\n' +
' at createConnectionError (node:net:1678:14)\n' +
' at afterConnectMultiple (node:net:1708:16)',
message: 'connect ECONNREFUSED ::1:8102',
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '::1',
port: 8102,
constructor: 'Function<Error>',
name: 'Error',
toString: 'Function<toString>'
},
{
stack: 'Error: connect ECONNREFUSED 127.0.0.1:8102\n' +
' at createConnectionError (node:net:1678:14)\n' +
' at afterConnectMultiple (node:net:1708:16)',
message: 'connect ECONNREFUSED 127.0.0.1:8102',
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '127.0.0.1',
port: 8102,
constructor: 'Function<Error>',
name: 'Error',
toString: 'Function<toString>'
}
],
code: 'ECONNREFUSED',
message: '',
constructor: 'Function<AggregateError>',
name: 'Caused by: Caused by: AggregateError',
toString: 'Function<toString>',
stacks: [
{
method: 'internalConnectMultiple',
file: '/home/runner/work/stack-auth/stack-auth/node:net',
line: 1134,
column: 18
},
{
method: 'afterConnectMultiple',
file: '/home/runner/work/stack-auth/stack-auth/node:net',
line: 1715,
column: 7
}
]
}
❯ internalConnectMultiple ../../node:net:1134:18
❯ afterConnectMultiple ../../node:net:1715:7
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { errors: [ { stack: 'Error: connect ECONNREFUSED ::1:8102\n at createConnectionError (node:net:1678:14)\n at afterConnectMultiple (node:net:1708:16)', message: 'connect ECONNREFUSED ::1:8102', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '::1', port: 8102, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' }, { stack: 'Error: connect ECONNREFUSED 127.0.0.1:8102\n at createConnectionError (node:net:1678:14)\n at afterConnectMultiple (node:net:1708:16)', message: 'connect ECONNREFUSED 127.0.0.1:8102', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 8102, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' } ], code: 'ECONNREFUSED' }
|
|
tests/backend/performance/metrics.test.ts > /api/v1/internal/metrics performance > lists metrics within the expected response time:
apps/e2e/tests/helpers.ts#L186
TypeError: fetch failed
❯ Module.niceFetch tests/helpers.ts:186:20
❯ Module.niceBackendFetch tests/backend/backend-helpers.ts:147:15
❯ tests/backend/performance/metrics.test.ts:29:5
{
stack: 'AggregateError: \n' +
' at internalConnectMultiple (node:net:1134:18)\n' +
' at afterConnectMultiple (node:net:1715:7)',
errors: [
{
stack: 'Error: connect ECONNREFUSED ::1:8102\n' +
' at createConnectionError (node:net:1678:14)\n' +
' at afterConnectMultiple (node:net:1708:16)',
message: 'connect ECONNREFUSED ::1:8102',
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '::1',
port: 8102,
constructor: 'Function<Error>',
name: 'Error',
toString: 'Function<toString>'
},
{
stack: 'Error: connect ECONNREFUSED 127.0.0.1:8102\n' +
' at createConnectionError (node:net:1678:14)\n' +
' at afterConnectMultiple (node:net:1708:16)',
message: 'connect ECONNREFUSED 127.0.0.1:8102',
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '127.0.0.1',
port: 8102,
constructor: 'Function<Error>',
name: 'Error',
toString: 'Function<toString>'
}
],
code: 'ECONNREFUSED',
message: '',
constructor: 'Function<AggregateError>',
name: 'Caused by: Caused by: AggregateError',
toString: 'Function<toString>',
stacks: [
{
method: 'internalConnectMultiple',
file: '/home/runner/work/stack-auth/stack-auth/node:net',
line: 1134,
column: 18
},
{
method: 'afterConnectMultiple',
file: '/home/runner/work/stack-auth/stack-auth/node:net',
line: 1715,
column: 7
}
]
}
❯ internalConnectMultiple ../../node:net:1134:18
❯ afterConnectMultiple ../../node:net:1715:7
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { errors: [ { stack: 'Error: connect ECONNREFUSED ::1:8102\n at createConnectionError (node:net:1678:14)\n at afterConnectMultiple (node:net:1708:16)', message: 'connect ECONNREFUSED ::1:8102', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '::1', port: 8102, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' }, { stack: 'Error: connect ECONNREFUSED 127.0.0.1:8102\n at createConnectionError (node:net:1678:14)\n at afterConnectMultiple (node:net:1708:16)', message: 'connect ECONNREFUSED 127.0.0.1:8102', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 8102, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' } ], code: 'ECONNREFUSED' }
|
|
tests/backend/performance/metrics.test.ts > /api/v1/users performance > lists users within the expected response time:
apps/e2e/tests/helpers.ts#L186
TypeError: fetch failed
❯ Module.niceFetch tests/helpers.ts:186:20
❯ Module.niceBackendFetch tests/backend/backend-helpers.ts:147:15
❯ tests/backend/performance/metrics.test.ts:13:5
{
stack: 'AggregateError: \n' +
' at internalConnectMultiple (node:net:1134:18)\n' +
' at afterConnectMultiple (node:net:1715:7)',
errors: [
{
stack: 'Error: connect ECONNREFUSED ::1:8102\n' +
' at createConnectionError (node:net:1678:14)\n' +
' at afterConnectMultiple (node:net:1708:16)',
message: 'connect ECONNREFUSED ::1:8102',
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '::1',
port: 8102,
constructor: 'Function<Error>',
name: 'Error',
toString: 'Function<toString>'
},
{
stack: 'Error: connect ECONNREFUSED 127.0.0.1:8102\n' +
' at createConnectionError (node:net:1678:14)\n' +
' at afterConnectMultiple (node:net:1708:16)',
message: 'connect ECONNREFUSED 127.0.0.1:8102',
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '127.0.0.1',
port: 8102,
constructor: 'Function<Error>',
name: 'Error',
toString: 'Function<toString>'
}
],
code: 'ECONNREFUSED',
message: '',
constructor: 'Function<AggregateError>',
name: 'Caused by: Caused by: AggregateError',
toString: 'Function<toString>',
stacks: [
{
method: 'internalConnectMultiple',
file: '/home/runner/work/stack-auth/stack-auth/node:net',
line: 1134,
column: 18
},
{
method: 'afterConnectMultiple',
file: '/home/runner/work/stack-auth/stack-auth/node:net',
line: 1715,
column: 7
}
]
}
❯ internalConnectMultiple ../../node:net:1134:18
❯ afterConnectMultiple ../../node:net:1715:7
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { errors: [ { stack: 'Error: connect ECONNREFUSED ::1:8102\n at createConnectionError (node:net:1678:14)\n at afterConnectMultiple (node:net:1708:16)', message: 'connect ECONNREFUSED ::1:8102', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '::1', port: 8102, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' }, { stack: 'Error: connect ECONNREFUSED 127.0.0.1:8102\n at createConnectionError (node:net:1678:14)\n at afterConnectMultiple (node:net:1708:16)', message: 'connect ECONNREFUSED 127.0.0.1:8102', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 8102, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' } ], code: 'ECONNREFUSED' }
|
|
tests/js/email-template-existing-project.test.ts > should allow template creation with custom email config:
apps/e2e/tests/helpers.ts#L186
TypeError: fetch failed
❯ Module.niceFetch tests/helpers.ts:186:20
❯ niceBackendFetch tests/backend/backend-helpers.ts:147:15
❯ Object.create tests/backend/backend-helpers.ts:1549:32
❯ Object.fastSignUp tests/backend/backend-helpers.ts:258:24
❯ tests/js/email-template-existing-project.test.ts:36:3
{
stack: 'AggregateError: \n' +
' at internalConnectMultiple (node:net:1134:18)\n' +
' at afterConnectMultiple (node:net:1715:7)',
errors: [
{
stack: 'Error: connect ECONNREFUSED ::1:8102\n' +
' at createConnectionError (node:net:1678:14)\n' +
' at afterConnectMultiple (node:net:1708:16)',
message: 'connect ECONNREFUSED ::1:8102',
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '::1',
port: 8102,
constructor: 'Function<Error>',
name: 'Error',
toString: 'Function<toString>'
},
{
stack: 'Error: connect ECONNREFUSED 127.0.0.1:8102\n' +
' at createConnectionError (node:net:1678:14)\n' +
' at afterConnectMultiple (node:net:1708:16)',
message: 'connect ECONNREFUSED 127.0.0.1:8102',
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '127.0.0.1',
port: 8102,
constructor: 'Function<Error>',
name: 'Error',
toString: 'Function<toString>'
}
],
code: 'ECONNREFUSED',
message: '',
constructor: 'Function<AggregateError>',
name: 'Caused by: Caused by: AggregateError',
toString: 'Function<toString>',
stacks: [
{
method: 'internalConnectMultiple',
file: '/home/runner/work/stack-auth/stack-auth/node:net',
line: 1134,
column: 18
},
{
method: 'afterConnectMultiple',
file: '/home/runner/work/stack-auth/stack-auth/node:net',
line: 1715,
column: 7
}
]
}
❯ internalConnectMultiple ../../node:net:1134:18
❯ afterConnectMultiple ../../node:net:1715:7
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { errors: [ { stack: 'Error: connect ECONNREFUSED ::1:8102\n at createConnectionError (node:net:1678:14)\n at afterConnectMultiple (node:net:1708:16)', message: 'connect ECONNREFUSED ::1:8102', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '::1', port: 8102, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' }, { stack: 'Error: connect ECONNREFUSED 127.0.0.1:8102\n at createConnectionError (node:net:1678:14)\n at afterConnectMultiple (node:net:1708:16)', message: 'connect ECONNREFUSED 127.0.0.1:8102', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 8102, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' } ], code: 'ECONNREFUSED' }
|
|
tests/js/email-template-existing-project.test.ts > should reject template creation with shared email config:
apps/e2e/tests/helpers.ts#L186
TypeError: fetch failed
❯ Module.niceFetch tests/helpers.ts:186:20
❯ niceBackendFetch tests/backend/backend-helpers.ts:147:15
❯ Object.create tests/backend/backend-helpers.ts:1549:32
❯ Object.fastSignUp tests/backend/backend-helpers.ts:258:24
❯ tests/js/email-template-existing-project.test.ts:5:3
{
stack: 'AggregateError: \n' +
' at internalConnectMultiple (node:net:1134:18)\n' +
' at afterConnectMultiple (node:net:1715:7)',
errors: [
{
stack: 'Error: connect ECONNREFUSED ::1:8102\n' +
' at createConnectionError (node:net:1678:14)\n' +
' at afterConnectMultiple (node:net:1708:16)',
message: 'connect ECONNREFUSED ::1:8102',
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '::1',
port: 8102,
constructor: 'Function<Error>',
name: 'Error',
toString: 'Function<toString>'
},
{
stack: 'Error: connect ECONNREFUSED 127.0.0.1:8102\n' +
' at createConnectionError (node:net:1678:14)\n' +
' at afterConnectMultiple (node:net:1708:16)',
message: 'connect ECONNREFUSED 127.0.0.1:8102',
errno: -111,
code: 'ECONNREFUSED',
syscall: 'connect',
address: '127.0.0.1',
port: 8102,
constructor: 'Function<Error>',
name: 'Error',
toString: 'Function<toString>'
}
],
code: 'ECONNREFUSED',
message: '',
constructor: 'Function<AggregateError>',
name: 'Caused by: Caused by: AggregateError',
toString: 'Function<toString>',
stacks: [
{
method: 'internalConnectMultiple',
file: '/home/runner/work/stack-auth/stack-auth/node:net',
line: 1134,
column: 18
},
{
method: 'afterConnectMultiple',
file: '/home/runner/work/stack-auth/stack-auth/node:net',
line: 1715,
column: 7
}
]
}
❯ internalConnectMultiple ../../node:net:1134:18
❯ afterConnectMultiple ../../node:net:1715:7
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { errors: [ { stack: 'Error: connect ECONNREFUSED ::1:8102\n at createConnectionError (node:net:1678:14)\n at afterConnectMultiple (node:net:1708:16)', message: 'connect ECONNREFUSED ::1:8102', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '::1', port: 8102, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' }, { stack: 'Error: connect ECONNREFUSED 127.0.0.1:8102\n at createConnectionError (node:net:1678:14)\n at afterConnectMultiple (node:net:1708:16)', message: 'connect ECONNREFUSED 127.0.0.1:8102', errno: -111, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 8102, constructor: 'Function<Error>', name: 'Error', toString: 'Function<toString>' } ], code: 'ECONNREFUSED' }
|
|
tests/general/sdk-implementations.test.ts > SDK implementation tests > swift SDK > runs tests successfully:
apps/e2e/tests/general/sdk-implementations.test.ts#L47
AssertionError: Expected swift SDK tests to pass!
stdout:
> @stackframe/swift-sdk@2.8.80 test /home/runner/work/stack-auth/stack-auth/sdks/implementations/swift
> swift test
Test Suite 'All tests' started at 2026-04-03 18:46:47.136
Test Suite 'debug.xctest' started at 2026-04-03 18:46:47.160
Test Suite 'debug.xctest' passed at 2026-04-03 18:46:47.160
Executed 0 tests, with 0 failures (0 unexpected) in 0.0 (0.0) seconds
Test Suite 'All tests' passed at 2026-04-03 18:46:47.160
Executed 0 tests, with 0 failures (0 unexpected) in 0.0 (0.0) seconds
◇ Test run started.
↳ Testing Library Version: 6.3 (980fec0f03c56f7)
↳ Target Platform: x86_64-unknown-linux-gnu
◇ Suite "OAuth Tests" started.
◇ Suite "User Management Tests - Client" started.
◇ Suite "Token Refresh Algorithm Tests" started.
◇ Suite "Error Handling Tests" started.
◇ Suite "Token Storage Tests" started.
◇ Suite "Contact Channel Tests" started.
◇ Suite "Project Tests" started.
◇ Suite "RefreshLockManager Concurrency Tests" started.
◇ Suite "Team Tests - Server" started.
◇ Suite "User Management Tests - Server" started.
◇ Suite "Authentication Tests" started.
◇ Test "Should get user properties after sign up" started.
◇ Suite "Team Tests - Client" started.
◇ Test "Should update client metadata" started.
◇ Test "Should get partial user from token" started.
◇ Test "Should update display name multiple times" started.
◇ Test "Should get auth headers for API calls" started.
◇ Test "Should create team with server app" started.
◇ Test "Should list teams for specific user" started.
◇ Test "Should update team via server" started.
◇ Test "Should add user to team" started.
◇ Test "Should get team by ID" started.
◇ Test "Should remove user from team" started.
◇ Test "Should list team users" started.
◇ Test "Should create team with creator user" started.
◇ Test "Should return nil for non-existent team" started.
◇ Test "Should list all teams" started.
◇ Test "Should list users with pagination" started.
◇ Test "Should create user without email" started.
◇ Test "Should delete user" started.
◇ Test "Should update client metadata via server" started.
◇ Test "Should create user with password and sign in" started.
◇ Test "Should update server metadata" started.
◇ Test "Should update user display name" started.
◇ Test "Should update multiple fields at once" started.
◇ Test "Should handle JWT without iat claim" started.
◇ Test "Should detect expired token" started.
◇ Test "Should refresh token and return new access token" started.
◇ Test "Should not consider token fresh if only recently issued" started.
◇ Test "Should treat nil token as expired" started.
◇ Test "Should clear tokens when setting nil" started.
◇ Test "Should consider invalid token as not fresh" started.
◇ Test "Should consider token with long expiry AND recent issue as fresh" started.
◇ Test "Should return nil for invalid JWT format" started.
◇ Test "Should handle concurrent getAccessToken calls" started.
◇ Test "Should consider nil token as not fresh" started.
◇ Test "Should treat invalid token as expired" started.
◇ Test "Should not update tokens when refresh token doesn't match" started.
◇ Test "Should consider token fresh only when BOTH conditions met" started.
◇ Test "Should update tokens when refresh token matches" started.
◇ Test "Should not consider token fresh if only has long expiry" started.
◇ Test "Should decode valid JWT payload" started.
◇ Test "Should handle JWT without exp claim" started.
◇ Test "Should create client app with correct project ID" started.
◇ Test "Should detect non-expired token" started.
◇ Test "Should get project info via client" started.
◇ Test "Should return nil when no tokens exist" started.
◇ Test "Should access project config" started.
◇ Test "Should get project info via server" started.
◇ Test "Should create server app with correct project ID" started.
◇ Test "Should resolve OAuth client secret from API client" started.
◇ Test "Should generate OAuth
|
|
E2E Fallback Tests (Node 22.x)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: JarvusInnovations/background-action@v1.0.7, pnpm/action-setup@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|