Addressing PR comments #3669
Annotations
6 errors
|
Test Core
Process completed with exit code 1.
|
|
Test Core
@objectstack/studio#test: command (/home/runner/work/framework/framework/apps/studio) /home/runner/setup-pnpm/node_modules/.bin/pnpm run test exited (1)
|
|
test/verify-metadata.test.ts > Metadata Service Integration > should list registered tools via client.meta.getItems("tool"):
apps/studio/test/verify-metadata.test.ts#L89
TypeError: fetch failed
❯ until ../../node_modules/.pnpm/@open-draft+until@2.1.0/node_modules/@open-draft/until/src/until.ts:23:17
❯ Object.passthrough ../../node_modules/.pnpm/@mswjs+interceptors@0.41.3/node_modules/@mswjs/interceptors/src/interceptors/fetch/index.ts:78:67
❯ RequestController.passthrough ../../node_modules/.pnpm/@mswjs+interceptors@0.41.3/node_modules/@mswjs/interceptors/src/RequestController.ts:50:4
❯ handleRequest ../../node_modules/.pnpm/@mswjs+interceptors@0.41.3/node_modules/@mswjs/interceptors/src/utils/handleRequest.ts:201:11
❯ globalThis.fetch ../../node_modules/.pnpm/@mswjs+interceptors@0.41.3/node_modules/@mswjs/interceptors/src/interceptors/fetch/index.ts:185:6
❯ ObjectStackClient.fetch ../../packages/client/src/index.ts:1708:17
❯ Object.getItems ../../packages/client/src/index.ts:354:21
❯ test/verify-metadata.test.ts:89:31
{
stack: 'AggregateError: \n' +
' at internalConnectMultiple (node:net:1122:18)\n' +
' at afterConnectMultiple (node:net:1689:7)',
errors: [
{
stack: 'Error: connect ECONNREFUSED ::1:3000\n' +
' at createConnectionError (node:net:1652:14)\n' +
' at afterConnectMultiple (node:net:1682: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:1652:14)\n' +
' at afterConnectMultiple (node:net:1682: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',
constructor: 'Function<AggregateError>',
name: 'Caused by: Caused by: AggregateError',
message: '',
toString: 'Function<toString>',
stacks: []
}
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { errors: [ { stack: 'Error: connect ECONNREFUSED ::1:3000\n at createConnectionError (node:net:1652:14)\n at afterConnectMultiple (node:net:1682: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:1652:14)\n at afterConnectMultiple (node:net:1682: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/verify-metadata.test.ts > Metadata Service Integration > should list registered agents via client.meta.getItems("agent"):
apps/studio/test/verify-metadata.test.ts#L72
TypeError: fetch failed
❯ until ../../node_modules/.pnpm/@open-draft+until@2.1.0/node_modules/@open-draft/until/src/until.ts:23:17
❯ Object.passthrough ../../node_modules/.pnpm/@mswjs+interceptors@0.41.3/node_modules/@mswjs/interceptors/src/interceptors/fetch/index.ts:78:67
❯ RequestController.passthrough ../../node_modules/.pnpm/@mswjs+interceptors@0.41.3/node_modules/@mswjs/interceptors/src/RequestController.ts:50:4
❯ handleRequest ../../node_modules/.pnpm/@mswjs+interceptors@0.41.3/node_modules/@mswjs/interceptors/src/utils/handleRequest.ts:201:11
❯ globalThis.fetch ../../node_modules/.pnpm/@mswjs+interceptors@0.41.3/node_modules/@mswjs/interceptors/src/interceptors/fetch/index.ts:185:6
❯ ObjectStackClient.fetch ../../packages/client/src/index.ts:1708:17
❯ Object.getItems ../../packages/client/src/index.ts:354:21
❯ test/verify-metadata.test.ts:72:31
{
stack: 'AggregateError: \n' +
' at internalConnectMultiple (node:net:1122:18)\n' +
' at afterConnectMultiple (node:net:1689:7)',
errors: [
{
stack: 'Error: connect ECONNREFUSED ::1:3000\n' +
' at createConnectionError (node:net:1652:14)\n' +
' at afterConnectMultiple (node:net:1682: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:1652:14)\n' +
' at afterConnectMultiple (node:net:1682: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',
constructor: 'Function<AggregateError>',
name: 'Caused by: Caused by: AggregateError',
message: '',
toString: 'Function<toString>',
stacks: []
}
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { errors: [ { stack: 'Error: connect ECONNREFUSED ::1:3000\n at createConnectionError (node:net:1652:14)\n at afterConnectMultiple (node:net:1682: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:1652:14)\n at afterConnectMultiple (node:net:1682: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/verify-metadata.test.ts > Metadata Service Integration > should include "tool" in metadata types:
apps/studio/test/verify-metadata.test.ts#L62
TypeError: fetch failed
❯ until ../../node_modules/.pnpm/@open-draft+until@2.1.0/node_modules/@open-draft/until/src/until.ts:23:17
❯ Object.passthrough ../../node_modules/.pnpm/@mswjs+interceptors@0.41.3/node_modules/@mswjs/interceptors/src/interceptors/fetch/index.ts:78:67
❯ RequestController.passthrough ../../node_modules/.pnpm/@mswjs+interceptors@0.41.3/node_modules/@mswjs/interceptors/src/RequestController.ts:50:4
❯ handleRequest ../../node_modules/.pnpm/@mswjs+interceptors@0.41.3/node_modules/@mswjs/interceptors/src/utils/handleRequest.ts:201:11
❯ globalThis.fetch ../../node_modules/.pnpm/@mswjs+interceptors@0.41.3/node_modules/@mswjs/interceptors/src/interceptors/fetch/index.ts:185:6
❯ ObjectStackClient.fetch ../../packages/client/src/index.ts:1708:17
❯ Object.getTypes ../../packages/client/src/index.ts:339:21
❯ test/verify-metadata.test.ts:62:31
{
stack: 'AggregateError: \n' +
' at internalConnectMultiple (node:net:1122:18)\n' +
' at afterConnectMultiple (node:net:1689:7)',
errors: [
{
stack: 'Error: connect ECONNREFUSED ::1:3000\n' +
' at createConnectionError (node:net:1652:14)\n' +
' at afterConnectMultiple (node:net:1682: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:1652:14)\n' +
' at afterConnectMultiple (node:net:1682: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',
constructor: 'Function<AggregateError>',
name: 'Caused by: Caused by: AggregateError',
message: '',
toString: 'Function<toString>',
stacks: []
}
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { errors: [ { stack: 'Error: connect ECONNREFUSED ::1:3000\n at createConnectionError (node:net:1652:14)\n at afterConnectMultiple (node:net:1682: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:1652:14)\n at afterConnectMultiple (node:net:1682: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/verify-metadata.test.ts > Metadata Service Integration > should include "agent" in metadata types:
apps/studio/test/verify-metadata.test.ts#L52
TypeError: fetch failed
❯ until ../../node_modules/.pnpm/@open-draft+until@2.1.0/node_modules/@open-draft/until/src/until.ts:23:17
❯ Object.passthrough ../../node_modules/.pnpm/@mswjs+interceptors@0.41.3/node_modules/@mswjs/interceptors/src/interceptors/fetch/index.ts:78:67
❯ RequestController.passthrough ../../node_modules/.pnpm/@mswjs+interceptors@0.41.3/node_modules/@mswjs/interceptors/src/RequestController.ts:50:4
❯ handleRequest ../../node_modules/.pnpm/@mswjs+interceptors@0.41.3/node_modules/@mswjs/interceptors/src/utils/handleRequest.ts:201:11
❯ globalThis.fetch ../../node_modules/.pnpm/@mswjs+interceptors@0.41.3/node_modules/@mswjs/interceptors/src/interceptors/fetch/index.ts:185:6
❯ ObjectStackClient.fetch ../../packages/client/src/index.ts:1708:17
❯ Object.getTypes ../../packages/client/src/index.ts:339:21
❯ test/verify-metadata.test.ts:52:31
{
stack: 'AggregateError: \n' +
' at internalConnectMultiple (node:net:1122:18)\n' +
' at afterConnectMultiple (node:net:1689:7)',
errors: [
{
stack: 'Error: connect ECONNREFUSED ::1:3000\n' +
' at createConnectionError (node:net:1652:14)\n' +
' at afterConnectMultiple (node:net:1682: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:1652:14)\n' +
' at afterConnectMultiple (node:net:1682: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',
constructor: 'Function<AggregateError>',
name: 'Caused by: Caused by: AggregateError',
message: '',
toString: 'Function<toString>',
stacks: []
}
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { errors: [ { stack: 'Error: connect ECONNREFUSED ::1:3000\n at createConnectionError (node:net:1652:14)\n at afterConnectMultiple (node:net:1682: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:1652:14)\n at afterConnectMultiple (node:net:1682: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' }
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
build-output
|
8.04 MB |
sha256:c744a8ba345fc5803a95edafbb2c6d79cb7a6361677a6d3a2450ace68545260f
|
|