Native tools #4803
ci.yml
on: pull_request
build-and-check
2m 30s
Matrix: test-integration
Matrix: test
Annotations
25 errors and 8 warnings
|
error: expect(received).toEqual(expected):
common/src/util/__tests__/messages.test.ts#L212
[
- ObjectContaining {
+ {
"content": [
- ObjectContaining {
- "type": "text",
+ {
+ "content": [
+ {
+ "type": "json",
+ "value": {
+ "result": "success",
+ },
+ },
+ ],
+ "output": {
+ "type": "json",
+ "value": {
+ "result": "success",
+ },
+ },
+ "role": "tool",
+ "toolCallId": "call_123",
+ "toolName": "***_tool",
+ "type": "tool-result",
},
],
- "role": "user",
+ "role": "tool",
+ "toolCallId": "call_123",
+ "toolName": "***_tool",
},
]
- Expected - 4
+ Received + 23
at <anonymous> (/home/runner/work/***/***/common/src/util/__***s__/messages.***.ts:212:22)
|
|
error: expect(received).toBe(expected):
common/src/util/__tests__/messages.test.ts#L812
Expected: "text"
Received: "tool-call"
at <anonymous> (/home/runner/work/***/***/common/src/util/__***s__/messages.***.ts:812:43)
|
|
error: expect(received).toEqual(expected):
common/src/util/__tests__/messages.test.ts#L275
[
- ObjectContaining {
- "role": "user",
+ {
+ "content": [
+ {
+ "content": [
+ {
+ "type": "json",
+ "value": {
+ "result1": "success",
+ },
+ },
+ {
+ "type": "json",
+ "value": {
+ "result2": "also success",
+ },
+ },
+ ],
+ "output": {
+ "type": "json",
+ "value": {
+ "result1": "success",
+ },
+ },
+ "role": "tool",
+ "toolCallId": "call_123",
+ "toolName": "***_tool",
+ "type": "tool-result",
+ },
+ ],
+ "role": "tool",
+ "toolCallId": "call_123",
+ "toolName": "***_tool",
+ },
+ {
+ "content": [
+ {
+ "content": [
+ {
+ "type": "json",
+ "value": {
+ "result1": "success",
+ },
+ },
+ {
+ "type": "json",
+ "value": {
+ "result2": "also success",
+ },
+ },
+ ],
+ "output": {
+ "type": "json",
+ "value": {
+ "result2": "also success",
+ },
+ },
+ "role": "tool",
+ "toolCallId": "call_123",
+ "toolName": "***_tool",
+ "type": "tool-result",
+ },
+ ],
+ "role": "tool",
+ "toolCallId": "call_123",
+ "toolName": "***_tool",
},
]
- Expected - 2
+ Received + 65
at <anonymous> (/home/runner/work/***/***/common/src/util/__***s__/messages.***.ts:275:22)
|
|
error: expect(received).toEqual(expected):
common/src/util/__tests__/messages.test.ts#L212
[
- ObjectContaining {
+ {
"content": [
- ObjectContaining {
- "type": "text",
+ {
+ "content": [
+ {
+ "type": "json",
+ "value": {
+ "result": "success",
+ },
+ },
+ ],
+ "output": {
+ "type": "json",
+ "value": {
+ "result": "success",
+ },
+ },
+ "role": "tool",
+ "toolCallId": "call_123",
+ "toolName": "***_tool",
+ "type": "tool-result",
},
],
- "role": "user",
+ "role": "tool",
+ "toolCallId": "call_123",
+ "toolName": "***_tool",
},
]
- Expected - 4
+ Received + 23
at <anonymous> (/home/runner/work/***/***/common/src/util/__***s__/messages.***.ts:212:22)
|
|
error: expect(received).toBe(expected):
common/src/util/__tests__/messages.test.ts#L812
Expected: "text"
Received: "tool-call"
at <anonymous> (/home/runner/work/***/***/common/src/util/__***s__/messages.***.ts:812:43)
|
|
error: expect(received).toEqual(expected):
common/src/util/__tests__/messages.test.ts#L275
[
- ObjectContaining {
- "role": "user",
+ {
+ "content": [
+ {
+ "content": [
+ {
+ "type": "json",
+ "value": {
+ "result1": "success",
+ },
+ },
+ {
+ "type": "json",
+ "value": {
+ "result2": "also success",
+ },
+ },
+ ],
+ "output": {
+ "type": "json",
+ "value": {
+ "result1": "success",
+ },
+ },
+ "role": "tool",
+ "toolCallId": "call_123",
+ "toolName": "***_tool",
+ "type": "tool-result",
+ },
+ ],
+ "role": "tool",
+ "toolCallId": "call_123",
+ "toolName": "***_tool",
+ },
+ {
+ "content": [
+ {
+ "content": [
+ {
+ "type": "json",
+ "value": {
+ "result1": "success",
+ },
+ },
+ {
+ "type": "json",
+ "value": {
+ "result2": "also success",
+ },
+ },
+ ],
+ "output": {
+ "type": "json",
+ "value": {
+ "result2": "also success",
+ },
+ },
+ "role": "tool",
+ "toolCallId": "call_123",
+ "toolName": "***_tool",
+ "type": "tool-result",
+ },
+ ],
+ "role": "tool",
+ "toolCallId": "call_123",
+ "toolName": "***_tool",
},
]
- Expected - 2
+ Received + 65
at <anonymous> (/home/runner/work/***/***/common/src/util/__***s__/messages.***.ts:275:22)
|
|
error: expect(received).toEqual(expected):
common/src/util/__tests__/messages.test.ts#L212
[
- ObjectContaining {
+ {
"content": [
- ObjectContaining {
- "type": "text",
+ {
+ "content": [
+ {
+ "type": "json",
+ "value": {
+ "result": "success",
+ },
+ },
+ ],
+ "output": {
+ "type": "json",
+ "value": {
+ "result": "success",
+ },
+ },
+ "role": "tool",
+ "toolCallId": "call_123",
+ "toolName": "***_tool",
+ "type": "tool-result",
},
],
- "role": "user",
+ "role": "tool",
+ "toolCallId": "call_123",
+ "toolName": "***_tool",
},
]
- Expected - 4
+ Received + 23
at <anonymous> (/home/runner/work/***/***/common/src/util/__***s__/messages.***.ts:212:22)
|
|
error: expect(received).toBe(expected):
common/src/util/__tests__/messages.test.ts#L812
Expected: "text"
Received: "tool-call"
at <anonymous> (/home/runner/work/***/***/common/src/util/__***s__/messages.***.ts:812:43)
|
|
error: expect(received).toEqual(expected):
common/src/util/__tests__/messages.test.ts#L275
[
- ObjectContaining {
- "role": "user",
+ {
+ "content": [
+ {
+ "content": [
+ {
+ "type": "json",
+ "value": {
+ "result1": "success",
+ },
+ },
+ {
+ "type": "json",
+ "value": {
+ "result2": "also success",
+ },
+ },
+ ],
+ "output": {
+ "type": "json",
+ "value": {
+ "result1": "success",
+ },
+ },
+ "role": "tool",
+ "toolCallId": "call_123",
+ "toolName": "***_tool",
+ "type": "tool-result",
+ },
+ ],
+ "role": "tool",
+ "toolCallId": "call_123",
+ "toolName": "***_tool",
+ },
+ {
+ "content": [
+ {
+ "content": [
+ {
+ "type": "json",
+ "value": {
+ "result1": "success",
+ },
+ },
+ {
+ "type": "json",
+ "value": {
+ "result2": "also success",
+ },
+ },
+ ],
+ "output": {
+ "type": "json",
+ "value": {
+ "result2": "also success",
+ },
+ },
+ "role": "tool",
+ "toolCallId": "call_123",
+ "toolName": "***_tool",
+ "type": "tool-result",
+ },
+ ],
+ "role": "tool",
+ "toolCallId": "call_123",
+ "toolName": "***_tool",
},
]
- Expected - 2
+ Received + 65
at <anonymous> (/home/runner/work/***/***/common/src/util/__***s__/messages.***.ts:275:22)
|
|
error: expect(received).toEqual(expected):
common/src/util/__tests__/messages.test.ts#L212
[
- ObjectContaining {
+ {
"content": [
- ObjectContaining {
- "type": "text",
+ {
+ "content": [
+ {
+ "type": "json",
+ "value": {
+ "result": "success",
+ },
+ },
+ ],
+ "output": {
+ "type": "json",
+ "value": {
+ "result": "success",
+ },
+ },
+ "role": "tool",
+ "toolCallId": "call_123",
+ "toolName": "***_tool",
+ "type": "tool-result",
},
],
- "role": "user",
+ "role": "tool",
+ "toolCallId": "call_123",
+ "toolName": "***_tool",
},
]
- Expected - 4
+ Received + 23
at <anonymous> (/home/runner/work/***/***/common/src/util/__***s__/messages.***.ts:212:22)
|
|
test-packages/agent-runtime
The strategy configuration was canceled because "test.common" failed
|
|
error: expect(received).toBeGreaterThan(expected):
packages/agent-runtime/src/__tests__/malformed-tool-call.test.ts#L298
Expected: > 0
Received: 0
at <anonymous> (/home/runner/work/***/***/packages/agent-runtime/src/__***s__/malformed-tool-call.***.ts:298:33)
|
|
error: expect(received).toBeDefined():
packages/agent-runtime/src/__tests__/malformed-tool-call.test.ts#L254
Received: undefined
at <anonymous> (/home/runner/work/***/***/packages/agent-runtime/src/__***s__/malformed-tool-call.***.ts:254:26)
|
|
error: expect(received).toBeGreaterThan(expected):
packages/agent-runtime/src/__tests__/malformed-tool-call.test.ts#L213
Expected: > 0
Received: 0
at <anonymous> (/home/runner/work/***/***/packages/agent-runtime/src/__***s__/malformed-tool-call.***.ts:213:39)
|
|
error: expect(received).toBe(expected):
packages/agent-runtime/src/__tests__/malformed-tool-call.test.ts#L196
Expected: 2
Received: 0
at <anonymous> (/home/runner/work/***/***/packages/agent-runtime/src/__***s__/malformed-tool-call.***.ts:196:34)
|
|
error: expect(received).toBeGreaterThan(expected):
packages/agent-runtime/src/__tests__/malformed-tool-call.test.ts#L153
Expected: > 0
Received: 0
at <anonymous> (/home/runner/work/***/***/packages/agent-runtime/src/__***s__/malformed-tool-call.***.ts:153:33)
|
|
error: expect(received).toHaveBeenCalledTimes(expected):
packages/agent-runtime/src/__tests__/main-prompt.test.ts#L419
Expected number of calls: 1
Received number of calls: 0
at <anonymous> (/home/runner/work/***/***/packages/agent-runtime/src/__***s__/main-prompt.***.ts:419:32)
|
|
error: expect(received).toHaveBeenCalledTimes(expected):
packages/agent-runtime/src/__tests__/main-prompt.test.ts#L263
Expected number of calls: 1
Received number of calls: 0
at <anonymous> (/home/runner/work/***/***/packages/agent-runtime/src/__***s__/main-prompt.***.ts:263:32)
|
|
error: expect(received).toEqual(expected):
packages/agent-runtime/src/__tests__/loop-agent-steps.test.ts#L835
- {
- "result": "done",
- }
+ undefined
- Expected - 3
+ Received + 1
at <anonymous> (/home/runner/work/***/***/packages/agent-runtime/src/__***s__/loop-agent-steps.***.ts:835:38)
|
|
error: expect(received).toBe(expected):
packages/agent-runtime/src/__tests__/loop-agent-steps.test.ts#L661
Expected: 1
Received: 2
at <anonymous> (/home/runner/work/***/***/packages/agent-runtime/src/__***s__/loop-agent-steps.***.ts:661:27)
|
|
error: expect(received).toEqual(expected):
packages/agent-runtime/src/__tests__/loop-agent-steps.test.ts#L601
- {
- "result": "*** result",
- "status": "success",
- }
+ undefined
- Expected - 4
+ Received + 1
at <anonymous> (/home/runner/work/***/***/packages/agent-runtime/src/__***s__/loop-agent-steps.***.ts:601:38)
|
|
test-integration-sdk
Final attempt failed. Child_process exited with error code 123
|
|
test-integration-.agents
The strategy configuration was canceled because "test-integration.sdk" failed
|
|
test-integration-.agents
The operation was canceled.
|
|
error: expect(received).toBe(expected):
.agents/__tests__/editor-best-of-n.integration.test.ts#L87
Expected: ***
Received: false
at <anonymous> (/home/runner/work/***/***/.agents/__***s__/editor-best-of-n.integration.***.ts:87:33)
|
|
test-common
Attempt 4 failed. Reason: Child_process exited with error code 123
|
|
test-common
Attempt 3 failed. Reason: Child_process exited with error code 123
|
|
test-common
Attempt 2 failed. Reason: Child_process exited with error code 123
|
|
test-common
Attempt 1 failed. Reason: Child_process exited with error code 123
|
|
test-packages/agent-runtime
Attempt 2 failed. Reason: Child_process exited with error code 123
|
|
test-packages/agent-runtime
Attempt 1 failed. Reason: Child_process exited with error code 123
|
|
test-integration-sdk
Attempt 2 failed. Reason: Child_process exited with error code 123
|
|
test-integration-sdk
Attempt 1 failed. Reason: Child_process exited with error code 123
|