feat: add retry state management foundation #4686
Annotations
10 errors and 4 warnings
|
common/src/util/__tests__/messages.test.ts#L212
[
{
"content": [
- ObjectContaining {
+ {
+ "text":
+ "<tool_result>
+ {
+ "toolName": "***_tool",
+ "toolCallId": "call_123",
+ "output": {
+ "result": "success"
+ }
+ }
+ </tool_result>"
+ ,
"type": "text",
},
],
"role": "user",
+ "toolCallId": "call_123",
+ "toolName": "***_tool",
},
]
- Expected - 1
+ Received + 14
at <anonymous> (/home/runner/work/***/***/common/src/util/__***s__/messages.***.ts:212:22)
|
|
common/src/util/__tests__/messages.test.ts#L278
Expected length: 2
Received length: 1
at <anonymous> (/home/runner/work/***/***/common/src/util/__***s__/messages.***.ts:278:33)
|
|
common/src/util/__tests__/messages.test.ts#L245
[
{
"content": [
- ObjectContaining {
+ {
+ "data": "base64data",
+ "mediaType": "image/png",
"type": "file",
},
],
"role": "user",
+ "toolCallId": "call_123",
+ "toolName": "***_tool",
},
]
- Expected - 1
+ Received + 5
at <anonymous> (/home/runner/work/***/***/common/src/util/__***s__/messages.***.ts:245:22)
|
|
common/src/util/__tests__/messages.test.ts#L212
[
{
"content": [
- ObjectContaining {
+ {
+ "text":
+ "<tool_result>
+ {
+ "toolName": "***_tool",
+ "toolCallId": "call_123",
+ "output": {
+ "result": "success"
+ }
+ }
+ </tool_result>"
+ ,
"type": "text",
},
],
"role": "user",
+ "toolCallId": "call_123",
+ "toolName": "***_tool",
},
]
- Expected - 1
+ Received + 14
at <anonymous> (/home/runner/work/***/***/common/src/util/__***s__/messages.***.ts:212:22)
|
|
common/src/util/__tests__/messages.test.ts#L278
Expected length: 2
Received length: 1
at <anonymous> (/home/runner/work/***/***/common/src/util/__***s__/messages.***.ts:278:33)
|
|
common/src/util/__tests__/messages.test.ts#L245
[
{
"content": [
- ObjectContaining {
+ {
+ "data": "base64data",
+ "mediaType": "image/png",
"type": "file",
},
],
"role": "user",
+ "toolCallId": "call_123",
+ "toolName": "***_tool",
},
]
- Expected - 1
+ Received + 5
at <anonymous> (/home/runner/work/***/***/common/src/util/__***s__/messages.***.ts:245:22)
|
|
common/src/util/__tests__/messages.test.ts#L212
[
{
"content": [
- ObjectContaining {
+ {
+ "text":
+ "<tool_result>
+ {
+ "toolName": "***_tool",
+ "toolCallId": "call_123",
+ "output": {
+ "result": "success"
+ }
+ }
+ </tool_result>"
+ ,
"type": "text",
},
],
"role": "user",
+ "toolCallId": "call_123",
+ "toolName": "***_tool",
},
]
- Expected - 1
+ Received + 14
at <anonymous> (/home/runner/work/***/***/common/src/util/__***s__/messages.***.ts:212:22)
|
|
common/src/util/__tests__/messages.test.ts#L278
Expected length: 2
Received length: 1
at <anonymous> (/home/runner/work/***/***/common/src/util/__***s__/messages.***.ts:278:33)
|
|
common/src/util/__tests__/messages.test.ts#L245
[
{
"content": [
- ObjectContaining {
+ {
+ "data": "base64data",
+ "mediaType": "image/png",
"type": "file",
},
],
"role": "user",
+ "toolCallId": "call_123",
+ "toolName": "***_tool",
},
]
- Expected - 1
+ Received + 5
at <anonymous> (/home/runner/work/***/***/common/src/util/__***s__/messages.***.ts:245:22)
|
|
common/src/util/__tests__/messages.test.ts#L212
[
{
"content": [
- ObjectContaining {
+ {
+ "text":
+ "<tool_result>
+ {
+ "toolName": "***_tool",
+ "toolCallId": "call_123",
+ "output": {
+ "result": "success"
+ }
+ }
+ </tool_result>"
+ ,
"type": "text",
},
],
"role": "user",
+ "toolCallId": "call_123",
+ "toolName": "***_tool",
},
]
- Expected - 1
+ Received + 14
at <anonymous> (/home/runner/work/***/***/common/src/util/__***s__/messages.***.ts:212:22)
|
|
|
|
|
|
|
|
|
The logs for this run have expired and are no longer available.
Loading