exit if no runId #3994
ci.yml
on: push
build-and-check
2m 34s
Matrix: test-integration
Matrix: test
Annotations
10 errors and 4 warnings
|
error: expect(received).toHaveBeenCalledWith(...expected):
backend/src/api/__tests__/validate-agent-name.test.ts#L106
[
{
- "logger": Anything,
+ "addAgentStep": [Function: AsyncFunction],
+ "agentId": "***/file-explorer",
+ "apiKey": "***-api-key",
+ "consumeCreditsWithFallback": [Function: AsyncFunction],
+ "databaseAgentCache": Map {},
+ "fetch": [Function: AsyncFunction],
+ "fetchAgentFromDatabase": [class Function],
+ "finishAgentRun": [Function: AsyncFunction],
+ "getUserInfoFromApiKey": [Function: AsyncFunction],
+ "handleStepsLogChunk": [Function],
+ "liveUserInputRecord": {},
+ "localAgentTemplates": {},
+ "logger": {
+ "debug": [Function],
+ "error": [Function],
+ "info": [Function],
+ "warn": [Function],
+ },
+ "next": [Function],
"parsedAgentId": {
"agentId": "file-explorer",
"publisherId": "***",
"version": undefined,
},
+ "promptAiSdk": [Function: AsyncFunction],
+ "promptAiSdkStream": [Function: AsyncGeneratorFunction],
+ "promptAiSdkStructured": [Function: AsyncFunction],
+ "req": {
+ "headers": {
+ "x-***-api-key": "***-api-key",
+ },
+ "query": {
+ "agentId": "***/file-explorer",
+ },
+ },
+ "requestFiles": [Function],
+ "requestMcpToolData": [Function],
+ "requestOptionalFile": [Function],
+ "requestToolCall": [Function],
+ "res": {
+ "json": [class Function],
+ "jsonPayload": {
+ "displayName": undefined,
+ "normalizedId": "***/file-explorer@0.0.1",
+ "source": "published",
+ "valid": ***,
+ },
+ "status": [class Function],
+ "statusCode": 200,
+ },
+ "sendAction": [Function],
+ "sendSubagentChunk": [Function],
+ "sessionConnections": {},
+ "startAgentRun": [Function: AsyncFunction],
+ "trackEvent": [Function],
},
]
- Expected - 1
+ Received + 50
at <anonymous> (/home/runner/work/***/***/backend/src/api/__***s__/validate-agent-name.***.ts:106:17)
|
|
error: expect(received).toHaveBeenCalledWith(...expected):
backend/src/api/__tests__/validate-agent-name.test.ts#L168
[
{
- "logger": Anything,
+ "addAgentStep": [Function: AsyncFunction],
+ "agentId": "someorg/not-a-real-agent",
+ "apiKey": "***-api-key",
+ "consumeCreditsWithFallback": [Function: AsyncFunction],
+ "databaseAgentCache":
+ Map {
+ "***/file-explorer@0.0.1" => {
+ "id": "***/file-explorer@0.0.1",
+ },
+ }
+ ,
+ "fetch": [Function: AsyncFunction],
+ "fetchAgentFromDatabase": [class Function],
+ "finishAgentRun": [Function: AsyncFunction],
+ "getUserInfoFromApiKey": [Function: AsyncFunction],
+ "handleStepsLogChunk": [Function],
+ "liveUserInputRecord": {},
+ "localAgentTemplates": {},
+ "logger": {
+ "debug": [Function],
+ "error": [Function],
+ "info": [Function],
+ "warn": [Function],
+ },
+ "next": [Function],
"parsedAgentId": {
"agentId": "not-a-real-agent",
"publisherId": "someorg",
"version": undefined,
},
+ "promptAiSdk": [Function: AsyncFunction],
+ "promptAiSdkStream": [Function: AsyncGeneratorFunction],
+ "promptAiSdkStructured": [Function: AsyncFunction],
+ "req": {
+ "headers": {
+ "x-***-api-key": "***-api-key",
+ },
+ "query": {
+ "agentId": "someorg/not-a-real-agent",
+ },
+ },
+ "requestFiles": [Function],
+ "requestMcpToolData": [Function],
+ "requestOptionalFile": [Function],
+ "requestToolCall": [Function],
+ "res": {
+ "json": [class Function],
+ "jsonPayload": {
+ "valid": false,
+ },
+ "status": [class Function],
+ "statusCode": 200,
+ },
+ "sendAction": [Function],
+ "sendSubagentChunk": [Function],
+ "sessionConnections": {},
+ "startAgentRun": [Function: AsyncFunction],
+ "trackEvent": [Function],
},
]
- Expected - 1
+ Received + 53
at <anonymous> (/home/runner/work/***/***/backend/src/api/__***s__/validate-agent-name.***.ts:168:17)
|
|
error: expect(received).toHaveBeenCalledWith(...expected):
backend/src/api/__tests__/validate-agent-name.test.ts#L139
[
{
- "logger": Anything,
+ "addAgentStep": [Function: AsyncFunction],
+ "agentId": "***/file-explorer@0.0.1",
+ "apiKey": "***-api-key",
+ "consumeCreditsWithFallback": [Function: AsyncFunction],
+ "databaseAgentCache":
+ Map {
+ "***/file-explorer@0.0.1" => {
+ "id": "***/file-explorer@0.0.1",
+ },
+ }
+ ,
+ "fetch": [Function: AsyncFunction],
+ "fetchAgentFromDatabase": [class Function],
+ "finishAgentRun": [Function: AsyncFunction],
+ "getUserInfoFromApiKey": [Function: AsyncFunction],
+ "handleStepsLogChunk": [Function],
+ "liveUserInputRecord": {},
+ "localAgentTemplates": {},
+ "logger": {
+ "debug": [Function],
+ "error": [Function],
+ "info": [Function],
+ "warn": [Function],
+ },
+ "next": [Function],
"parsedAgentId": {
"agentId": "file-explorer",
"publisherId": "***",
"version": "0.0.1",
},
+ "promptAiSdk": [Function: AsyncFunction],
+ "promptAiSdkStream": [Function: AsyncGeneratorFunction],
+ "promptAiSdkStructured": [Function: AsyncFunction],
+ "req": {
+ "headers": {
+ "x-***-api-key": "***-api-key",
+ },
+ "query": {
+ "agentId": "***/file-explorer@0.0.1",
+ },
+ },
+ "requestFiles": [Function],
+ "requestMcpToolData": [Function],
+ "requestOptionalFile": [Function],
+ "requestToolCall": [Function],
+ "res": {
+ "json": [class Function],
+ "jsonPayload": {
+ "displayName": undefined,
+ "normalizedId": "***/file-explorer@0.0.1",
+ "source": "published",
+ "valid": ***,
+ },
+ "status": [class Function],
+ "statusCode": 200,
+ },
+ "sendAction": [Function],
+ "sendSubagentChunk": [Function],
+ "sessionConnections": {},
+ "startAgentRun": [Function: AsyncFunction],
+ "trackEvent": [Function],
},
]
- Expected - 1
+ Received + 56
at <anonymous> (/home/runner/work/***/***/backend/src/api/__***s__/validate-agent-name.***.ts:139:17)
|
|
error: expect(received).toHaveBeenCalledWith(...expected):
backend/src/api/__tests__/validate-agent-name.test.ts#L106
[
{
- "logger": Anything,
+ "addAgentStep": [Function: AsyncFunction],
+ "agentId": "***/file-explorer",
+ "apiKey": "***-api-key",
+ "consumeCreditsWithFallback": [Function: AsyncFunction],
+ "databaseAgentCache": Map {},
+ "fetch": [Function: AsyncFunction],
+ "fetchAgentFromDatabase": [class Function],
+ "finishAgentRun": [Function: AsyncFunction],
+ "getUserInfoFromApiKey": [Function: AsyncFunction],
+ "handleStepsLogChunk": [Function],
+ "liveUserInputRecord": {},
+ "localAgentTemplates": {},
+ "logger": {
+ "debug": [Function],
+ "error": [Function],
+ "info": [Function],
+ "warn": [Function],
+ },
+ "next": [Function],
"parsedAgentId": {
"agentId": "file-explorer",
"publisherId": "***",
"version": undefined,
},
+ "promptAiSdk": [Function: AsyncFunction],
+ "promptAiSdkStream": [Function: AsyncGeneratorFunction],
+ "promptAiSdkStructured": [Function: AsyncFunction],
+ "req": {
+ "headers": {
+ "x-***-api-key": "***-api-key",
+ },
+ "query": {
+ "agentId": "***/file-explorer",
+ },
+ },
+ "requestFiles": [Function],
+ "requestMcpToolData": [Function],
+ "requestOptionalFile": [Function],
+ "requestToolCall": [Function],
+ "res": {
+ "json": [class Function],
+ "jsonPayload": {
+ "displayName": undefined,
+ "normalizedId": "***/file-explorer@0.0.1",
+ "source": "published",
+ "valid": ***,
+ },
+ "status": [class Function],
+ "statusCode": 200,
+ },
+ "sendAction": [Function],
+ "sendSubagentChunk": [Function],
+ "sessionConnections": {},
+ "startAgentRun": [Function: AsyncFunction],
+ "trackEvent": [Function],
},
]
- Expected - 1
+ Received + 50
at <anonymous> (/home/runner/work/***/***/backend/src/api/__***s__/validate-agent-name.***.ts:106:17)
|
|
error: expect(received).toHaveBeenCalledWith(...expected):
backend/src/api/__tests__/validate-agent-name.test.ts#L168
[
{
- "logger": Anything,
+ "addAgentStep": [Function: AsyncFunction],
+ "agentId": "someorg/not-a-real-agent",
+ "apiKey": "***-api-key",
+ "consumeCreditsWithFallback": [Function: AsyncFunction],
+ "databaseAgentCache":
+ Map {
+ "***/file-explorer@0.0.1" => {
+ "id": "***/file-explorer@0.0.1",
+ },
+ }
+ ,
+ "fetch": [Function: AsyncFunction],
+ "fetchAgentFromDatabase": [class Function],
+ "finishAgentRun": [Function: AsyncFunction],
+ "getUserInfoFromApiKey": [Function: AsyncFunction],
+ "handleStepsLogChunk": [Function],
+ "liveUserInputRecord": {},
+ "localAgentTemplates": {},
+ "logger": {
+ "debug": [Function],
+ "error": [Function],
+ "info": [Function],
+ "warn": [Function],
+ },
+ "next": [Function],
"parsedAgentId": {
"agentId": "not-a-real-agent",
"publisherId": "someorg",
"version": undefined,
},
+ "promptAiSdk": [Function: AsyncFunction],
+ "promptAiSdkStream": [Function: AsyncGeneratorFunction],
+ "promptAiSdkStructured": [Function: AsyncFunction],
+ "req": {
+ "headers": {
+ "x-***-api-key": "***-api-key",
+ },
+ "query": {
+ "agentId": "someorg/not-a-real-agent",
+ },
+ },
+ "requestFiles": [Function],
+ "requestMcpToolData": [Function],
+ "requestOptionalFile": [Function],
+ "requestToolCall": [Function],
+ "res": {
+ "json": [class Function],
+ "jsonPayload": {
+ "valid": false,
+ },
+ "status": [class Function],
+ "statusCode": 200,
+ },
+ "sendAction": [Function],
+ "sendSubagentChunk": [Function],
+ "sessionConnections": {},
+ "startAgentRun": [Function: AsyncFunction],
+ "trackEvent": [Function],
},
]
- Expected - 1
+ Received + 53
at <anonymous> (/home/runner/work/***/***/backend/src/api/__***s__/validate-agent-name.***.ts:168:17)
|
|
error: expect(received).toHaveBeenCalledWith(...expected):
backend/src/api/__tests__/validate-agent-name.test.ts#L139
[
{
- "logger": Anything,
+ "addAgentStep": [Function: AsyncFunction],
+ "agentId": "***/file-explorer@0.0.1",
+ "apiKey": "***-api-key",
+ "consumeCreditsWithFallback": [Function: AsyncFunction],
+ "databaseAgentCache":
+ Map {
+ "***/file-explorer@0.0.1" => {
+ "id": "***/file-explorer@0.0.1",
+ },
+ }
+ ,
+ "fetch": [Function: AsyncFunction],
+ "fetchAgentFromDatabase": [class Function],
+ "finishAgentRun": [Function: AsyncFunction],
+ "getUserInfoFromApiKey": [Function: AsyncFunction],
+ "handleStepsLogChunk": [Function],
+ "liveUserInputRecord": {},
+ "localAgentTemplates": {},
+ "logger": {
+ "debug": [Function],
+ "error": [Function],
+ "info": [Function],
+ "warn": [Function],
+ },
+ "next": [Function],
"parsedAgentId": {
"agentId": "file-explorer",
"publisherId": "***",
"version": "0.0.1",
},
+ "promptAiSdk": [Function: AsyncFunction],
+ "promptAiSdkStream": [Function: AsyncGeneratorFunction],
+ "promptAiSdkStructured": [Function: AsyncFunction],
+ "req": {
+ "headers": {
+ "x-***-api-key": "***-api-key",
+ },
+ "query": {
+ "agentId": "***/file-explorer@0.0.1",
+ },
+ },
+ "requestFiles": [Function],
+ "requestMcpToolData": [Function],
+ "requestOptionalFile": [Function],
+ "requestToolCall": [Function],
+ "res": {
+ "json": [class Function],
+ "jsonPayload": {
+ "displayName": undefined,
+ "normalizedId": "***/file-explorer@0.0.1",
+ "source": "published",
+ "valid": ***,
+ },
+ "status": [class Function],
+ "statusCode": 200,
+ },
+ "sendAction": [Function],
+ "sendSubagentChunk": [Function],
+ "sessionConnections": {},
+ "startAgentRun": [Function: AsyncFunction],
+ "trackEvent": [Function],
},
]
- Expected - 1
+ Received + 56
at <anonymous> (/home/runner/work/***/***/backend/src/api/__***s__/validate-agent-name.***.ts:139:17)
|
|
error: expect(received).toHaveBeenCalledWith(...expected):
backend/src/api/__tests__/validate-agent-name.test.ts#L106
[
{
- "logger": Anything,
+ "addAgentStep": [Function: AsyncFunction],
+ "agentId": "***/file-explorer",
+ "apiKey": "***-api-key",
+ "consumeCreditsWithFallback": [Function: AsyncFunction],
+ "databaseAgentCache": Map {},
+ "fetch": [Function: AsyncFunction],
+ "fetchAgentFromDatabase": [class Function],
+ "finishAgentRun": [Function: AsyncFunction],
+ "getUserInfoFromApiKey": [Function: AsyncFunction],
+ "handleStepsLogChunk": [Function],
+ "liveUserInputRecord": {},
+ "localAgentTemplates": {},
+ "logger": {
+ "debug": [Function],
+ "error": [Function],
+ "info": [Function],
+ "warn": [Function],
+ },
+ "next": [Function],
"parsedAgentId": {
"agentId": "file-explorer",
"publisherId": "***",
"version": undefined,
},
+ "promptAiSdk": [Function: AsyncFunction],
+ "promptAiSdkStream": [Function: AsyncGeneratorFunction],
+ "promptAiSdkStructured": [Function: AsyncFunction],
+ "req": {
+ "headers": {
+ "x-***-api-key": "***-api-key",
+ },
+ "query": {
+ "agentId": "***/file-explorer",
+ },
+ },
+ "requestFiles": [Function],
+ "requestMcpToolData": [Function],
+ "requestOptionalFile": [Function],
+ "requestToolCall": [Function],
+ "res": {
+ "json": [class Function],
+ "jsonPayload": {
+ "displayName": undefined,
+ "normalizedId": "***/file-explorer@0.0.1",
+ "source": "published",
+ "valid": ***,
+ },
+ "status": [class Function],
+ "statusCode": 200,
+ },
+ "sendAction": [Function],
+ "sendSubagentChunk": [Function],
+ "sessionConnections": {},
+ "startAgentRun": [Function: AsyncFunction],
+ "trackEvent": [Function],
},
]
- Expected - 1
+ Received + 50
at <anonymous> (/home/runner/work/***/***/backend/src/api/__***s__/validate-agent-name.***.ts:106:17)
|
|
error: expect(received).toHaveBeenCalledWith(...expected):
backend/src/api/__tests__/validate-agent-name.test.ts#L168
[
{
- "logger": Anything,
+ "addAgentStep": [Function: AsyncFunction],
+ "agentId": "someorg/not-a-real-agent",
+ "apiKey": "***-api-key",
+ "consumeCreditsWithFallback": [Function: AsyncFunction],
+ "databaseAgentCache":
+ Map {
+ "***/file-explorer@0.0.1" => {
+ "id": "***/file-explorer@0.0.1",
+ },
+ }
+ ,
+ "fetch": [Function: AsyncFunction],
+ "fetchAgentFromDatabase": [class Function],
+ "finishAgentRun": [Function: AsyncFunction],
+ "getUserInfoFromApiKey": [Function: AsyncFunction],
+ "handleStepsLogChunk": [Function],
+ "liveUserInputRecord": {},
+ "localAgentTemplates": {},
+ "logger": {
+ "debug": [Function],
+ "error": [Function],
+ "info": [Function],
+ "warn": [Function],
+ },
+ "next": [Function],
"parsedAgentId": {
"agentId": "not-a-real-agent",
"publisherId": "someorg",
"version": undefined,
},
+ "promptAiSdk": [Function: AsyncFunction],
+ "promptAiSdkStream": [Function: AsyncGeneratorFunction],
+ "promptAiSdkStructured": [Function: AsyncFunction],
+ "req": {
+ "headers": {
+ "x-***-api-key": "***-api-key",
+ },
+ "query": {
+ "agentId": "someorg/not-a-real-agent",
+ },
+ },
+ "requestFiles": [Function],
+ "requestMcpToolData": [Function],
+ "requestOptionalFile": [Function],
+ "requestToolCall": [Function],
+ "res": {
+ "json": [class Function],
+ "jsonPayload": {
+ "valid": false,
+ },
+ "status": [class Function],
+ "statusCode": 200,
+ },
+ "sendAction": [Function],
+ "sendSubagentChunk": [Function],
+ "sessionConnections": {},
+ "startAgentRun": [Function: AsyncFunction],
+ "trackEvent": [Function],
},
]
- Expected - 1
+ Received + 53
at <anonymous> (/home/runner/work/***/***/backend/src/api/__***s__/validate-agent-name.***.ts:168:17)
|
|
error: expect(received).toHaveBeenCalledWith(...expected):
backend/src/api/__tests__/validate-agent-name.test.ts#L139
[
{
- "logger": Anything,
+ "addAgentStep": [Function: AsyncFunction],
+ "agentId": "***/file-explorer@0.0.1",
+ "apiKey": "***-api-key",
+ "consumeCreditsWithFallback": [Function: AsyncFunction],
+ "databaseAgentCache":
+ Map {
+ "***/file-explorer@0.0.1" => {
+ "id": "***/file-explorer@0.0.1",
+ },
+ }
+ ,
+ "fetch": [Function: AsyncFunction],
+ "fetchAgentFromDatabase": [class Function],
+ "finishAgentRun": [Function: AsyncFunction],
+ "getUserInfoFromApiKey": [Function: AsyncFunction],
+ "handleStepsLogChunk": [Function],
+ "liveUserInputRecord": {},
+ "localAgentTemplates": {},
+ "logger": {
+ "debug": [Function],
+ "error": [Function],
+ "info": [Function],
+ "warn": [Function],
+ },
+ "next": [Function],
"parsedAgentId": {
"agentId": "file-explorer",
"publisherId": "***",
"version": "0.0.1",
},
+ "promptAiSdk": [Function: AsyncFunction],
+ "promptAiSdkStream": [Function: AsyncGeneratorFunction],
+ "promptAiSdkStructured": [Function: AsyncFunction],
+ "req": {
+ "headers": {
+ "x-***-api-key": "***-api-key",
+ },
+ "query": {
+ "agentId": "***/file-explorer@0.0.1",
+ },
+ },
+ "requestFiles": [Function],
+ "requestMcpToolData": [Function],
+ "requestOptionalFile": [Function],
+ "requestToolCall": [Function],
+ "res": {
+ "json": [class Function],
+ "jsonPayload": {
+ "displayName": undefined,
+ "normalizedId": "***/file-explorer@0.0.1",
+ "source": "published",
+ "valid": ***,
+ },
+ "status": [class Function],
+ "statusCode": 200,
+ },
+ "sendAction": [Function],
+ "sendSubagentChunk": [Function],
+ "sessionConnections": {},
+ "startAgentRun": [Function: AsyncFunction],
+ "trackEvent": [Function],
},
]
- Expected - 1
+ Received + 56
at <anonymous> (/home/runner/work/***/***/backend/src/api/__***s__/validate-agent-name.***.ts:139:17)
|
|
error: expect(received).toHaveBeenCalledWith(...expected):
backend/src/api/__tests__/validate-agent-name.test.ts#L106
[
{
- "logger": Anything,
+ "addAgentStep": [Function: AsyncFunction],
+ "agentId": "***/file-explorer",
+ "apiKey": "***-api-key",
+ "consumeCreditsWithFallback": [Function: AsyncFunction],
+ "databaseAgentCache": Map {},
+ "fetch": [Function: AsyncFunction],
+ "fetchAgentFromDatabase": [class Function],
+ "finishAgentRun": [Function: AsyncFunction],
+ "getUserInfoFromApiKey": [Function: AsyncFunction],
+ "handleStepsLogChunk": [Function],
+ "liveUserInputRecord": {},
+ "localAgentTemplates": {},
+ "logger": {
+ "debug": [Function],
+ "error": [Function],
+ "info": [Function],
+ "warn": [Function],
+ },
+ "next": [Function],
"parsedAgentId": {
"agentId": "file-explorer",
"publisherId": "***",
"version": undefined,
},
+ "promptAiSdk": [Function: AsyncFunction],
+ "promptAiSdkStream": [Function: AsyncGeneratorFunction],
+ "promptAiSdkStructured": [Function: AsyncFunction],
+ "req": {
+ "headers": {
+ "x-***-api-key": "***-api-key",
+ },
+ "query": {
+ "agentId": "***/file-explorer",
+ },
+ },
+ "requestFiles": [Function],
+ "requestMcpToolData": [Function],
+ "requestOptionalFile": [Function],
+ "requestToolCall": [Function],
+ "res": {
+ "json": [class Function],
+ "jsonPayload": {
+ "displayName": undefined,
+ "normalizedId": "***/file-explorer@0.0.1",
+ "source": "published",
+ "valid": ***,
+ },
+ "status": [class Function],
+ "statusCode": 200,
+ },
+ "sendAction": [Function],
+ "sendSubagentChunk": [Function],
+ "sessionConnections": {},
+ "startAgentRun": [Function: AsyncFunction],
+ "trackEvent": [Function],
},
]
- Expected - 1
+ Received + 50
at <anonymous> (/home/runner/work/***/***/backend/src/api/__***s__/validate-agent-name.***.ts:106:17)
|
|
test-backend
Attempt 4 failed. Reason: Child_process exited with error code 123
|
|
test-backend
Attempt 3 failed. Reason: Child_process exited with error code 123
|
|
test-backend
Attempt 2 failed. Reason: Child_process exited with error code 123
|
|
test-backend
Attempt 1 failed. Reason: Child_process exited with error code 123
|