Prune context whenever it's been 5 minutes since last message (saving… #5317
ci.yml
on: push
build-and-check
2m 47s
Matrix: test-integration
Matrix: test
Annotations
14 errors and 6 warnings
|
test-integration-cli
Final attempt failed. Child_process exited with error code 123
|
|
error: tmux command failed: no server running on /tmp/tmux-1001/default:
cli/src/__tests__/rerender-perf.integration.test.ts#L75
at <anonymous> (/home/runner/work/***/***/cli/src/__***s__/rerender-perf.integration.***.ts:75:20)
at emit (node:events:98:22)
at #maybeClose (node:child_process:768:16)
at #handleOnExit (node:child_process:520:72)
|
|
error: tmux command failed: no server running on /tmp/tmux-1001/default:
cli/src/__tests__/rerender-perf.integration.test.ts#L75
at <anonymous> (/home/runner/work/***/***/cli/src/__***s__/rerender-perf.integration.***.ts:75:20)
at emit (node:events:98:22)
at #maybeClose (node:child_process:768:16)
at #handleOnExit (node:child_process:520:72)
|
|
error: tmux command failed: no server running on /tmp/tmux-1001/default:
cli/src/__tests__/rerender-perf.integration.test.ts#L75
at <anonymous> (/home/runner/work/***/***/cli/src/__***s__/rerender-perf.integration.***.ts:75:20)
at emit (node:events:98:22)
at #maybeClose (node:child_process:768:16)
at #handleOnExit (node:child_process:520:72)
|
|
error: expect(received).toEqual(expected):
common/src/util/__tests__/messages.test.ts#L313
[
{
"content": [
{
"text": "First user message",
"type": "text",
},
{
"text": "Second user message",
"type": "text",
},
],
"role": "user",
+ "sentAt": 1767562200959,
},
]
- Expected - 0
+ Received + 1
at <anonymous> (/home/runner/work/***/***/common/src/util/__***s__/messages.***.ts:313:22)
|
|
error: expect(received).toEqual(expected):
common/src/util/__tests__/messages.test.ts#L807
[
{
"content": [
{
"input": {
"param": "value",
},
"toolCallId": "call_123",
"toolName": "***_tool",
"type": "tool-call",
},
],
"role": "assistant",
+ "sentAt": 1767562189980,
},
]
- Expected - 0
+ Received + 1
at <anonymous> (/home/runner/work/***/***/common/src/util/__***s__/messages.***.ts:807:22)
|
|
error: expect(received).toEqual(expected):
common/src/util/__tests__/messages.test.ts#L758
[
- ObjectContaining {
+ {
+ "content": "System",
"role": "system",
},
{
"content": [
{
"text": "Longer text",
"type": "text",
},
{
- "providerOptions": ObjectContaining {
+ "providerOptions": {
+ "anthropic": {
+ "cache_control": {
+ "type": "ephemeral",
+ },
+ },
"openaiCompatible": {
"cache_control": {
"type": "ephemeral",
},
},
+ "openrouter": {
+ "cache_control": {
+ "type": "ephemeral",
+ },
+ },
},
"text": "X",
"type": "text",
},
],
"role": "user",
+ "sentAt": 1767562189979,
},
- ObjectContaining {
+ {
+ "content": [
+ {
+ "providerOptions": {
+ "anthropic": {
+ "cache_control": {
+ "type": "ephemeral",
+ },
+ },
+ "openaiCompatible": {
+ "cache_control": {
+ "type": "ephemeral",
+ },
+ },
+ "openrouter": {
+ "cache_control": {
+ "type": "ephemeral",
+ },
+ },
+ },
+ "text": "Next",
+ "type": "text",
+ },
+ ],
"role": "user",
+ "sentAt": 1767562189979,
+ "tags": [
+ "USER_PROMPT",
+ ],
},
]
- Expected - 3
+ Received + 42
at <anonymous> (/home/runner/work/***/***/common/src/util/__***s__/messages.***.ts:758:22)
|
|
error: expect(received).toEqual(expected):
common/src/util/__tests__/messages.test.ts#L716
[
- ObjectContaining {
+ {
+ "content": "System",
"role": "system",
},
{
"content": [
{
"text": "Context",
"type": "text",
},
{
"data": "base64",
"mediaType": "image/png",
- "providerOptions": ObjectContaining {
+ "providerOptions": {
+ "anthropic": {
+ "cache_control": {
+ "type": "ephemeral",
+ },
+ },
"openaiCompatible": {
"cache_control": {
"type": "ephemeral",
},
},
+ "openrouter": {
+ "cache_control": {
+ "type": "ephemeral",
+ },
+ },
},
"type": "file",
},
],
"role": "user",
+ "sentAt": 1767562189977,
},
- ObjectContaining {
+ {
+ "content": [
+ {
+ "providerOptions": {
+ "anthropic": {
+ "cache_control": {
+ "type": "ephemeral",
+ },
+ },
+ "openaiCompatible": {
+ "cache_control": {
+ "type": "ephemeral",
+ },
+ },
+ "openrouter": {
+ "cache_control": {
+ "type": "ephemeral",
+ },
+ },
+ },
+ "text": "Next",
+ "type": "text",
+ },
+ ],
"role": "user",
+ "sentAt": 1767562189977,
+ "tags": [
+ "USER_PROMPT",
+ ],
},
]
- Expected - 3
+ Received + 42
at <anonymous> (/home/runner/work/***/***/common/src/util/__***s__/messages.***.ts:716:22)
|
|
error: expect(received).toEqual(expected):
common/src/util/__tests__/messages.test.ts#L645
[
- ObjectContaining {
+ {
+ "content": "System",
"role": "system",
},
- ObjectContaining {
+ {
+ "content": [
+ {
+ "providerOptions": {
+ "anthropic": {
+ "cache_control": {
+ "type": "ephemeral",
+ },
+ },
+ "openaiCompatible": {
+ "cache_control": {
+ "type": "ephemeral",
+ },
+ },
+ "openrouter": {
+ "cache_control": {
+ "type": "ephemeral",
+ },
+ },
+ },
+ "text": "Context",
+ "type": "text",
+ },
+ ],
"role": "user",
+ "sentAt": 1767562189976,
},
- ObjectContaining {
+ {
+ "content": [
+ {
+ "text": "Response",
+ "type": "text",
+ },
+ ],
"role": "assistant",
+ "sentAt": 1767562189976,
},
{
"content": [
{
"text": "More context",
"type": "text",
},
{
- "providerOptions": ObjectContaining {
+ "providerOptions": {
+ "anthropic": {
+ "cache_control": {
+ "type": "ephemeral",
+ },
+ },
"openaiCompatible": {
"cache_control": {
"type": "ephemeral",
},
},
+ "openrouter": {
+ "cache_control": {
+ "type": "ephemeral",
+ },
+ },
},
"text": "User message",
"type": "text",
},
],
"role": "user",
+ "sentAt": 1767562189976,
},
]
- Expected - 4
+ Received + 47
at <anonymous> (/home/runner/work/***/***/common/src/util/__***s__/messages.***.ts:645:22)
|
|
error: expect(received).toEqual(expected):
common/src/util/__tests__/messages.test.ts#L606
[
- ObjectContaining {
+ {
+ "content": "System",
"role": "system",
},
- ObjectContaining {
+ {
+ "content": [
+ {
+ "providerOptions": {
+ "anthropic": {
+ "cache_control": {
+ "type": "ephemeral",
+ },
+ },
+ "openaiCompatible": {
+ "cache_control": {
+ "type": "ephemeral",
+ },
+ },
+ "openrouter": {
+ "cache_control": {
+ "type": "ephemeral",
+ },
+ },
+ },
+ "text": "Context",
+ "type": "text",
+ },
+ ],
"role": "user",
+ "sentAt": 1767562189975,
},
- ObjectContaining {
+ {
+ "content": [
+ {
+ "text": "Response",
+ "type": "text",
+ },
+ ],
"role": "assistant",
+ "sentAt": 1767562189975,
},
{
"content": [
{
- "providerOptions": ObjectContaining {
+ "providerOptions": {
+ "anthropic": {
+ "cache_control": {
+ "type": "ephemeral",
+ },
+ },
"openaiCompatible": {
+ "cache_control": {
+ "type": "ephemeral",
+ },
+ },
+ "openrouter": {
"cache_control": {
"type": "ephemeral",
},
},
},
"text": "More context",
"type": "text",
},
],
"role": "user",
+ "sentAt": 1767562189975,
},
- ObjectContaining {
+ {
+ "content": [
+ {
+ "providerOptions": {
+ "anthropic": {
+ "cache_control": {
+ "type": "ephemeral",
+ },
+ },
+ "openaiCompatible": {
+ "cache_control": {
+ "type": "ephemeral",
+ },
+ },
+ "openrouter": {
+ "cache_control": {
+ "type": "ephemeral",
+ },
+ },
+ },
+ "text": "Step",
+ "type": "text",
+ },
+ ],
"role": "user",
+ "sentAt": 1767562189975,
+ "tags": [
+ "STEP_PROMPT",
+ ],
},
]
- Expected - 5
+ Received + 75
at <anonymous> (/home/runner/work/***/***/common/src/util/__***s__/messages.***.ts:606:22)
|
|
error: expect(received).toEqual(expected):
common/src/util/__tests__/messages.test.ts#L568
[
- ObjectContaining {
+ {
+ "content": "System",
"role": "system",
},
- ObjectContaining {
+ {
+ "content": [
+ {
+ "text": "Context",
+ "type": "text",
+ },
+ ],
"role": "user",
+ "sentAt": 1767562189974,
},
- ObjectContaining {
+ {
+ "content": [
+ {
+ "text": "Response",
+ "type": "text",
+ },
+ ],
"role": "assistant",
+ "sentAt": 1767562189974,
},
{
"content": [
{
- "providerOptions": ObjectContaining {
+ "providerOptions": {
+ "anthropic": {
+ "cache_control": {
+ "type": "ephemeral",
+ },
+ },
"openaiCompatible": {
"cache_control": {
"type": "ephemeral",
},
},
+ "openrouter": {
+ "cache_control": {
+ "type": "ephemeral",
+ },
+ },
},
"text": "Instructions",
"type": "text",
},
],
"role": "user",
+ "sentAt": 1767562189974,
},
- ObjectContaining {
+ {
+ "content": [
+ {
+ "providerOptions": {
+ "anthropic": {
+ "cache_control": {
+ "type": "ephemeral",
+ },
+ },
+ "openaiCompatible": {
+ "cache_control": {
+ "type": "ephemeral",
+ },
+ },
+ "openrouter": {
+ "cache_control": {
+ "type": "ephemeral",
+ },
+ },
+ },
+ "text": "Second response",
+ "type": "text",
+ },
+ ],
"role": "assistant",
+ "sentAt": 1767562189974,
+ "tags": [
+ "LAST_ASSISTANT_MESSAGE",
+ ],
},
]
- Expected - 5
+ Received + 58
at <anonymous> (/home/runner/work/***/***/common/src/util/__***s__/messages.***.ts:568:22)
|
|
error: expect(received).toEqual(expected):
common/src/util/__tests__/messages.test.ts#L527
[
- ObjectContaining {
+ {
+ "content": "System",
"role": "system",
},
- ObjectContaining {
+ {
+ "content": [
+ {
+ "providerOptions": {
+ "anthropic": {
+ "cache_control": {
+ "type": "ephemeral",
+ },
+ },
+ "openaiCompatible": {
+ "cache_control": {
+ "type": "ephemeral",
+ },
+ },
+ "openrouter": {
+ "cache_control": {
+ "type": "ephemeral",
+ },
+ },
+ },
+ "text": "Context",
+ "type": "text",
+ },
+ ],
"role": "user",
+ "sentAt": 1767562189972,
},
- ObjectContaining {
+ {
+ "content": [
+ {
+ "text": "Response",
+ "type": "text",
+ },
+ ],
"role": "assistant",
+ "sentAt": 1767562189972,
},
{
"content": [
{
- "providerOptions": ObjectContaining {
+ "providerOptions": {
+ "anthropic": {
+ "cache_control": {
+ "type": "ephemeral",
+ },
+ },
"openaiCompatible": {
+ "cache_control": {
+ "type": "ephemeral",
+ },
+ },
+ "openrouter": {
"cache_control": {
"type": "ephemeral",
},
},
},
"text": "More context",
"type": "text",
},
],
"role": "user",
+ "sentAt": 1767562189972,
},
- ObjectContaining {
+ {
+ "content": [
+ {
+ "providerOptions": {
+ "anthropic": {
+ "cache_control": {
+ "type": "ephemeral",
+ },
+ },
+ "openaiCompatible": {
+ "cache_control": {
+ "type": "ephemeral",
+ },
+ },
+ "openrouter": {
+ "cache_control": {
+ "type": "ephemeral",
+ },
+ },
+ },
+ "text": "User prompt",
+ "type": "text",
+ },
+ ],
"role": "user",
+ "sentAt": 1767562189972,
+ "tags": [
+ "USER_PROMPT",
+ ],
},
]
- Expected - 5
+ Received + 75
at <anonymous> (/home/runner/work/***/***/common/src/util/__***s__/messages.***.ts:527:22)
|
|
error: expect(received).toEqual(expected):
common/src/util/__tests__/messages.test.ts#L341
[
{
"content": [
{
"text": "First assistant message",
"type": "text",
},
{
"text": "Second assistant message",
"type": "text",
},
],
"role": "assistant",
+ "sentAt": 1767562189967,
},
]
- Expected - 0
+ Received + 1
at <anonymous> (/home/runner/work/***/***/common/src/util/__***s__/messages.***.ts:341:22)
|
|
error: expect(received).toEqual(expected):
common/src/util/__tests__/messages.test.ts#L313
[
{
"content": [
{
"text": "First user message",
"type": "text",
},
{
"text": "Second user message",
"type": "text",
},
],
"role": "user",
+ "sentAt": 1767562189966,
},
]
- Expected - 0
+ Received + 1
at <anonymous> (/home/runner/work/***/***/common/src/util/__***s__/messages.***.ts:313:22)
|
|
test-integration-cli
Attempt 2 failed. Reason: Child_process exited with error code 123
|
|
test-integration-cli
Attempt 1 failed. Reason: Child_process exited with error code 123
|
|
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
|